Skip to main content

ark_di 1.2.1 copy "ark_di: ^1.2.1" to clipboard
ark_di: ^1.2.1 copied to clipboard

Pure Dart dependency injection with hierarchical scopes and explicit ownership.

Changelog #

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.
0
likes
160
points
442
downloads

Documentation

Documentation
API reference

Publisher

verified publisherarktelos.dev

Weekly Downloads

Pure Dart dependency injection with hierarchical scopes and explicit ownership.

Homepage
Repository (GitLab)
View/report issues

Topics

#architecture #dependency-injection #inversion-of-control

License

Apache-2.0 (license)

More

Packages that depend on ark_di