orbital_injector 0.3.0
orbital_injector: ^0.3.0 copied to clipboard
Default dependency injection container implementation for Orbital.
0.3.0 #
- make eager initialization order-independent
- fork resolution stacks per nested call to avoid false cycle detections on acyclic diamonds
- dispose failed lifecycle orphans exactly once
- discriminate the disposed-scope signal by type instead of by message text
- reject factory bindings that produce
OrbitalLifecycleinstances at runtime getOrNullreturnsnullfor a registered binding whosedependsOnprerequisite is unregistered or whose declared graph is cyclic- stop a late teardown from evicting a newer
_pendingresolution entry (a retry racing the failed instance's teardown still shares one singleton)
0.2.1 #
- run an instance's registered
addDisposercleanup during scope disposal, reporting failures through the scope logger instead of throwing - fix a sync
get()/getOrNull()race that could build a second instance while an async resolution for the same binding was already in flight - depend on
orbital_core^0.2.1
0.2.0 #
- rethrow cached async lifecycle failures from sync
get()andgetOrNull()paths instead of returning failed instances - detect dependency cycles created through resolver reentry inside factories
- make concurrent
dispose()calls await the same teardown future - reduce inherited lookup noise by emitting a single
injector_getevent per public read - remove publish-time
dependency_overridesfrom the package pubspec
0.1.1 #
- expand injector documentation around readiness ordering, lifecycle recovery and deterministic teardown
- align the package version and dependency constraints with the 0.1.1 release train
0.1.0 #
- align the package with the pre-1.0 release train
- schedule eager initialization using an explicit dependency graph
- document eager initialization semantics for larger module graphs