Redux Persist Versions Save

persist and rehydrate a redux store

v6.0.0

4 years ago

v6.0.0-pre2.0

4 years ago
  • 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

https://github.com/rt2zz/redux-persist/compare/v6.0.0-pre2...v6.0.0-pre2.0

v6.0.0-pre1

4 years ago

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

6 years ago

This release adds a timeout config. This will hopefully ease some of the pain on react native android caused by occasional AsyncStorage unresolved promises.

Changelog

  • add timeout config to persistReducer config, default to 5000 ms

v5.6.5

6 years ago

This release includes a number of improvements. Notably:

  1. transforms now have access to a third argument of the "full state"
  2. persisted state now updates immediately after rehydration rather than waiting for a subsequent action to persist
  3. persisted reducers now passthrough if the base reducer does not modify state (performance fix)
  4. 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

6 years ago

Changes

  • Added serialize to persistConfig. If false redux-persist will not apply JSON.parse / JSON.stringify during storage & rehydration

v4.6.0

7 years ago
  • simplify process.env.NODE_ENV access
    • now does not trigger webpack polyfill
    • now works with standard envify solutions
  • remove process.nextTick in favor of setImmediate

v4.0.0

7 years ago

Breaking Changes

New features

v3.0.0

7 years ago

v1.5.3

8 years ago

This is the (hopefully) last release of redux-persist@1.*

There will be breaking changes going into future 2.0 development on master.