ark_di 1.3.1
ark_di: ^1.3.1 copied to clipboard
Pure Dart dependency injection with hierarchical scopes and explicit ownership.
Changelog #
1.3.1 - 2026-11-29 #
- Explain retained local state, leases, TTL/capacity and final close in both READMEs, with an executable draft example rather than only links to detailed guides.
- Cover typed modules, setup rollback, restricted resolver access and diagnostics.
- Add documentation regressions; no runtime API or dependency changes.
1.3.0 - 2026-11-29 #
- Add failed-configuration rollback and awaitable root/child creation with separate reporting of cleanup failures.
- Add explicit resolver allowlists and retained local-scope ownership.
- Add detached runtime/cache diagnostics and close-progress snapshots.
- Add typed module composition through the existing binder transaction.
- Keep test fixtures and matchers in the separate
ark_di_testpackage. - Add lifecycle, composition and diagnostics checks and runnable examples.
1.2.1 - 2026-10-26 #
- Document the patched SDK baseline and application rebuild requirement for GHSA-frr6-h895-5pxp; include the security policy in the published package.
- Validate compatibility with Dart 3.13.7 without changing the public API.
- Synchronize current installation guidance, ecosystem constraints, and product documentation links.
1.2.0 - 2026-10-03 #
- Added detached read-only snapshots of effective registrations, ownership, singleton state, and successfully observed same-scope dependency edges.
1.1.0 - 2026-09-15 #
- Added an installable package skill for registration lifetimes, ownership, hierarchical scopes, async resolution, overrides, and ordered teardown.
1.0.0 - 2026-08-17 #
- Established stable registration, resolution, scope, override, ownership, async singleton, cycle detection, and dependency-ordered teardown contracts.
- Documented the additive post-1.0 roadmap.
0.1.0-dev.1 #
- Added pure-Dart dependency registration and resolution.
- Added transient, async transient, Lazy Singleton, Async Lazy Singleton, and ready-instance strategies.
- Added hierarchical scopes with explicit parent overrides.
- Added type-safe named registrations with
DiKey<T>. - Added explicit instance ownership and Disposer callbacks.
- Added shared in-flight async initialization with retry after failure.
- Added cycle detection, active-resolution tracking, and dependency-ordered teardown with aggregated close failures.