ark_data_layer 1.0.0
ark_data_layer: ^1.0.0 copied to clipboard
Pure Dart foundations for repositories, data sources, and observable business data.
Changelog #
1.0.0 - 2026-08-17 #
- Established stable Repository, DataSource container, replay-latest stream, mutation, ownership, and close contracts.
- Made repository close reentrant-safe and ensured owned stream subscriptions can finish cancellation before teardown completes.
- Documented the additive post-1.0 roadmap.
0.1.0-dev.1 - 2026-08-10 #
- Added the
Repository<Data>base class with observable current business data, protected replacement and update operations, and idempotent closing. - Added replay-latest broadcast delivery with ordered asynchronous publications and independent subscription lifecycle.
- Added the
DataSourcemarker contract and immutableDataSourceContainerwith strict missing and ambiguous resolution errors. - Kept DataSource construction, ownership, and finalization outside the repository container so composition scopes can manage shared resources.
- Added deterministic coverage for resolution, publication, reentrancy, subscription control, cleanup, and closed-state invariants.