Skip to content

Releases: modern-python/modern-di-fastapi

2.7.3 — Reopen root container across lifespan cycles

16 Jun 14:19
2f036a6

Choose a tag to compare

Fix

  • Reopen the root container across lifespan cycles. _lifespan_manager now wraps the root container in async 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 raises ContainerClosedError on the first request. Requires modern-di>=2.19.0.

Also includes accumulated docs/CI housekeeping since 2.7.2.

2.7.2

13 Jun 10:12
cbef2e7

Choose a tag to compare

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

17 Mar 13:25
f335917

Choose a tag to compare

What's Changed

Full Changelog: 2.7.0...2.7.1

2.7.0

12 Feb 13:36
45ee1da

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/modern-python/modern-di-fastapi/commits/2.7.0