fix(deps): update dependency fastapi to ^0.162.0 #37

Open
renovate wants to merge 1 commit from renovate/fastapi-0.x into main
Member

This PR contains the following updates:

Package Change Age Confidence
fastapi (changelog) ^0.159.0 → ^0.162.0 age confidence

Release Notes

fastapi/fastapi (fastapi)

v0.162.0

Compare Source

Omitted bool and bool | None form fields now use their declared defaults or produce missing-field errors, consistent with other fields and Pydantic behavior. FastAPI no longer infers False for omitted booleans. This applies to individual form parameters, form models, and unions of form models.

Omitted boolean model fields are excluded from model_dump(exclude_unset=True), and their defaults no longer count as submitted fields during union selection. Default factories and validate_default follow the usual rules.

For HTML checkboxes, declare a boolean with a default of False. See Boolean Form Fields.

Breaking Changes

v0.161.1

Compare Source

Fixes

v0.161.0

Compare Source

Features

v0.160.0

Compare Source

Query, header, cookie, and form parameter models now apply their extra configuration to all submitted fields in the same parameter location, consistent with Pydantic behavior. This includes fields declared in other models, individual parameters, or dependencies, which were previously excluded.

With extra="forbid", fields outside the model are rejected even if another parameter declares them. With extra="allow", those fields are included as model extras. With the default extra="ignore", they are ignored.

Breaking Changes
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 has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [fastapi](https://github.com/fastapi/fastapi) ([changelog](https://fastapi.tiangolo.com/release-notes/)) | `^0.159.0` → `^0.162.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/fastapi/0.162.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/fastapi/0.159.1/0.162.0?slim=true) | --- ### Release Notes <details> <summary>fastapi/fastapi (fastapi)</summary> ### [`v0.162.0`](https://github.com/fastapi/fastapi/releases/tag/0.162.0) [Compare Source](https://github.com/fastapi/fastapi/compare/0.161.1...0.162.0) Omitted `bool` and `bool | None` form fields now use their declared defaults or produce missing-field errors, consistent with other fields and Pydantic behavior. FastAPI no longer infers `False` for omitted booleans. This applies to individual form parameters, form models, and unions of form models. Omitted boolean model fields are excluded from `model_dump(exclude_unset=True)`, and their defaults no longer count as submitted fields during union selection. Default factories and `validate_default` follow the usual rules. For HTML checkboxes, declare a boolean with a default of `False`. See [Boolean Form Fields](https://fastapi.tiangolo.com/tutorial/request-forms/#boolean-form-fields). ##### Breaking Changes - 🐛 Restore default handling for omitted boolean form fields. PR [#&#8203;16605](https://github.com/fastapi/fastapi/pull/16605) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.161.1`](https://github.com/fastapi/fastapi/releases/tag/0.161.1) [Compare Source](https://github.com/fastapi/fastapi/compare/0.161.0...0.161.1) ##### Fixes - 🐛 Fix OpenAPI schemas for standalone nullable form unions. PR [#&#8203;16598](https://github.com/fastapi/fastapi/pull/16598) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.161.0`](https://github.com/fastapi/fastapi/releases/tag/0.161.0) [Compare Source](https://github.com/fastapi/fastapi/compare/0.160.0...0.161.0) ##### Features - ✨ Add support for combining unions of form models. PR [#&#8203;16596](https://github.com/fastapi/fastapi/pull/16596) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.160.0`](https://github.com/fastapi/fastapi/releases/tag/0.160.0) [Compare Source](https://github.com/fastapi/fastapi/compare/0.159.1...0.160.0) Query, header, cookie, and form parameter models now apply their `extra` configuration to all submitted fields in the same parameter location, consistent with Pydantic behavior. This includes fields declared in other models, individual parameters, or dependencies, which were previously excluded. With `extra="forbid"`, fields outside the model are rejected even if another parameter declares them. With `extra="allow"`, those fields are included as model extras. With the default `extra="ignore"`, they are ignored. ##### Breaking Changes - 🐛 Apply each parameter model's `extra` configuration to sibling fields. PR [#&#8203;16594](https://github.com/fastapi/fastapi/pull/16594) by [@&#8203;tiangolo](https://github.com/tiangolo). ##### Internal - ⬆ Bump certifi from 2026.1.4 to 2026.10.19. PR [#&#8203;16571](https://github.com/fastapi/fastapi/pull/16571) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
fix(deps): update dependency fastapi to ^0.160.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
b0011cdd61
renovate force-pushed renovate/fastapi-0.x from b0011cdd61
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
to e07a1f3248
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
renovate/artifacts Artifact file update failure
2026-11-05 18:57:15 +00:00
Compare
renovate changed title from fix(deps): update dependency fastapi to ^0.160.0 to fix(deps): update dependency fastapi to ^0.161.0 2026-11-05 18:57:19 +00:00
renovate force-pushed renovate/fastapi-0.x from e07a1f3248
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
renovate/artifacts Artifact file update failure
to fb272bc601
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
2026-11-06 18:57:00 +00:00
Compare
renovate changed title from fix(deps): update dependency fastapi to ^0.161.0 to fix(deps): update dependency fastapi to ^0.162.0 2026-11-06 18:57:05 +00:00
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/fastapi-0.x:renovate/fastapi-0.x
git switch renovate/fastapi-0.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/fastapi-0.x
git switch renovate/fastapi-0.x
git rebase main
git switch main
git merge --ff-only renovate/fastapi-0.x
git switch renovate/fastapi-0.x
git rebase main
git switch main
git merge --no-ff renovate/fastapi-0.x
git switch main
git merge --squash renovate/fastapi-0.x
git switch main
git merge --ff-only renovate/fastapi-0.x
git switch main
git merge renovate/fastapi-0.x
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sr2/snapdirect!37
No description provided.