Releases

Ark Data Layer releases

Current package versions, compatibility, and release intent.

v1.2.1Beginner

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

This release adds two optional inspection points. DataSourceContainer.inspect<Contract>() lets a composition root check whether a requested source is missing, unique, or ambiguous before a Repository starts work. It returns type metadata, not source instances. A RepositoryCommitObserver can record the Repository type, data type, and revision after a successful mutation without receiving business data. Neither feature changes source lookup or stream publication.

dart
final resolution = dataSources.inspect<UserRemoteDataSource>();
if (resolution.isMissing || resolution.isAmbiguous) {
  throw StateError('Configure one UserRemoteDataSource');
}

Use inspection for startup diagnostics, not as a substitute for handling a later lookup failure. The commit observer is a fast, best-effort callback, not a durable change log.

1.1.0

This additive release introduces the installable ark-data-layer-repository-implementation skill for Repository and DataSource design, business-data normalization, source ownership, observation, and lifecycle.

Use ark_data_layer: ^1.2.1 for the current stable API line.

1.0.0

The first stable release establishes typed DataSource contracts, strict source resolution, current Repository data, replay-latest observation, protected mutation, and explicit closing. Repository shutdown now waits for active listener notifications, including reentrant close requests.

Additive capabilities planned for later 1.x releases are tracked in the package roadmap.