orbital_injector 0.3.0 copy "orbital_injector: ^0.3.0" to clipboard
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 OrbitalLifecycle instances at runtime
  • getOrNull returns null for a registered binding whose dependsOn prerequisite is unregistered or whose declared graph is cyclic
  • stop a late teardown from evicting a newer _pending resolution entry (a retry racing the failed instance's teardown still shares one singleton)

0.2.1 #

  • run an instance's registered addDisposer cleanup 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() and getOrNull() 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_get event per public read
  • remove publish-time dependency_overrides from 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
0
likes
150
points
264
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Default dependency injection container implementation for Orbital.

Repository (GitHub)

License

MIT (license)

Dependencies

orbital_core

More

Packages that depend on orbital_injector