Releases
Ark DI releases
Current core and Flutter package versions, compatibility, and release intent.
| Package | Version | Relationship |
|---|---|---|
ark_di | 1.2.1 | pure-Dart core |
ark_di_flutter | 1.1.1 | depends on ark_di ^1.2.1 |
1.2.1 — SDK and documentation
The October 26, 2026 patch updates English/Russian instructions, links, SDK security guidance, and aligned package dependencies. Public API and behavior are unchanged. Use Dart 3.13.7+ or Flutter 3.47.8+ for builds; applications affected by the eMudhra incident must be rebuilt and redistributed.
SDK compatibility validation is not a new benchmark run and makes no new performance claim.
1.2.0
The core now exposes detached, read-only registration snapshots. From a feature scope, describe<T>() shows which registration would win without constructing the dependency. visibleRegistrations lists effective registrations after local overrides. Snapshots report ownership, initialization state, and only same-scope dependency edges actually observed during successful resolution; they cannot predict a factory branch that has never run.
final registration = featureScope.describe<UserRepository>();
if (registration != null) {
print(registration.kind);
print(registration.ownerDepth); // 0 is local, 1 is the parent scope.
}
Use this to diagnose a surprising override or initialization order. It does not expose instances or invoke factories. ark_di_flutter remains at 1.1.0; its ^1.1.0 core constraint accepts 1.2.0 under Dart semver.
1.1.0
The core package adds ark-di-container-configuration for registration lifetimes, ownership, hierarchy, async resolution, overrides, and teardown. The Flutter package adds ark-di-flutter-scopes for root and feature scopes, typed BuildContext access, close failures, and the opt-in locator adapter.
1.0.0
The first stable release established immutable configuration, hierarchical resolution, explicit ownership, deterministic async initialization, ordered teardown, and Flutter Scope integration.
Use ark_di: ^1.2.1 for pure Dart. Flutter applications can add ark_di_flutter: ^1.1.1; its compatible core dependency is resolved automatically. Review both changelogs when adopting later feature releases.