deps(deps): bump the fastapi group with 2 updates
Type: Pull Request
State: Merged
Association: Contributor
Comments: 1
(9 months ago)
(9 months ago)
(9 months ago)
by devops-thiago
devops-thiago
Updates the requirements on fastapi and uvicorn to permit the latest version.
Updates fastapi to 0.118.0
Release notes
Sourced from fastapi's releases.
0.118.0
Fixes
- 🐛 Fix support for
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
- 📝 Update
tutorial/security/oauth2-jwt/to usepwdlibwith Argon2 instead ofpasslib. PR #13917 by@Neizvestnyj.- ✏️ Fix typos in OAuth2 password request forms. PR #14112 by
@alv2017.- 📝 Update contributing guidelines for installing requirements. PR #14095 by
@alejsdev.Translations
- 🌐 Sync German docs. PR #14098 by
@nilslindemann.Internal
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #14103 by
@pre-commit-ci[bot].- ♻️ Refactor sponsor image handling. PR #14102 by
@alejsdev.- 🐛 Fix sponsor display issue by hiding element on image error. PR #14097 by
@alejsdev.- 🐛 Hide sponsor badge when sponsor image is not displayed. PR #14096 by
@alejsdev.
Commits
333f1ba🔖 Release version 0.118.01d5168a📝 Update release notesbfa54b4📝 Update release notese329d78🐛 Fix support forStreamingResponses with dependencies withyieldor `Upl...861b22c📝 Update release notesefdafa4📝 Updatetutorial/security/oauth2-jwt/to usepwdlibwith Argon2 instead ...450a334📝 Update release notes3eb2ee7✏️ Fix typos in OAuth2 password request forms (#14112)287eb31📝 Update release notescca3341🌐 Sync German docs (#14098)- Additional commits viewable in compare view
Updates uvicorn to 0.37.0
Release notes
Sourced from uvicorn's releases.
Version 0.37.0
What's Changed
- Add
--timeout-worker-healthchecksetting by@Kludexin Kludex/uvicorn#2711- Add
os.PathLike[str]type tossl_ca_certsby@rnv812in Kludex/uvicorn#2676New Contributors
@LincolnPuzeymade their first contribution in Kludex/uvicorn#2669@rnv812made their first contribution in Kludex/uvicorn#2676Full Changelog: https://github.com/Kludex/uvicorn/compare/0.36.1...0.37.0
Changelog
Sourced from uvicorn's changelog.
0.37.0 (September 23, 2025)
Added
0.36.1 (September 23, 2025)
Fixed
- Raise an exception when calling removed
Config.setup_event_loop()(#2709)0.36.0 (September 20, 2025)
Added
- Support custom IOLOOPs (#2435)
- Allow to provide importable string in
--http,--wsand--loop(#2658)0.35.0 (June 28, 2025)
Added
- Add
WebSocketsSansIOProtocol(#2540)Changed
- Refine help message for option
--proxy-headers(#2653)0.34.3 (June 1, 2025)
Fixed
- Don't include
cwd()when non-empty--reload-dirsis passed (#2598)- Apply
get_client_addrformatting to WebSocket logging (#2636)0.34.2 (April 19, 2025)
Fixed
- Flush stdout buffer on Windows to trigger reload (#2604)
0.34.1 (April 13, 2025)
Deprecated
- Deprecate
ServerStatein the main module (#2581)0.34.0 (December 15, 2024)
... (truncated)
Commits
4098bcaVersion 0.37.0 (#2712)8c057faAddos.PathLike[str]type tossl_ca_certs(#2676)bbe119eAdd note about--timeout-keep-alivebeing measured in seconds (#2669)2744f14Add--timeout-worker-healthchecksetting (#2711)1dfb0bdVersion 0.36.1 (#2710)3d0d46aRaise an exception when calling removedConfig.setup_event_loop()(#2709)ad9e5b9docs: redirect uvicorn.org to uvicorn.dev (#2705)0e3b18cVersion 0.36.0 (#2704)f84661dchore: drop mention to scripts/publish (#2696)dcd7e6cdocs: replace uvicorn.org by uvicorn.dev (#2703)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Pull Request Statistics
1
1
+2
-2
Technical Details
| ID: | 8794403 |
| UUID: | 2872558466 |
| Node ID: | PR_kwDOP5TZt86rN8OC |
| Host: | GitHub |
| Repository: | devops-thiago/otel-example-python |
| Merge State: | Unknown |