Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Releases: michaelcontento/redux-storage

4.1.1

13 Aug 11:47
Compare
Choose a tag to compare

FIX: Ship proper sources for jsnext:main (see issue #152)

4.1.0

04 Aug 20:01
Compare
Choose a tag to compare
  • NEW FEATURE: The whitelist now can be a function (see PR #148)
  • FIX: Updated all dependencies to current versions

4.0.1

04 Aug 20:00
Compare
Choose a tag to compare
  • FIX: Add missing babel-preset

4.0.0

02 Mar 08:22
Compare
Choose a tag to compare

NEW FEATURE

  • Flexible state merger functions (issue #93 / PR #104)
  • If NODE_ENV != 'production', the save action issued by redux-storage contains a meta.origin with the action that trigged this save request. This is a pretty useful feature, if you want to track the origins of the save requests (issue #100 / PR #102)

BREAKING CHANGES

As we now support flexible state merger functions, ImmutableJS has completely been removed from this project! So if you're using redux-storage with ImmutableJS, you have to pass redux-storage-merger-immutablejs as second argument to storage.reducer!

Old

const reducer = storage.reducer(combineReducers(reducers));

New

$ npm install --save redux-storage-merger-immutablejs
import immutableJsMerger from 'redux-storage-merger-immutablejs';

const reducer = storage.reducer(combineReducers(reducers), immutableJsMerger);

3.0.1

29 Feb 09:22
Compare
Choose a tag to compare
  • Fix: Some typos
  • Fix: Added transform.envify for a better browserify support

3.0.0

10 Feb 13:16
Compare
Choose a tag to compare

Whoop! 🎉 We've got time for issue #88 (PR #91) and redux-storage is now only the "management core" and all decorators and engines are distributed as own project/package on npm!

Benefits of this transition range from less code you need to download and a more explicit dependency management to a more manageable codebase (multiple small projects instead of one big) and a more open plugin/extension culture. So go ahead and build more awesome decorators/engines! Just tag them properly and both engines and decorators can easily be browsed on npm 😎

BREAKING CHANGES

  • All decorators have been removed and are now available as own npm packages:
    • decorator.filter => npm install --save redux-storage-decorator-filter
    • decorator.debounce => npm install --save redux-storage-decorator-debounce
    • decorator.immutablejs => npm install --save redux-storage-decorator-immutablejs
    • decorator.migrate => npm install --save redux-storage-decorator-migrate
  • All engines have been removed and are now available as own npm packge:
    • redux-storage/engine/reactNativeAsyncStorage => npm install --save redux-storage-engine-reactnativeasyncstorage
    • redux-storage/engine/localStorage => npm install --save redux-storage-engine-localstorage
    • redux-storage/engine/localStorageFakePromise => npm install --save redux-storage-engine-localstoragefakepromise

2.2.0

09 Feb 12:28
Compare
Choose a tag to compare
  • decorators.filter now has a blacklist as optional second argument (PR #90)

2.1.1

09 Feb 10:02
Compare
Choose a tag to compare
  • Fix Redux warning about a mutated state caused by decorators.migrate (PR #89)

2.1.0

05 Feb 11:23
Compare
Choose a tag to compare
  • A warm welcome to decorators.migrate thanks to @mathieudutour (PR #87)
  • NPM bundles now contain the raw unprocessed ES6 source
  • Our package.json now has a jsnext:main entry - rollup all the things!

2.0.1

02 Feb 08:52
Compare
Choose a tag to compare
  • PR #85: Reject promise of decorators.debounce with a proper Error object