0.121.0
📦 fastapi
✨ 1 features🔧 2 symbols
Summary
This release introduces scoped dependencies, allowing yield-based dependencies to exit before the response is sent by using scope="request".
Migration Steps
- To use early-exiting dependencies, update your Depends() or security dependencies to include the scope="request" parameter where applicable.
✨ New Features
- Add support for dependencies with scopes, specifically allowing scope="request" for dependencies with yield to ensure they exit before the response is sent.
🔧 Affected Symbols
fastapi.Dependsfastapi.params.Depends