bloc_signals_hydrate 0.9.0
bloc_signals_hydrate: ^0.9.0 copied to clipboard
State persistence and hydration adapters for BlocSignal state containers.
0.9.0 #
- Staging release candidate for the 1.0.0 production milestone.
- Add storage exception recovery test suite for corrupted payload recovery in
HydratedCubitSignal. - Update
bloc_signalsdependency constraint to^0.9.0.
0.2.1 #
- Add assertion-backed
MemoryHydratedStoragefallback toHydratedStorage.storagein testing and debug mode, printing a clear diagnostic warning when accessed prior to explicit initialization. - Add
HydratedStorage.isInitializedgetter andHydratedStorage.reset()helper. - Preserve 100% production tree-shaking for release builds by enclosing fallback inside an assertion block.
0.1.7 #
- Add assertion-backed
MemoryHydratedStoragefallback toHydratedStorage.storagein testing and debug mode, printing a clear diagnostic warning when accessed prior to explicit initialization. - Add
HydratedStorage.isInitializedgetter andHydratedStorage.reset()helper. - Preserve 100% production tree-shaking for release builds by enclosing fallback inside an assertion block.
0.1.6 #
- Add built-in
SharedPreferencesHydratedStorageadapter available viaimport 'package:bloc_signals_hydrate/shared_preferences.dart';. - Add built-in
SecureHydratedStorageadapter (FlutterSecureStorage/ Keychain / KeyStore / Web Crypto) with async pre-loading (SecureHydratedStorage.build) for zero-flicker synchronous frame 1 state hydration available viaimport 'package:bloc_signals_hydrate/secure_storage.dart';. - Maintain 100% pure Dart package compatibility with zero Flutter SDK dependencies in core
pubspec.yaml.
0.2.0 #
- Add built-in
SharedPreferencesHydratedStorageadapter available viaimport 'package:bloc_signals_hydrate/shared_preferences.dart';. - Add built-in
SecureHydratedStorageadapter (FlutterSecureStorage/ Keychain / KeyStore / Web Crypto) with async pre-loading (SecureHydratedStorage.build) for zero-flicker synchronous frame 1 state hydration available viaimport 'package:bloc_signals_hydrate/secure_storage.dart';. - Maintain 100% pure Dart package compatibility with zero Flutter SDK dependencies in core
pubspec.yaml.
0.1.5 #
- Provide default
fromJsonandtoJsonimplementations inHydratedMixinso primitive state containers (int,double,String,bool,Map) require zero method overrides. - Add smart collection type-casting to
HydratedMixin.fromJsonto automatically cast rawjsonDecodeoutputs (List<dynamic>,Map<dynamic, dynamic>) to typed collections (List<T>,Map<K, V>) without requiring manualfromJsonoverrides. - Add runnable
@examplecode blocks acrossHydratedStorage,MemoryHydratedStorage,HydratedMixin,HydratedCubitSignal, andHydratedBlocSignal. - Update
bloc_signalsdependency to^0.2.8.
0.1.3 #
- Add
HydratedCubitSignalvsPersistentSignal(signals.dart) architectural comparison guide and interop documentation to README.
0.1.2 #
- Add comprehensive ecosystem package cross-linking table and motto to README.
- Add quick inlined hydration code examples.
- Update
bloc_signalsdependency to^0.2.6.
0.1.1 #
- Added explicit constructor documentation comments for
HydratedStorageandMemoryHydratedStorage. - Added standalone executable
example/example.dartdemonstrating persistence workflows. - Achieved 160/160 pub points on pub.dev.
0.1.0 #
- Initial release of
bloc_signals_hydrate. - Added
HydratedStorageinterface and zero-dependencyMemoryHydratedStorage. - Added
HydratedMixin,HydratedCubitSignal, andHydratedBlocSignal. - Supported
dynamic/Object?JSON serialization (int,String,List,Map,bool) without map wrapping. - Supported synchronous initial constructor hydration.
- Added
clear()method for key deletion and state resets.