redux_persist 0.7.0 redux_persist: ^0.7.0 copied to clipboard
Persist Redux State
0.7.0-rc.2
- 2018-04-09 #
- Fix middleware typing.
0.7.0-rc.1
- 2018-03-31 #
- Breaking: Dart 2.
- Breaking: Upgraded
redux
to v3.0.0. - Breaking: Changed loading flow:
persistor.start
has been deprecated (will be removed in next major version). Usepersistor.load
- Loading dispatched
PersistLoadAction
, thenPersistLoadedAction
once completed.
- Breaking: Changed action names:
LoadAction
:PersistLoadingAction
LoadedAction
:PersistLoadedAction
PersistorErrorAction
:PersistErrorAction
- Added saving actions (
PersistSavingAction
andPersistSavedAction
) - Added
MemoryStorage
. - Added
loadFromStorage
andsaveToStorage
for more manual control. - Refactor, new tests.
0.6.0
- 2018-03-18 #
- Breaking: Change saved state format. This will break your saved state, will only happen once.
- Added migrations and version key.
- Fix JSON deprecation warning.
- Added tests.
- Added exceptions.
- Added
FileStorage
.
0.5.2
- 2018-03-14 #
- Fix library export.
0.5.1
- 2018-03-13 #
- Made
persistor.start
return aFuture
. - Add type to
persistor.loadStream
.
0.5.0
- 2018-03-12 #
- Breaking: Change
persistor.load(store)
topersistor.start(store)
for initial loading. - Breaking: Change
LoadAction<T>
toLoadedAction<T>
. - Add
LoadAction
(action dispatch to start loading). - Add
PersistorErrorAction
(action dispatched on save/load error). - Add
debug
persistor option, doesn't do anything yet.
0.4.0
- 2018-03-10 #
- Breaking: Decouple Flutter and Web into different packages.
0.3.0
- 2018-03-10 #
- Add state and raw transformers.
- Added better error handling (
persistor.errorStream
)
0.2.0
- 2018-03-10 #
- Move Flutter-specific code to separate, unexported file. It is likely this will become it's own package.
- Add
SaveLocation
for Flutter storage engine. - Add
SharedPreference
sub-engine for Flutter storage engine (make default). - Fix
PersistorGate
passing variables to state and initialization. - Add more docs.
0.1.0
- 2018-03-09 #
- Create generic
StorageEngine
. - Create
FlutterStorage
.
0.0.3
- 2018-03-09 #
- Added documentation.
0.0.2
- 2018-03-09 #
- Added
PersistorGate
.
0.0.1
- 2018-03-09 #
- Initial release.