Skip to content

Releases: endograph/redux-persist

v6.0.0

Choose a tag to compare

@rt2zz rt2zz released this 02 Sep 00:41

v6.0.0-pre2.0

v6.0.0-pre2.0 Pre-release
Pre-release

Choose a tag to compare

@rt2zz rt2zz released this 05 Jul 16:10
  • 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-pre2...v6.0.0-pre2.0

v6.0.0 Preview

v6.0.0 Preview Pre-release
Pre-release

Choose a tag to compare

@rt2zz rt2zz released this 07 May 21:16

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

Choose a tag to compare

@rt2zz rt2zz released this 10 Feb 08:50

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.x

Choose a tag to compare

@rt2zz rt2zz released this 01 Feb 08:08

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

Choose a tag to compare

@rt2zz rt2zz released this 19 Nov 22:08

Changes

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

v4.6.0

Choose a tag to compare

@rt2zz rt2zz released this 02 Apr 19:15
  • 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

Choose a tag to compare

@rt2zz rt2zz released this 20 Jan 08:17

Breaking Changes

  • 25f2f0648ba34c85283d2e5051232c83f996d056]liftReducer with autorehydrate (fix bug with hmr, non-hmr users should be unaffected)
  • 5aef897 remove purgeAll(), purge all now default behavior of purge()
  • 1786899 config.serialize is now a boolean option instead of a function. custom serialize function can still be achieved via transform.

New features

v3.0.0

Choose a tag to compare

@rt2zz rt2zz released this 05 May 06:15
b7bc43d
New Features:
- createTransform method
- getStoredState returns a promise
- createPersistor method
- localForage support
- migrations via redux-persist-migrate

Breaking Changes:
- autoRehydrate no longer implement action buffer

Legacy

Choose a tag to compare

@rt2zz rt2zz released this 12 Feb 23:44

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

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