Update dependency fastapi to v0.141.1 - #40
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 8, 2026 13:51
f9ce5a2 to
3979b50
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 9, 2026 17:59
3979b50 to
acf9e3d
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 10, 2026 12:46
acf9e3d to
57ac42a
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 11, 2026 17:46
57ac42a to
a826932
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 12, 2026 18:40
a826932 to
8f489ae
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 21, 2026 17:08
8f489ae to
e00ca7a
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 21, 2026 20:26
e00ca7a to
eedb9d8
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 22, 2026 17:12
eedb9d8 to
156ad72
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
2 times, most recently
from
February 24, 2026 09:47
73e369b to
7726af0
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
2 times, most recently
from
February 25, 2026 20:41
2cefa4c to
03d6121
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 28, 2026 01:24
03d6121 to
d918e89
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
March 1, 2026 21:02
d918e89 to
d50b760
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
March 23, 2026 17:15
d50b760 to
312b947
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
June 15, 2026 21:05
8d34149 to
ed0af1c
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
2 times, most recently
from
June 20, 2026 02:05
13d583c to
48bc706
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
June 25, 2026 17:39
48bc706 to
272301c
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
June 29, 2026 14:02
272301c to
3fe5af0
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 1, 2026 22:04
3fe5af0 to
0420913
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 17, 2026 10:45
0420913 to
a170172
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 25, 2026 02:27
a170172 to
7b54c29
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 27, 2026 14:07
7b54c29 to
06ab521
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 27, 2026 16:49
06ab521 to
9f87718
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 27, 2026 20:44
9f87718 to
a8eb51a
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 28, 2026 13:06
a8eb51a to
3801777
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 28, 2026 18:41
3801777 to
7d63b6e
Compare
renovate
Bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 29, 2026 18:54
7d63b6e to
35cdaab
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.
This PR contains the following updates:
==0.128.3→==0.141.1Release Notes
fastapi/fastapi (fastapi)
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
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
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. PR #15810 by @YuriiMotov.Internal
FASTAPI_LATEST_CHANGEStoken inbump-pre-commit-hooksworkflow. PR #15984 by @YuriiMotov.v0.139.0Compare Source
Features
app.frontend(), e.g. for automatic cookie authentication for the frontend. PR #15908 by @tiangolo.Translations
Internal
allow-unsafe-pr-checkout: true. PR #15876 by @YuriiMotov.v0.138.2Compare Source
Refactors
app.frontend()return 404 for methods other thanGETorHEADwith no static file matches. PR #15863 by @tiangolo.Internal
v0.138.1Compare Source
Refactors
Internal
v0.138.0Compare Source
Features
app.frontend("/", directory="dist")androuter.frontend("/", directory="dist"). PR #15800 by @tiangolo.Docs
app.frontend()instructions to Agent Library Skill. PR #15805 by @tiangolo.Translations
Internal
release-notes.mdfor typos. PR #15796 by @YuriiMotov.gpt-5.5model intranslate.py, specify-chatto avoid warnings. PR #15792 by @YuriiMotov.v0.137.2Compare Source
Features
iter_route_contexts()for advanced use cases that used to userouter.routes(e.g. Jupyverse). PR #15785 by @tiangolo.Translations
Internal
coverage.sh. PR #15772 by @tiangolo.v0.137.1Compare Source
Fixes
v0.137.0Compare Source
Breaking Changes
APIRouterandAPIRouteinstances. PR #15745 by @tiangolo.Unblocks ✨ SO MANY THINGS ✨
Before this,
router.include_router(other_router)would take each path operation fromother_routerand "clone" it, or recreate it from scratch.This would mean that in the end there was only one top level router, part of the app.
The way it is structured here is that there are a few additional classes to handle intermediate metadata for router and route inclusion. That way the information of "router X includes Y and Y includes Z" is stored somewhere, without affecting (recreating / clonning) the final route.
Non Objectives
Dependencies for 404: previously I intended to support dependencies that would be executed even for 404, but that would conflict with the fact that a router could not find a match, but the next router did find a match. Executing dependencies in the router that did not find a match would not make sense, they could consume the request, body, etc. This original idea was discarded.
Specific Breaking Changes
Now
router.routesis no longer a plain list ofAPIRouteobjects, it can contain these intermediate objects that can contain additional routers, forming a tree.Any logic that depended on iterating on the
router.routesdirectly would be affected, that logic cannot expect to be able to extract data from a plain list of routes, as it's no longer a plain list but a tree.Additionally, any logic that iterated on
router.routesto modify them would now also see these new objects, and would not see all the routes in the app.router.routesshould be considered an internal implementation detail, only passed around to the FastAPI functions that need it.Features
subrouterinmainroutercan be done before adding routes (path operations) tosubrouter, because now the the entire object is stored instead of copying the routes.Alpha Features
This is not documented yet, so it's not officially supported yet and could change in the future.
But, as
APIRouteandAPIRouterinstances are now preserved, they could be customized.APIRouterhas two new methods,.matches()and.handle(), counterpart to the existing ones inAPIRoute. With this a router could customize how it matches and handles requests. For example, it could match only requests that include some specific header, for example for handling versions in headers.Still, for now, consider this very experimental and potentially changing and breaking in the future.
Future Features Enabled
APIRoutesubclasses (undocumented, but alraedy works as desccribed above)APIRoutersubclasses (undocumented, but already works as described above)Docs
Annotatedin inline example indocs/en/docs/tutorial/body-multiple-params.md. PR #15591 by @TheArchons.docs/en/docs/tutorial/security/oauth2-jwt.md. PR #14781 by @zadevhub.Translations
Internal
changing_dirinstead ofCLIRunner.isolated_filesystemto set working dir. PR #15616 by @YuriiMotov.httpx2test dependency to avoid deprecation warning. PR #15603 by @YuriiMotov.v0.136.3Compare Source
Refactors
convert_underscores=True(the default). PR #15589 by @tiangolo.v0.136.1Compare Source
Upgrades
Internal
v0.136.0Compare Source
Upgrades
v0.135.4Compare Source
Refactors
@app.vibe()🤪. PR #15363 by @tiangolo.Internal
v0.135.3Compare Source
Features
@app.vibe(). PR #15280 by @tiangolo.Docs
client_secretin OAuth2 form docstrings. PR #14946 by @bysiber.Internal
lint.sh. PR #15136 by @svlandeg.v0.135.2Compare Source
Upgrades
pydantic >=2.9.0.and fix the test suite. PR #15139 by @svlandeg.Docs
pyproject.tomlwithentrypoint. PR #15075 by @tiangolo.Configuration
📅 Schedule: (UTC)
🚦 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.