Skip to content

Upgrading fastapi 0.73 to 0.74

Breaking0.73.0 → 0.74.1Breaking1New2Other3

BreakingUpgrade verdict

1 breaking change.

  • Update internal AsyncExitStack to fix context for dependencies with yield.
1 item needs code or config changes
Breaking1
Update internal AsyncExitStack to fix context for dependencies with yield.
AsyncExitStackyield

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]