Releases: rt2zz/redux-persist
Releases · rt2zz/redux-persist
v6.0.0
- BREAKING: no longer automatically use AsyncStorage from react-native, instead supply your storage of choice explicitly. In most cases this will be https://github.com/react-native-community/async-storage
- upgrade all deps b9547b6
- improved typescript definitions
v6.0.0-pre2.0
- Add an option to delay the automatic persistence. (#986) 7bbf971
- Update createPersistoid.js (#803) 5a5f463
- Add expire redux-persist-expire transformer (#901) 4e40283
- add link to redux-persist-pouchdb (#1055) 6f4a81e
- fix(persistReducer): Ensure nested reducers can handle
PERSIST
too. Fixes #940 (#1048) 5ad36b8
v6.0.0 Preview
The breaking change is that we no longer allow react-native users to import out of redux-persist/lib/storage
. Instead use import AsyncStorage from '@react-native-community/async-storage'
Changelog to come
v5.7.0
v5.6.x
This release includes a number of improvements. Notably:
- transforms now have access to a third argument of the "full state"
- persisted state now updates immediately after rehydration rather than waiting for a subsequent action to persist
- persisted reducers now passthrough if the base reducer does not modify state (performance fix)
- fix hardSet issue when inbound state is undefined (state is now only reconciled if inbound state is defined)
Changelog
- (persistReducer): only reconciler defined state (#698)
- (general): bump deps, cleanup, prettierrc (#694) 0cab4f0
- (createTransform) Give transformers access to the full state (i.e., across all available keys) (#682) 0db73d3
- (types): flow fixes (#692) de1dbcf
- (test): use memory storage in tests (#691) 58e14d6
- (docs): Update README with redux-persist-expo-securestore (#678) b357b7f
- (persistReducer): return unmodified state if possible (#689) 96525fb
- (persistReducer): update persistoid on rehydrate (#688) f89d60b
- (docs): Update v4 link (#684) 21cbb5e
- (test) switch to storage-memory module (#683) f1ef085
- (docs): fix typo (#665) 2cb1a15
- (docs) update stateReconciler import (#666) 26109c0
v5.4.0
Changes
- Added
serialize
to persistConfig. If false redux-persist will not apply JSON.parse / JSON.stringify during storage & rehydration
v4.6.0
v4.0.0
Breaking Changes
- 25f2f0648ba34c85283d2e5051232c83f996d056]liftReducer with autorehydrate (fix bug with hmr, non-hmr users should be unaffected)
- 5aef897 remove
purgeAll()
, purge all now default behavior ofpurge()
- 1786899 config.serialize is now a boolean option instead of a function. custom serialize function can still be achieved via transform.
New features
- 8a65894 umd & es builds! @marvinhagemeister
- 3e1b0d4 better localForage support! @willmcclellan
- 89ee329 more comprehensive localStorage checks! @IanVS
- 349a0b0 typescript defs! @morlay
- e9503e3 flowtype defs! @gnoff