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).