rx_shared_preferences
Rxdart streaming shared preferences. Reactive stream rxdart wrapper around SharedPreferences. A stream based wrapper over shared_preferences, allowing reactive key-value storage.
4.0.0
8.3K downloads/mo
#3169 most downloaded on pub.dev
hoc081098/rx_shared_preferences
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 1.4 years
Nearly every release is documented
notes for 20 of 20 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
22 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
22 releases · Aug 2019 to Jul 2024Releases
latest 22-
4.0.020 Jul 2024Release notes
Open source →https://pub.dev/packages/rx_shared_preferences/versions/4.0.0
- Update dependencies:
shared_preferencesto^2.1.2.rx_storageto^3.0.0(supportsrxdart: ^0.28.0andrxdart_ext: ^0.3.0).
- Change
Flutterconstraint to'>=3.3.0'. - Change
Dart SDKconstraint to'>=2.18.0 <4.0.0'.
What's Changed
- chore(deps): update subosito/flutter-action action to v2.12.0 by @renovate in #63
- chore(deps): update actions/upload-artifact action to v4 by @renovate in #69
- chore(deps): update actions/setup-java action to v4 by @renovate in #68
- fix(deps): update dependency rxdart_ext to ^0.3.0 by @renovate in #73
Full Changelog: 3.1.0...4.0.0
Release notes
Open source →- Update dependencies:
shared_preferencesto^2.1.2.rx_storageto^3.0.0(supportsrxdart: ^0.28.0andrxdart_ext: ^0.3.0).
- Change
Flutterconstraint to'>=3.3.0'. - Change
Dart SDKconstraint to'>=2.18.0 <4.0.0'.
- Update dependencies:
-
3.1.015 Oct 2023Release notes
Open source →https://pub.dev/packages/rx_shared_preferences/versions/3.1.0
-
Update dependencies
shared_preferencesto^2.0.18.rx_storageto^2.1.0
-
Change
Flutterconstraint to'>=3.0.0'. -
Change
Dart SDKconstraint to'>=2.17.0 <4.0.0'. -
Deprecate all
executeUpdate...extension methods, useupdate...s instead.
What's Changed
- chore(deps): update subosito/flutter-action action to v2.6.1 by @renovate in #50
- chore: add funding by @hoc081098 in #53
- chore(deps): update codecov/codecov-action action to v3.1.1 by @renovate in #52
- chore(deps): update subosito/flutter-action action to v2.8.0 by @renovate in #51
- chore(deps): update codecov/codecov-action action to v3.1.2 by @renovate in #57
- Update build-example.yml by @hoc081098 in #60
- chore(deps): update subosito/flutter-action action to v2.10.0 by @renovate in #56
- chore(deps): update actions/checkout action to v4 by @renovate in #62
- 3.1.0 by @hoc081098 in #64
Full Changelog: 3.0.0...3.1.0
Release notes
Open source →-
Update dependencies
shared_preferencesto^2.0.18.rx_storageto^2.1.0
-
Change
Flutterconstraint to'>=3.0.0'. -
Change
Dart SDKconstraint to'>=2.17.0 <4.0.0'. -
Deprecate all
executeUpdate...extension methods, useupdate...s instead.
-
-
3.0.003 Jun 2022Release notes
Open source →https://pub.dev/packages/rx_shared_preferences/versions/3.0.0
-
Update dependencies
shared_preferencesto2.0.15rx_storageto2.0.0rxdartto0.27.4rxdart_extto0.2.2
-
Update
Flutterconstraint to'>=2.8.0'.
What's Changed
- Update subosito/flutter-action action to v2 by @renovate in #37
- Update subosito/flutter-action action to v2.2.1 by @renovate in #38
- Update subosito/flutter-action action to v2.3.0 by @renovate in #39
- Upgrade dependencies by @hoc081098 in #41
- Update actions/setup-java action to v3 by @renovate in #42
- chore(deps): update actions/checkout action to v3 by @renovate in #43
- chore(deps): update actions/upload-artifact action to v3 by @renovate in #44
- chore(deps): update codecov/codecov-action action to v3 by @renovate in #46
- chore(deps): update subosito/flutter-action action to v2.4.0 by @renovate in #47
- chore: prepare for 3.0.0 by @hoc081098 in #48
- fix:
SharedPreferencesAdapter~ type 'List<Object?>' is not a subtype of type 'FutureOr<List?>' in type cast by @hoc081098 in #49
Full Changelog: 2.3.0...3.0.0
Release notes
Open source →-
Update dependencies
shared_preferencesto2.0.15rx_storageto2.0.0rxdartto0.27.4rxdart_extto0.2.2
-
Update
Flutterconstraint to'>=2.8.0'.
-
-
2.3.009 Dec 2021Release notes
Open source →https://pub.dev/packages/rx_shared_preferences/versions/2.3.0
- Change Dart SDK constraint to
'>=2.14.0 <3.0.0'and Flutter constraint to'>=2.5.0'. - Update
shared_preferencesto2.0.10 - Fix Flutter 2.8.0 analyzer.
What's Changed
Full Changelog: 2.2.0...2.3.0
Release notes
Open source →- Change Dart SDK constraint to
'>=2.14.0 <3.0.0'and Flutter constraint to'>=2.5.0'. - Update
shared_preferencesto2.0.10 - Fix Flutter 2.8.0 analyzer.
- Change Dart SDK constraint to
-
2.3.0-dev.013 Sep 2021 pre-releaseNothing published for this version
-
2.2.012 Sep 2021Release notes
Open source →https://pub.dev/packages/rx_shared_preferences/versions/2.2.0
-
Update dependencies
shared_preferencesto2.0.7rx_storageto1.2.0metato1.7.0rxdartto0.27.2rxdart_extto0.1.2
-
Internal: migrated from
pedantictolints.
Release notes
Open source →-
Update dependencies
shared_preferencesto2.0.7rx_storageto1.2.0metato1.7.0rxdartto0.27.2rxdart_extto0.1.2
-
Internal: migrated from
pedantictolints.
-
-
2.1.009 May 2021Release notes
Open source →https://pub.dev/packages/rx_shared_preferences/versions/2.1.0
- Update
rxdartto0.27.0.
- Update
-
2.0.030 Apr 2021Release notes
Open source →https://pub.dev/packages/rx_shared_preferences/versions/2.0.0
-
Stable release for null safety.
-
Refactor based on rx_storage: 1.0.0 package:
- Stable release for null safety.
- Add RxStorage.executeUpdate: Read–modify–write style.
- Synchronize writing task by key.
- Internal refactoring, optimize performance.
-
Add more extensions:
getObject: reads a value of any type from persistent storage.getObjectStream: observe a Stream of any type from persistent storage.executeUpdateBool: based on RxStorage.executeUpdate.executeUpdateDouble: based on RxStorage.executeUpdate.executeUpdateInt: based on RxStorage.executeUpdate.executeUpdateString: based on RxStorage.executeUpdate.executeUpdateStringList: based on RxStorage.executeUpdate.
-
Update docs.
Release notes
Open source →-
Stable release for null safety.
-
Refactor based on rx_storage: 1.0.0 package:
- Stable release for null safety.
- Add RxStorage.executeUpdate: Read–modify–write style.
- Synchronize writing task by key.
- Internal refactoring, optimize performance.
-
Add more extensions:
getObject: reads a value of any type from persistent storage.getObjectStream: observe a Stream of any type from persistent storage.executeUpdateBool: based on RxStorage.executeUpdate.executeUpdateDouble: based on RxStorage.executeUpdate.executeUpdateInt: based on RxStorage.executeUpdate.executeUpdateString: based on RxStorage.executeUpdate.executeUpdateStringList: based on RxStorage.executeUpdate.
-
Update docs.
-
-
2.0.0-nullsafety.024 Feb 2021 pre-releaseRelease notes
Open source →- Breaking
- Opt into nullsafety.
- Set Dart SDK constraints to
>=2.12.0-0 <3.0.0. - Using shared_preferences: ^2.0.0.
- Refactor
Loggerand implementation based on rx_storage: ^1.0.0-nullsafety.0 package.
Release notes
Open source →- Breaking
- Opt into nullsafety.
- Set Dart SDK constraints to
>=2.12.0-0 <3.0.0. - Using shared_preferences: ^2.0.0.
- Refactor
Loggerand implementation based on rx_storage: ^1.0.0-nullsafety.0 package.
- Breaking
-
1.3.504 Jan 2021Release notes
Open source →- Refactor based on rx_storage: ^0.0.2 package.
- The public API stays the same.
Release notes
Open source →- Refactor based on rx_storage: ^0.0.2 package.
- The public API stays the same.
-
1.3.418 Dec 2020Release notes
Open source →- Now, the internal implementation based on rx_storage package.
- The public API stays the same.
Release notes
Open source →- Now, the internal implementation based on rx_storage package.
- The public API stays the same.
-
1.3.310 Oct 2020 -
1.3.210 Oct 2020Release notes
Open source →-
Add extension:
RxSharedPreferences get rxforSharedPreferences. This allows writing concise code like this:sharedPreferences.rx.getStringStream('key'). -
Allows changing logger for default singleton instance or extension:
RxSharedPreferencesConfigs.logger = ...; -
Internal implementation refactor.
-
-
1.3.128 May 2020 -
1.3.028 May 2020Release notes
Open source →- Breaking change: returned stream is a single-subscription stream.
- Internal implementation refactor.
-
1.2.022 Apr 2020Release notes
Open source →- Breaking change: support for
rxdart0.24.x. - Now, returned stream is broadcast stream.
- Reset default singleton instance after disposing it.
- Internal implementation refactor.
- Breaking change: support for
-
1.1.129 Jan 2020Release notes
Open source →- Add
getKeysStreammethod toIRxSharedPreferences. - Add constructor
RxSharedPreferences.getInstance()that returns default singletonRxSharedPreferencesinstance. - Internal implementation refactor & fix default logger.
- Add
-
1.1.1+129 Jan 2020 -
1.1.018 Dec 2019Release notes
Open source →- Update dependencies.
- Now
IRxSharedPreferences's methods returnStreaminstead ofObservable.
-
1.0.309 Aug 2019 -
1.0.3+109 Aug 2019 -
1.0.3+207 Oct 2019