bdaya_shared_value 4.0.0
bdaya_shared_value: ^4.0.0 copied to clipboard
A straightforward way to manage global state in flutter apps.
4.0.0 - 2026-05-30 #
⚠ BREAKING CHANGES #
- Minimum Dart SDK raised to >=3.8.0 (Dart 3 required).
- Minimum Flutter SDK raised to >=3.32.0.
- Upgraded rxdart to >=0.28.0 <2.0.0 (unblocks package:oidc rxdart 0.28 upgrade).
- Upgraded shared_preferences to ^2.5.0.
Features #
- Comprehensive test suite (24 tests) covering SharedValue API, streams, persistence, custom encode/decode, widgets, and InheritedModel.
- CI pipeline via GitHub Actions (stable + beta Flutter channels).
- Automated pub.dev publishing via trusted publishing (OIDC) with release-please.
- Static analysis with flutter_lints.
- Semantic PR title enforcement.
- Dependabot for pub + GitHub Actions dependency updates.
Miscellaneous #
- Apply dart format tall style for Dart 3.8+ compatibility (b15c30b)
3.1.3 03/11/2022 #
customEncodeandcustomDecodecan now handle null strings, indicating that the key does not exist in the storage
3.1.2 26/10/2022 #
- Fixed
streamWithInitialwith rxdart
3.1.1 26/10/2022 #
- Fixed
streamWithInitial
3.1.0 23/10/2022 #
- Add support for custom save/load logic
- Fixed memory leak due to
SharedValueinstances not being garbage collected because of the nonce mapMap<SharedValue, double> - Implemented
updateShouldNotifyinSharedValueInheritedModel