-
-
Notifications
You must be signed in to change notification settings - Fork 269
chore(deps): update dependency fastapi to v0.118.0 #6252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
✅
|
4645ec5
to
bbf5322
Compare
echoix
approved these changes
Oct 3, 2025
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
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
==0.117.1
->==0.118.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
fastapi/fastapi (fastapi)
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
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.