initialization_manager 0.1.0-dev.1
initialization_manager: ^0.1.0-dev.1 copied to clipboard
Pure Dart initialization engine with ordered steps, named gates for deferred post-auth work, severity-based retries, cooperative cancellation, and immutable snapshot streaming.
Changelog #
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project follows Semantic Versioning.
0.1.0-dev.1 - 2026-04-12 #
Added #
- Pure Dart initialization engine with ordered, dependency-aware step execution.
- Named
InitializationGatesystem for deferred work across multiple phases. - Built-in
InitializationGate.authenticatedconvenience gate for post-login flows. InitializationStep.afterGateandInitializationStep.afterAuthenticationfactory constructors.- Per-step
shouldRunpredicates for conditional execution. - Per-step or plan-level timeout enforcement with
TimeoutExceptionintegration. - Severity-based failure handling:
skippable,retryable,fatal. - Cooperative cancellation with
InitializationCancellationToken. - Append-only
InitializationRecordexecution journal with per-attempt tracking. - Immutable
InitializationSnapshotstreaming with per-step state and gate visibility. InitializationSummaryandInitializationCompletionStatusfor compact outcome reporting.InitializationStepContextwith typed gate access, cancellation, and live snapshot reads.- Comprehensive public API documentation following behavior-first Dartdoc style.
- Flutter example app with Riverpod 3 and BLoC/Cubit adapters.
- Unit tests covering auth flows, retries, cancellation, gates, dependencies, and lifecycle.