Upgrading fastapi 0.73 to 0.74
Breaking0.73.0 → 0.74.1Breaking1New2Other3
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Update internal AsyncExitStack to fix context for dependencies with yield.
Must act 1 item needs code or config changes
What you must change
Breaking1
Update internal AsyncExitStack to fix context for dependencies with yield.
AsyncExitStackyieldAPI changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
method FastAPI.build_middleware_stack() -> ASGIApp
- added:
class AsyncExitStackMiddleware - added:
constructor AsyncExitStackMiddleware(app: ASGIApp, context_name: str=…) -> None
- added:
method APIRoute.matches(scope: Scope) -> Tuple[Match, Scope] - added:
method APIWebSocketRoute.matches(scope: Scope) -> Tuple[Match, Scope]