This repository was archived by the owner on Jan 18, 2026. It is now read-only.
Repository navigation
Update dependency fastapi to v0.128.0 - #9
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
September 5, 2024 12:48
90f433a to
7253361
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
September 6, 2024 02:31
7253361 to
d0093e6
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
September 8, 2024 05:48
d0093e6 to
fcaabbf
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
2 times, most recently
from
September 14, 2024 02:53
0e1e070 to
9e48071
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
September 18, 2024 08:46
9e48071 to
011f301
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 14, 2024 08:20
011f301 to
0ef031b
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 22, 2024 17:51
0ef031b to
3e44d43
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 28, 2024 08:53
3e44d43 to
593556f
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
November 13, 2024 08:26
593556f to
f25fb91
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
December 4, 2024 02:43
f25fb91 to
9f604ae
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
January 23, 2025 04:18
9f604ae to
6a593c7
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
January 31, 2025 16:10
6a593c7 to
29b9c85
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 27, 2025 20:12
29b9c85 to
2a69817
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
March 1, 2025 07:28
2a69817 to
f739a2b
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
September 21, 2025 04:19
1a68203 to
e646394
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
September 29, 2025 04:12
e646394 to
babf3ed
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 8, 2025 23:46
babf3ed to
91abc9e
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 11, 2025 07:51
91abc9e to
06559bc
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 12, 2025 06:46
06559bc to
94621b0
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 20, 2025 23:10
94621b0 to
b1ab583
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 25, 2025 15:59
b1ab583 to
175266a
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
November 1, 2025 20:13
175266a to
0de4139
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
November 3, 2025 23:09
0de4139 to
33b1d4a
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
November 9, 2025 07:43
33b1d4a to
6f9fb96
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
November 16, 2025 07:51
6f9fb96 to
9a65d34
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
November 20, 2025 03:59
9a65d34 to
0799857
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
November 25, 2025 07:08
0799857 to
da6bc39
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
December 1, 2025 06:13
da6bc39 to
a29327b
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR contains the following updates:
==0.112.1→==0.128.0Release Notes
fastapi/fastapi (fastapi)
v0.128.0Compare Source
Breaking Changes
pydantic.v1. PR #14609 by @tiangolo.Internal
v0.127.1Compare Source
Refactors
FastAPIDeprecationWarning. PR #14605 by @tiangolo.Docs
Translations
Internal
lintjob fromtestCI workflow. PR #14593 by @YuriiMotov.v0.127.0Compare Source
Breaking Changes
pydantic.v1. PR #14583 by @tiangolo.Translations
Internal
v0.126.0Compare Source
Upgrades
pydantic.v1. PR #14575 by @tiangolo.pydantic >=2.7.0.standarddependencies now includepydantic-settings >=2.0.0andpydantic-extra-types >=2.0.0.Docs
docs_src/python_types/tutorial005_py39.py. PR #14565 by @paras-verma7454.Translations
Internal
v0.125.0Compare Source
Breaking Changes
Refactors
Docs
Translations
Internal
markdown-include-variantsfrom 0.0.7 to 0.0.8. PR #14556 by @YuriiMotov.v0.124.4Compare Source
Fixes
v0.124.3Compare Source
Fixes
AnnotatedwithBody(). PR #14512 by @tiangolo.Refactors
Docs
Translations
Internal
v0.124.2Compare Source
Fixes
if TYPE_CHECKING, non-evaluated stringified annotations. PR #14485 by @tiangolo.v0.124.1Compare Source
Fixes
arbitrary_types_allowed=True. PR #14482 by @tiangolo.Docs
Internal
__annotations__. PR #14477 by @tiangolo.v0.124.0Compare Source
Features
Internal
scripts/mkdocs_hooks.py. PR #14457 by @yujiteshima.v0.123.10Compare Source
Fixes
__call__method. PR #14458 by @YuriiMotov.separate_input_output_schemas=Falsewithcomputed_field. PR #14453 by @YuriiMotov.v0.123.9Compare Source
v0.123.8Compare Source
Fixes
v0.123.7Compare Source
Fixes
v0.123.6Compare Source
Fixes
v0.123.5Compare Source
Features
functools.partial(). PR #9753 by @lieryan.@functools.wraps()) used with forward references. PR #5077 by @lucaswiman.Fixes
Refactors
is_coroutinecheck to reuse internal supported variants (unwrap, check class). PR #14434 by @tiangolo.Translations
v0.123.4Compare Source
Fixes
separate_input_output_schemas=False. PR #13207 by @vgrafe.Docs
serversparameter. PR #14405 by @YuriiMotov.v0.123.3Compare Source
Fixes
serialize sequence valuewith Pydantic V2. PR #14297 by @YuriiMotov.v0.123.2Compare Source
Fixes
{type_}in FastAPIError. PR #14416 by @Just-Helpful.Formparameter list. PR #14303 by @YuriiMotov.Noneif that's the default), for compatibility with HTML forms. PR #13537 by @MarinPostma.Docs
pipin case ofNo module named piperror invirtual-environments.md. PR #14211 by @zadevhub.v0.123.1Compare Source
Fixes
TypeErrorwhen encoding a decimal with aNaNorInfinityvalue. PR #12935 by @kentwelcome.Internal
v0.123.0Compare Source
Fixes
v0.122.1Compare Source
Fixes
Docs
Internal
v0.122.0Compare Source
Fixes
401status code in security classes when credentials are missing. PR #13786 by @YuriiMotov.403status code, check the new docs about how to override the classes, to use the same old behavior: Use Old 403 Authentication Error Status Codes.Internal
lang-alllabel. PR #14213 by @YuriiMotov.latest-changesGitHub Action and pinactions/checkout@v5. PR #14403 by @svlandeg.add-permalinksandadd-permalinks-pagetoscripts/docs.py. PR #14033 by @YuriiMotov.v0.121.3Compare Source
0.121.3
Refactors
Depends()andSecurity()hashable, as a workaround for other tools interacting with these internal parts. PR #14372 by @tiangolo.Upgrades
0.51.0. PR #14282 by @musicinmybrain.Docs
v0.121.2Compare Source
Fixes
Docs
Translations
v0.121.1Compare Source
Fixes
Depends(func, scope='function')for top level (parameterless) dependencies. PR #14301 by @luzzodev.Docs
yield, noting the changes in 0.121.0, addingscope. PR #14287 by @tiangolo.Internal
v0.121.0Compare Source
Features
scope="request"for dependencies withyieldthat exit before the response is sent. PR #14262 by @tiangolo.yield- Early exit andscope.Internal
v0.120.4Compare Source
Fixes
v0.120.3Compare Source
Refactors
get_param_sub_dependant. PR #14255 by @tiangolo.Docs
v0.120.2Compare Source
Fixes
Internal
v0.120.1Compare Source
Upgrades
0.50.0. PR #14234 by @YuriiMotov.Internal
licenseandlicense-filestopyproject.toml, removeLicensefromclassifiers. PR #14230 by @YuriiMotov.v0.120.0Compare Source
There are no major nor breaking changes in this release. ☕️
The internal reference documentation now uses
annotated_doc.Docinstead oftyping_extensions.Doc, this adds a new (very small) dependency onannotated-doc, a package made just to provide thatDocdocumentation utility class.I would expect
typing_extensions.Docto be deprecated and then removed at some point fromtyping_extensions, for that reason there's the newannotated-docmicro-package. If you are curious about this, you can read more in the repo forannotated-doc.This new version
0.120.0only contains that transition to the new home package for that utility classDoc.Translations
Internal
typing_extensions.Doctoannotated_doc.Doc. PR #14222 by @tiangolo.v0.119.1Compare Source
Fixes
Docs
starlette.iobystarlette.devanduvicorn.orgbyuvicorn.dev. PR #14176 by @Kludex.Internal
waitinglabel inissue-manager. PR #14156 by @YuriiMotov.v0.119.0Compare Source
FastAPI now (temporarily) supports both Pydantic v2 models and
pydantic.v1models at the same time in the same app, to make it easier for any FastAPI apps still using Pydantic v1 to gradually but quickly migrate to Pydantic v2.Adding this feature was a big effort with the main objective of making it easier for the few applications still stuck in Pydantic v1 to migrate to Pydantic v2.
And with this, support for Pydantic v1 is now deprecated and will be removed from FastAPI in a future version soon.
Note: have in mind that the Pydantic team already stopped supporting Pydantic v1 for recent versions of Python, starting with Python 3.14.
You can read in the docs more about how to Migrate from Pydantic v1 to Pydantic v2.
Features
from pydantic.v1 import BaseModel, mixed Pydantic v1 and v2 models in the same app. PR #14168 by @tiangolo.v0.118.3Compare Source
Upgrades
v0.118.2Compare Source
Fixes
Internal
v0.118.1Compare Source
Upgrades
Docs
Translations
Internal
mkdocs_hooks.pyto addtitleto page's metadata (remove permalinks in social cards). PR #14125 by @YuriiMotov.v0.118.0Compare Source
0.118.0
Fixes
StreamingResponses with dependencies withyieldorUploadFiles, close after the response is done. PR #14099 by @tiangolo.Before FastAPI 0.118.0, if you used a dependency with
yield, it would run the exit code after the path operation function returned but right before sending the response.This change also meant that if you returned a
StreamingResponse, the exit code of the dependency withyieldwould have been already run.For example, if you had a database session in a dependency with
yield, theStreamingResponsewould not be able to use that session while streaming data because the session would have already been closed in the exit code afteryield.This behavior was reverted in 0.118.0, to make the exit code after
yieldbe executed after the response is sent.You can read more about it in the docs for Advanced Dependencies - Dependencies with
yield,HTTPException,exceptand Background Tasks. Including what you could do if you wanted to close a database session earlier, before returning the response to the client.Docs
tutorial/security/oauth2-jwt/to usepwdlibwith Argon2 instead ofpasslib. PR #13917 by @Neizvestnyj.Translations
Internal
v0.117.1Compare Source
Fixes
Fileis declared afterFormparameter. PR #11194 by @thomasleveil.v0.117.0Compare Source
Features
Noneas return type for bodiless responses. PR #9425 by @hofrob.typefield. PR #13639 by @sammasak.external_docsparameter toFastAPI. PR #13713 by @cmtoro.Fixes
default_factoryfor response model field with Pydantic V1. PR #9704 by @vvanglro.jsonable_encoderaltersjson_encodersof Pydantic v1 objects. PR #4972 by @aboubacs.allow_arbitrary_typeswhen only 1 argument is used on the API endpoint. PR #13694 by @rmawatson.inspect.getcoroutinefunction()can break testing withunittest.mock.patch(). PR #14022 by @secrett2633.Refactors
dependency-cachedict insolve_dependenciesonly ifNone(don't re-create if empty). PR #13689 by @bokshitsky.test_tutorial/test_header_params/test_tutorial003.py. PR #13864 by @Amogha-ark.httpxto>=0.23.0,<1.0.0. PR #14086 by @YuriiMotov.Docs
tutorial/cookie-params.md. PR #13510 by @Kludex.path-params-numeric-validations.mdfor languagesen,esanduk.. PR #14059 by @svlandeg.Translations
Internal
docs.py generate-readmecommand to remove permalinks from headers. PR #14055 by @YuriiMotov.v0.116.2Compare Source
Upgrades
Docs
--forwarded-allow-ips="*". PR #14028 by @tiangolo.dict()indocs/tutorial/body.md. PR #13906 by @jomkv.termynal.js. PR #13714 by @Ashish-Pandey62.urlfield in error responses in docs. PR #13655 by @Taoup.scopeclaim in line with the standard indocs_src/security/tutorial005.py. PR #11189 by @DurandA.docs/en/docs/advanced/generate-clients.md. PR [#13793](https://redirect.github.com/fastapi/fastapi/Configuration
📅 Schedule: 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.
This PR was generated by Mend Renovate. View the repository job log.