Ark DI 1.0 stabilizes scopes, ownership, and dependency-ordered teardown
The core and Flutter adapter now provide a stable line for typed resolution, hierarchical scopes, async initialization, ownership, and teardown.
Resolution is only half of a DI contract
ark_di and ark_di_flutter reached 1.0.0. The stable line covers typed registrations, named keys, transient and lazy strategies, shared in-flight async initialization, hierarchical scopes, overrides, cycle detection, and dependency-ordered teardown. Flutter adds root and child scope hosting plus subscribing and non-subscribing BuildContext lookup.
The release treats ownership as part of dependency resolution rather than an afterthought. A ready instance can remain externally owned, while a scope can explicitly own another instance and its disposer. The optional service-locator adapter is isolated and opt-in; it does not turn the core container into global state.
Both packages are available on pub.dev, with source and examples in the public GitLab projects.