rx_shared_preferences 2.1.0 rx_shared_preferences: ^2.1.0 copied to clipboard
Rxdart streaming shared preferences. Reactive stream rxdart wrapper around SharedPreferences. A stream based wrapper over shared_preferences, allowing reactive key-value storage.
2.1.0 - May 9, 2021 #
- Update
rxdart
to0.27.0
.
2.0.0 - Apr 30, 2021 #
-
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.0 - Feb 24, 2021 #
- Breaking
- Opt into nullsafety.
- Set Dart SDK constraints to
>=2.12.0-0 <3.0.0
. - Using shared_preferences: ^2.0.0.
- Refactor
Logger
and implementation based on rx_storage: ^1.0.0-nullsafety.0 package.
1.3.5 - Jan 4, 2021 #
- Refactor based on rx_storage: ^0.0.2 package.
- The public API stays the same.
1.3.4 - Dec 18, 2020 #
- Now, the internal implementation based on rx_storage package.
- The public API stays the same.
1.3.3 - Oct 10, 2020 #
- Fix: missing export
RxSharedPreferencesConfigs
.
1.3.2 - Oct 10, 2020 #
-
Add extension:
RxSharedPreferences get rx
forSharedPreferences
. 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.1 - May 29, 2020 #
- Update docs.
1.3.0 - May 28, 2020 #
- Breaking change: returned stream is a single-subscription stream.
- Internal implementation refactor.
1.2.0 - Apr 20, 2020 #
- Breaking change: support for
rxdart
0.24.x. - Now, returned stream is broadcast stream.
- Reset default singleton instance after disposing it.
- Internal implementation refactor.
1.1.1+1 - Jan 29, 2020 #
- Update
description
inpubspec.yaml
.
1.1.1 - Jan 29, 2020 #
- Add
getKeysStream
method toIRxSharedPreferences
. - Add constructor
RxSharedPreferences.getInstance()
that returns default singletonRxSharedPreferences
instance. - Internal implementation refactor & fix default logger.
1.1.0 - Dec 18, 2019 #
- Update dependencies.
- Now
IRxSharedPreferences
's methods returnStream
instead ofObservable
.
1.0.3+2 - Oct 7, 2019 #
- Update dependencies.
1.0.3+1 - Aug 9, 2019 #
- Update README.md.
1.0.3 - Aug 9, 2019 #
- Publish new name package (previous name is rx_shared_preference).