- Change Dart SDK constraint to
'>=2.14.0 <3.0.0'
and Flutter constraint to'>=2.5.0'
. - Update
shared_preferences
to2.0.10
- Fix Flutter 2.8.0 analyzer.
-
Update dependencies
shared_preferences
to2.0.7
rx_storage
to1.2.0
meta
to1.7.0
rxdart
to0.27.2
rxdart_ext
to0.1.2
-
Internal: migrated from
pedantic
tolints
.
- Update
rxdart
to0.27.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.
- 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.
- Refactor based on rx_storage: ^0.0.2 package.
- The public API stays the same.
- Now, the internal implementation based on rx_storage package.
- The public API stays the same.
- Fix: missing export
RxSharedPreferencesConfigs
.
-
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.
- Update docs.
- Breaking change: returned stream is a single-subscription stream.
- Internal implementation refactor.
- Breaking change: support for
rxdart
0.24.x. - Now, returned stream is broadcast stream.
- Reset default singleton instance after disposing it.
- Internal implementation refactor.
- Update
description
inpubspec.yaml
.
- Add
getKeysStream
method toIRxSharedPreferences
. - Add constructor
RxSharedPreferences.getInstance()
that returns default singletonRxSharedPreferences
instance. - Internal implementation refactor & fix default logger.
- Update dependencies.
- Now
IRxSharedPreferences
's methods returnStream
instead ofObservable
.
- Update dependencies.
- Update README.md.
- Publish new name package (previous name is rx_shared_preference).