Releases: matyasrichter/fastapi-injector
Releases · matyasrichter/fastapi-injector
0.6.2
0.6.1
0.6.0
What's Changed
Potentially breaking
- Make FastAPI an optional dependency by @hasier in #30
- Allows using
fastapi-injector
withfastapi-slim
- If you used to install
fastapi
only as a transitive dependency offastapi-injector
, you will need to either use the new extras or installfastapi
separately.
- Allows using
Other changes
- Update examples in README to add clarity by @matyasrichter in #27
New Contributors
Full Changelog: 0.5.4...0.6.0
0.5.4
What's Changed
- Set the middleware scope to starlette.types.Scope by @ljnsn in #21
- Bind RequestScopeFactory to make it work with
auto_bind=False
by @matyasrichter in #25 - Update dev dependencies in #22, #23, #24
New Contributors
Full Changelog: 0.5.3...0.5.4
0.5.3
0.5.2
Python 3.12 support
0.5.1
v0.5.0
v0.4.0
- Added CI for Python 3.11
New contribution by @zenndos / @danielknell:
- The dependency created by
Injected
is now async. The original sync implementation would run on a separate thread, wasting resources and causing issues with dependencies that need the event loop. - Added a
SyncInjected
dependency factory that preserves the original behaviour (note that blocking IO in providers is still discouraged).
v0.3.0
This release adds the RequestScope. See the README for more details.