build(deps): update all non-major dependencies #9
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:
>=25.1.0,<25.1.1
->>=25.9.0,<25.9.1
>=0.115.8,<0.116.0
->>=0.118.2,<0.118.3
>=4.55.8,<5.0.0
->>=4.60.1,<5.0.0
>=2.32.3,<3.0.0
->>=2.32.5,<3.0.0
>=1.6.1,<2.0.0
->>=1.7.1,<2.0.0
>=0.34.0,<0.35.0
->>=0.37.0,<0.37.1
>=2025.1.13.1,<2026.0.0.0
->>=2025.7.5.1,<2026.0.0.0
Release Notes
psf/black (black)
v25.9.0
Compare Source
Highlights
await/async
as soft keywords/variable names(#4676)
Stable style
del
statement containing tuples (#4628)with
statements (#4630)
# fmt: skip
followed by a comment at the end of file (#4635)as
clause of awith
statement (#4634)with
statement (#4646)\
followed by a\r
followed by a comment (#4663)\\r\n
(#4673)await ...
(where...
is a literalEllipsis
) (#4676)(#4670)
Preview style
# fmt: skip
would stillbe formatted (#4552)
multiline_string_handling
with ternaries and dictionaries (#4657)string_processing
would not split f-strings directly afterexpressions (#4680)
in
clause of comprehensions across lines if necessary (#4699)except
andexcept*
withoutas
. (#4720)\r
style newlines to the potential newlines to normalize file newlines both fromand to (#4710)
Parser
parameter bounds and defaults. (#4602)
Performance
Integrations
psf/black
to read Black version from an additional section inpyproject.toml:
[project.dependency-groups]
(#4606)Documentation
fastapi/fastapi (fastapi)
v0.118.2
Compare Source
Fixes
Internal
v0.118.1
Compare Source
Upgrades
Docs
Translations
Internal
mkdocs_hooks.py
to addtitle
to page's metadata (remove permalinks in social cards). PR #14125 by @YuriiMotov.v0.118.0
Compare Source
0.118.0
Fixes
StreamingResponse
s with dependencies withyield
orUploadFile
s, 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 withyield
would have been already run.For example, if you had a database session in a dependency with
yield
, theStreamingResponse
would 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
yield
be executed after the response is sent.You can read more about it in the docs for Advanced Dependencies - Dependencies with
yield
,HTTPException
,except
and 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 usepwdlib
with Argon2 instead ofpasslib
. PR #13917 by @Neizvestnyj.Translations
Internal
v0.117.1
Compare Source
Fixes
File
is declared afterForm
parameter. PR #11194 by @thomasleveil.v0.117.0
Compare Source
Features
None
as return type for bodiless responses. PR #9425 by @hofrob.type
field. PR #13639 by @sammasak.external_docs
parameter toFastAPI
. PR #13713 by @cmtoro.Fixes
default_factory
for response model field with Pydantic V1. PR #9704 by @vvanglro.jsonable_encoder
altersjson_encoders
of Pydantic v1 objects. PR #4972 by @aboubacs.allow_arbitrary_types
when 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-cache
dict insolve_dependencies
only ifNone
(don't re-create if empty). PR #13689 by @bokshitsky.test_tutorial/test_header_params/test_tutorial003.py
. PR #13864 by @Amogha-ark.httpx
to>=0.23.0,<1.0.0
. PR #14086 by @YuriiMotov.Docs
tutorial/cookie-params.md
. PR #13510 by @Kludex.path-params-numeric-validations.md
for languagesen
,es
anduk
.. PR #14059 by @svlandeg.Translations
Internal
docs.py generate-readme
command to remove permalinks from headers. PR #14055 by @YuriiMotov.v0.116.2
Compare 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.url
field in error responses in docs. PR #13655 by @Taoup.scope
claim in line with the standard indocs_src/security/tutorial005.py
. PR #11189 by @DurandA.docs/en/docs/advanced/generate-clients.md
. PR #13793 by @mrlubos.Translations
docs/zh/docs/python-types.md
. PR #13997 by @anfreshman.docs/pt/docs/async.md
. PR #13863 by @EdmilsonRodrigues.docs/ja/docs/tutorial/body.md
. PR #13927 by @KoyoMiyazaki.docs/fa/docs/environment-variables.md
. PR #13923 by @Mohammad222PR.docs/fa/docs/python-types.md
. PR #13524 by @Mohammad222PR.docs/pt/docs/project-generation.md
. PR #13875 by @EdmilsonRodrigues.docs/fa/docs/async.md
. PR #13541 by @Mohammad222PR.docs/bn/about/index.md
. PR #13882 by @sajjadrahman56.Internal
mkdocs_hooks
to handle headers with permalinks when building docs. PR #14025 by @tiangolo.mkdocs-macros-plugin
from 1.3.7 to 1.3.9. PR #14003 by @YuriiMotov.v0.116.1
Compare Source
Upgrades
>=0.40.0,<0.48.0
. PR #13884 by @tiangolo.Docs
docs/en/docs/contributing.md
. PR #13886 by @YuriiMotov.Internal
v0.116.0
Compare Source
Features
fastapi deploy
. PR #13870 by @tiangolo.Installing
fastapi[standard]
now includesfastapi-cloud-cli
.This will allow you to deploy to FastAPI Cloud with the
fastapi deploy
command.If you want to install
fastapi
with the standard dependencies but withoutfastapi-cloud-cli
, you can install insteadfastapi[standard-no-fastapi-cloud-cli]
.Translations
docs/ru/docs/advanced/response-directly.md
. PR #13801 by @NavesSapnis.docs/ru/docs/advanced/additional-status-codes.md
. PR #13799 by @NavesSapnis.docs/uk/docs/tutorial/body-updates.md
. PR #13804 by @valentinDruzhinin.Internal
v0.115.14
Compare Source
Fixes
Form
. PR #13827 by @patrick91.Docs
docs/en/docs/advanced/response-directly.md
. PR #13800 by @NavesSapnis.Translations
docs/uk/docs/tutorial/response-model.md
. PR #13792 by @valentinDruzhinin.docs/uk/docs/tutorial/security/index.md
. PR #13805 by @valentinDruzhinin.docs/ja/docs/tutorial/encoder.md
. PR #13815 by @ruzia.docs/ja/docs/tutorial/handling-errors.md
. PR #13814 by @ruzia.docs/ja/docs/tutorial/body-fields.md
. PR #13802 by @ruzia.docs/ru/docs/advanced/index.md
. PR #13797 by @NavesSapnis.Internal
v0.115.13
Compare Source
Fixes
\f
) character for Pydantic V2. PR #13698 by @YuriiMotov.Refactors
refreshUrl
parameter inOAuth2PasswordBearer
. PR #11460 by @snosratiershad.password
andclient_secret
inOAuth2PasswordRequestForm
, make docs show password fields for passwords. PR #11032 by @Thodoris1999.settings
. PR #13505 by @valentinDruzhinin.validate_response_recursive
. PR #13507 by @valentinDruzhinin.Upgrades
Docs
async def
withoutawait
. PR #13642 by @swastikpradhan1999.docs/en/docs/tutorial/handling-errors.md
. PR #13623 by @gsheni.Translations
docs/ru/docs/advanced/response-change-status-code.md
. PR #13791 by @NavesSapnis.docs/fa/docs/learn/index.md
. PR #13518 by @Mohammad222PR.docs/ko/docs/advanced/sub-applications.md
. PR #4543 by @NinaHwang.docs/uk/docs/tutorial/schema-extra-example.md
. PR #13769 by @valentinDruzhinin.docs/uk/docs/tutorial/query-param-models.md
. PR #13748 by @valentinDruzhinin.docs/bn/docs/environment-variables.md
. PR #13629 by @SakibSibly.docs/uk/docs/tutorial/query-params-str-validations.md
page. PR #13546 by @valentinDruzhinin.docs/ru/docs/tutorial/cookie-param-models.md
. PR #13616 by @EgorOnishchuk.docs/ko/docs/tutorial/extra-models.md
. PR #13063 by @timothy-jeong.docs/uk/docs/tutorial/path-params-numeric-validations.md
page. PR #13548 by @valentinDruzhinin.docs/uk/docs/tutorial/middleware.md
page. PR #13520 by @valentinDruzhinin.docs/uk/docs/tutorial/background-tasks.md
page. PR #13502 by @valentinDruzhinin.docs/uk/docs/tutorial/cors.md
page. PR #13519 by @valentinDruzhinin.docs/ko/docs/advanced/events.md
. PR #13487 by @bom1215.docs/uk/docs/tutorial/handling-errors.md
page. PR #13420 by @valentinDruzhinin.docs/ru/docs/tutorial/request-form-models.md
. PR #13552 by @EgorOnishchuk.docs/ko/docs/virtual-environments.md
. PR #13630 by @sungchan1.docs/ru/docs/tutorial/header-param-models.md
. PR #13526 by @minaton-ru.docs/zh/docs/tutorial/index.md
. PR #13374 by @Zhongheng-Cheng.docs/zh/docs/deployment/manually.md
. PR #13324 by @Zhongheng-Cheng.docs/zh/docs/deployment/server-workers.md
. PR #13292 by @Zhongheng-Cheng.docs/zh/docs/tutorial/first-steps.md
. PR #13348 by @Zhongheng-Cheng.Internal
inline-snapshot
to support different Pydantic versions in the test suite. PR #12534 by @15r10nk.docs/en/mkdocs.yml
configuration file. PR #13542 by @svlandeg.v0.115.12
Compare Source
Fixes
convert_underscores=False
for header Pydantic models. PR #13515 by [@tiangolo](https://reConfiguration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.