Releases: modern-python/modern-di-fastapi
Releases · modern-python/modern-di-fastapi
2.7.3 — Reopen root container across lifespan cycles
Fix
- Reopen the root container across lifespan cycles.
_lifespan_managernow wraps the root container inasync with, so it reopens on each startup and closes on shutdown. A second lifespan cycle against the same container (repeated test lifespans, server restarts) no longer raisesContainerClosedErroron the first request. Requiresmodern-di>=2.19.0.
Also includes accumulated docs/CI housekeeping since 2.7.2.
2.7.2
Require modern-di>=2.16.1, which fixes a clean-install ModuleNotFoundError: No module named 'typing_extensions' (modern-di's runtime import is now guarded under TYPE_CHECKING).
Also: docs link → modern-di.modern-python.org, CI alignment with modern-di, dev-dep cleanup.
🤖 Generated with Claude Code
2.7.1
What's Changed
- migrate to ty by @lesnik512 in #2
- set upper bound for packages by @lesnik512 in #3
Full Changelog: 2.7.0...2.7.1
2.7.0
What's Changed
- move to separate repo by @lesnik512 in #1
New Contributors
- @lesnik512 made their first contribution in #1
Full Changelog: https://github.com/modern-python/modern-di-fastapi/commits/2.7.0