v3.0.0a11
Pre-release
Pre-release
github-actions
released this
29 Aug 10:45
·
71 commits
to master
since this release
Bugfixes
-
- Improved container hierarchical dependency resolution process.
- Add significantly more
DEBUG
logging throughout the DI pipeline. DependencyInjectionManager.enter_context
now needs to be called for every context you wish to enter; it will no longer enter the default context automatically.DependencyInjectionManager.enter_context
now searches the existing container hierarchy to find an existing container for the passed context before trying to create a new one.DependencyInjectionManager.enter_context
now returns a no-op container implementation instead ofNone
if DI is disabled globally.
(#449)
-
Fix default injection container being closed when explicitly entering the
DEFAULT
DI context.