Skip to content

2.9.2 — Reopen root container across lifespan cycles

Choose a tag to compare

@lesnik512 lesnik512 released this 16 Jun 14:20
· 10 commits to main since this release
4c88ca8

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