Repository navigation
Update dependency fastapi to v0.162.0 - #158
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
April 16, 2026 16:35
b6be1be to
0d826de
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
April 23, 2026 19:11
0d826de to
769b0eb
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
May 23, 2026 20:57
769b0eb to
bfa142d
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
June 14, 2026 13:52
bfa142d to
3aff604
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
June 15, 2026 12:53
3aff604 to
8f1eb31
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
June 18, 2026 12:57
8f1eb31 to
3129b86
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
June 20, 2026 03:02
3129b86 to
db8578b
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
June 25, 2026 18:44
db8578b to
b538367
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
June 29, 2026 17:14
b538367 to
62ad689
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 1, 2026 20:40
62ad689 to
d1c5ec8
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 16, 2026 13:32
d1c5ec8 to
b006518
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 17, 2026 22:12
b006518 to
60d0633
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 24, 2026 21:50
60d0633 to
34bc625
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 27, 2026 14:02
34bc625 to
af4a8c0
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 27, 2026 17:48
af4a8c0 to
779494b
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 1, 2026 11:09
02bb8fc to
7454e6e
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 7, 2026 21:37
7454e6e to
230413d
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 8, 2026 15:25
230413d to
377ea12
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 14, 2026 17:02
377ea12 to
0061777
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 15, 2026 17:37
0061777 to
ca7e1ec
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 16, 2026 17:24
ca7e1ec to
d072e38
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 18, 2026 10:00
d072e38 to
ea0ec80
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 18, 2026 13:38
ea0ec80 to
f417f6f
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 18, 2026 16:36
f417f6f to
48aa9c1
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 19, 2026 12:54
48aa9c1 to
591e97e
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 20, 2026 18:34
591e97e to
39b96db
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 21, 2026 00:59
39b96db to
307c863
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 21, 2026 09:38
307c863 to
049a2a2
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 21, 2026 19:55
049a2a2 to
3bb2a02
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
==0.103.1→==0.162.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
fastapi/fastapi (fastapi)
v0.162.0Compare Source
Omitted
boolandbool | Noneform fields now use their declared defaults or produce missing-field errors, consistent with other fields and Pydantic behavior. FastAPI no longer infersFalsefor 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 andvalidate_defaultfollow the usual rules.For HTML checkboxes, declare a boolean with a default of
False. See Boolean Form Fields.Breaking Changes
v0.161.1Compare Source
Fixes
v0.161.0Compare Source
Features
v0.160.0Compare Source
Query, header, cookie, and form parameter models now apply their
extraconfiguration 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. Withextra="allow", those fields are included as model extras. With the defaultextra="ignore", they are ignored.Breaking Changes
extraconfiguration to sibling fields. PR #16594 by @tiangolo.Internal
v0.159.1Compare Source
Features
v0.159.0Compare Source
Features
v0.158.2Compare Source
Features
v0.158.1Compare Source
Fixes
v0.158.0Compare Source
Features
v0.157.0Compare Source
Features
Docs
Internal
v0.156.8Compare Source
Fixes
bytes. PR #16566 by @tiangolo.v0.156.7Compare Source
Fixes
AliasChoices. PR #16564 by @tiangolo.v0.156.6Compare Source
Fixes
v0.156.5Compare Source
Fixes
AliasChoicesfor path parameters. PR #16560 by @tiangolo.v0.156.4Compare Source
Fixes
AliasChoicesfor named JSON body parameters. PR #16559 by @tiangolo.AliasChoicesextraction for form models. PR #16557 by @tiangolo.v0.156.3Compare Source
Fixes
AliasChoicesfor query parameters, headers, and cookies. PR #16555 by @tiangolo.v0.156.2Compare Source
Fixes
v0.156.1Compare Source
Fixes
v0.156.0Compare Source
Fixes
Field()attributes in request parameters. PR #16547 by @tiangolo.v0.155.0Compare Source
The deprecated
**extrakeyword arguments have been removed fromPath,Query,Header,Cookie,Body,Form, andFile. Unknown keyword arguments now raiseTypeError. For additional JSON Schema properties, replace, for example,Query(custom="value")withQuery(json_schema_extra={"custom": "value"}).Breaking Changes
**extrafrom request parameters. PR #16545 by @tiangolo.v0.154.0Compare Source
Features
v0.153.0Compare Source
Unions of form models now apply the same browser form handling as individual models. Empty scalar fields use defaults or produce missing-field errors, empty list items are preserved, omitted boolean fields become
False, and unselected files are treated as missing. JSON request bodies are unchanged.Fixes
v0.152.0Compare Source
Validation errors for header parameter models now report the HTTP header name, such as
int-val, instead of the Python field name,int_val. Explicit aliases,Header(convert_underscores=False), and Pydantic models withloc_by_alias=Falsekeep their existing behavior.Fixes
v0.151.0Compare Source
JSON request bodies now distinguish an explicit
nullfrom an omitted value. For individualBodyparameters,nullis validated asNone: 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 usednullto request a default should omit the value instead.When a JSON object is expected because of
Body(embed=True)or multiple body parameters, sendingnullas the entire body now returns a validation error.Breaking Changes
v0.150.0Compare 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.0Compare Source
Browsers submit empty text inputs as empty strings (
""). FastAPI now treats empty scalar form values as missing in form models, matching individualFormparameters. Required fields return a validation error. Fields with defaults or default factories use them and remain unset inmodel_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.0Compare Source
Defaults for omitted
Query,Header,Cookie, andFormparameters and model fields are no longer treated as user input. Defaults are not validated unlessvalidate_default=Trueis enabled. If you rely on validators running for omitted values, enable default validation withField(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 ininput.Omitted boolean form fields still become
Falseand count as explicitly set.Breaking Changes
v0.147.0Compare Source
Omitted
boolandbool | Noneform fields are now interpreted asFalse, matching unchecked HTML checkboxes. This applies to individualFormparameters and form models, including required fields and fields with defaults ofTrueorNone. The inferred value is considered explicitly set, including inmodel_dump(exclude_unset=True).JSON requests and direct Pydantic validation are unchanged. See Boolean Form Fields.
Breaking Changes
Internal
v0.146.0Compare Source
The
root_pathparameter inFastAPI()is deprecated. Configure the server withfastapi run --root-path /api/v1instead.Breaking Changes
root_pathparameter inFastAPI. PR #16520 by @tiangolo.v0.145.0Compare Source
Breaking Changes
openapi_prefixand unused**extrafromFastAPI. PR #16518 by @tiangolo.Docs
v0.144.0Compare Source
Features
v0.143.5Compare Source
Fixes
bytefile list parameter. PR #9383 by @Viicos.v0.143.4Compare Source
Upgrades
v0.143.3Compare Source
Fixes
Docs
v0.143.2Compare Source
Fixes
Translations
Internal
v0.143.1Compare Source
Fixes
iter_route_contexts(). PR #16484 by @tiangolo.v0.143.0Compare Source
Automatic OpenTelemetry exporter setup is now opt-in. If you rely on FastAPI to configure exporters from
OTEL_*environment variables, setFASTAPI_OTEL_AUTO_CONFIGURE=trueor useFastAPI(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.4Compare Source
Fixes
v0.142.3Compare Source
Fixes
Docs
Translations
Internal
bump-pre-commit-hooksworkflow. PR #16463 by @YuriiMotov.gpt-6-astramodel for translations. PR #16453 by @YuriiMotov.v0.142.2Compare Source
Fixes
v0.142.1Compare Source
Fixes
v0.142.0Compare Source
Features
Refactors
Docs
Translations
Internal
setup-uvaction to10.0.1. PR #16249 by @YuriiMotov.commit_in_placeinput intranslate.yml. PR #16216 by @YuriiMotov.zizmor.ymlworkflow (main->master). PR #16178 by @YuriiMotov..cacheinbuild-docs.yml. PR #16156 by @YuriiMotov.v0.141.1Compare Source
Fixes
app.frontend(). PR #16105 by @tiangolo.Docs
FASTAPI_ENVin FastAPI CLI guide. PR #16104 by @tiangolo.v0.141.0Compare Source
Features
app.frontend(check_dir="auto"), to make local development more convenient withfastapi dev. PR #16102 by @tiangolo.v0.140.13Compare Source
Fixes
status_codebeing ignored for SSE and JSONL streaming endpoints. PR #15937 by @SAURABHSALVE.Docs
format_sse_eventdocstring rendering of\n\nterminator. PR #15613 by @AshNicolus.v0.140.12Compare Source
Fixes
format_sse_eventto comply with SSE spec. PR #15515 by @Zawwarsami16.v0.140.11Compare Source
Fixes
response_model_*params ignored for non-generator endpoints withIterable[..]return type. PR #15093 by @YuriiMotov.v0.140.10Compare Source
Fixes
Internal
v0.140.9Compare Source
Fixes
exclude_defaultsnot propagated to dict keys and values injsonable_encoder. PR #16043 by @MBGrao.Internal
v0.140.8Compare Source
Fixes
include_router(). PR #15077 by @alex-raw.v0.140.7Compare Source
Refactors
Internal
v0.140.6Compare Source
Refactors
v0.140.5Compare Source
Refactors
v0.140.4Compare Source
Refactors
v0.140.3Compare Source
Refactors
v0.140.2Compare Source
Refactors
Internal
v0.140.1Compare Source
Refactors
v0.140.0Compare Source
Refactors
Docs
Internal
v0.139.2Compare Source
Fixes
v0.139.1Compare Source
Fixes
/users/john.doe. PR #16011 by @tiangolo.Docs
skip_usersnot being applied. PR #15995 by @YuriiMotov.Translations
llm-prompt.mdfor Hindi. PRConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.