Skip to content

fix(deps): update dependency fastapi to >=0.151.0,<0.152.0 - #1127

Merged
fstagni merged 2 commits into
mainfrom
renovate/fastapi-0.x
Oct 27, 2026
Merged

fstagni merged 2 commits into
mainfrom
renovate/fastapi-0.x

Conversation

@renovate

@renovate renovate Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
fastapi (changelog) >=0.141.1,<0.142.0 → >=0.151.0,<0.152.0 age confidence

Release Notes

fastapi/fastapi (fastapi)

v0.151.0

Compare Source

JSON request bodies now distinguish an explicit null from an omitted value. For individual Body parameters, null is validated as None: nullable types accept it, and non-nullable types reject it even when a default is defined. Defaults and default factories apply only when the value is omitted. This applies both to parameters inside JSON objects and to parameters representing the entire body. Clients that used null to request a default should omit the value instead.

When a JSON object is expected because of Body(embed=True) or multiple body parameters, sending null as the entire body now returns a validation error.

Breaking Changes

v0.150.0

Compare Source

When no file is selected, browsers submit a file part with an empty filename and empty content. FastAPI now treats this as missing: required file fields return a validation error, and fields with defaults or default factories use them. Unselected inputs are ignored in lists of files. Named zero-byte files are still accepted.

Breaking Changes

v0.149.0

Compare Source

Browsers submit empty text inputs as empty strings (""). FastAPI now treats empty scalar form values as missing in form models, matching individual Form parameters. Required fields return a validation error. Fields with defaults or default factories use them and remain unset in model_dump(exclude_unset=True).

Empty strings inside lists are preserved. Omitted boolean form fields still become False. JSON requests and direct Pydantic validation are unchanged.

Breaking Changes

v0.148.0

Compare Source

Defaults for omitted Query, Header, Cookie, and Form parameters and model fields are no longer treated as user input. Defaults are not validated unless validate_default=True is enabled. If you rely on validators running for omitted values, enable default validation with Field(validate_default=True) for model fields or, for example, Query(validate_default=True) for individual parameters. Body(validate_default=True) is now honored too.

For parameter models, applying a default no longer marks a field as explicitly set, so model_dump(exclude_unset=True) excludes it. Default factories run once, and validation errors no longer include injected defaults in input.

Omitted boolean form fields still become False and count as explicitly set.

Breaking Changes

v0.147.0

Compare Source

Omitted bool and bool | None form fields are now interpreted as False, matching unchecked HTML checkboxes. This applies to individual Form parameters and form models, including required fields and fields with defaults of True or None. The inferred value is considered explicitly set, including in model_dump(exclude_unset=True).

JSON requests and direct Pydantic validation are unchanged. See Boolean Form Fields.

Breaking Changes
Internal

v0.146.0

Compare Source

The root_path parameter in FastAPI() is deprecated. Configure the server with fastapi run --root-path /api/v1 instead.

Breaking Changes

v0.145.0

Compare Source

Breaking Changes
Docs

v0.144.0

Compare Source

Features

v0.143.5

Compare Source

Fixes
  • 🐛 Fix handling of empty value for byte file list parameter. PR #​9383 by @​Viicos.

v0.143.4

Compare Source

Upgrades

v0.143.3

Compare Source

Fixes
Docs

v0.143.2

Compare Source

Fixes
Translations
Internal

v0.143.1

Compare Source

Fixes

v0.143.0

Compare Source

Automatic OpenTelemetry exporter setup is now opt-in. If you rely on FastAPI to configure exporters from OTEL_* environment variables, set FASTAPI_OTEL_AUTO_CONFIGURE=true or use FastAPI(telemetry={"auto_configure": True}) to retain the previous behavior.

Applications that configure their own providers and exporters require no changes. FastAPI Cloud enables automatic setup for you.

Breaking Changes

v0.142.4

Compare Source

Fixes

v0.142.3

Compare Source

Fixes
Docs
Translations
Internal

v0.142.2

Compare Source

Fixes

v0.142.1

Compare Source

Fixes

v0.142.0

Compare Source

Features
Refactors
Docs
Translations
Internal

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from d9b066b to 1be0771 Compare October 25, 2026 13:20
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to >=0.143.5,<0.144.0 fix(deps): update dependency fastapi to >=0.144.0,<0.145.0 Oct 25, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 1be0771 to 34df391 Compare October 25, 2026 17:25
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to >=0.144.0,<0.145.0 fix(deps): update dependency fastapi to >=0.146.0,<0.147.0 Oct 25, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 34df391 to 3baec6b Compare October 26, 2026 15:17
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to >=0.146.0,<0.147.0 fix(deps): update dependency fastapi to >=0.148.0,<0.149.0 Oct 26, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 3baec6b to bcf986e Compare October 26, 2026 17:55
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to >=0.148.0,<0.149.0 fix(deps): update dependency fastapi to >=0.149.0,<0.150.0 Oct 26, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from bcf986e to 2f59db0 Compare October 27, 2026 00:18
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to >=0.149.0,<0.150.0 fix(deps): update dependency fastapi to >=0.150.0,<0.151.0 Oct 27, 2026
@read-the-docs-community

read-the-docs-community Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 2f59db0 to e1aaa45 Compare October 27, 2026 08:47
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to >=0.150.0,<0.151.0 fix(deps): update dependency fastapi to >=0.151.0,<0.152.0 Oct 27, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from e1aaa45 to f16b7fe Compare October 27, 2026 09:03
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from f16b7fe to c021637 Compare October 27, 2026 09:54
@github-actions

Copy link
Copy Markdown

pixi.lock changes

2 package(s) changed: 1 upgraded, 1 rebuilt.

Explicit dependencies

Dependency Before After Change Environments

Implicit dependencies

Dependency Before After Change Environments
fastapi 0.141.1 0.151.0 Minor Upgrade {container-services, container-tasks, default, default-gubbins, diracx-generate-client, diracx-routers, diracx-tasks, gubbins-container-services, gubbins-container-tasks, gubbins-generate-client, gubbins-routers, gubbins-tasks, settings-doc} on all platforms
lazy_object_proxy unknown unknown Other {container-client, container-services, container-tasks, default, default-gubbins, diracx-api, diracx-cli, diracx-client, diracx-core, diracx-db, diracx-generate-client, diracx-logic, diracx-routers, diracx-tasks, gubbins-api, gubbins-cli, gubbins-client, gubbins-container-client, gubbins-container-services, gubbins-container-tasks, gubbins-core, gubbins-db, gubbins-generate-client, gubbins-logic, gubbins-routers, gubbins-tasks} on {linux-64, linux-aarch64}

@renovate

renovate Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@fstagni fstagni left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All CI checks green (lock regenerated for fastapi >=0.151.0,<0.152.0).

@fstagni
fstagni merged commit b4d2838 into main Oct 27, 2026
36 checks passed
@fstagni
fstagni deleted the renovate/fastapi-0.x branch October 27, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant