Releases: michaelcontento/redux-storage
4.1.1
4.1.0
4.0.1
- FIX: Add missing babel-preset
4.0.0
NEW FEATURE
- Flexible state merger functions (issue #93 / PR #104)
- simple: merge plain old JS structures (default)
- immutablejs: merge plain old JS and ImmutableJS
objects
- If
NODE_ENV != 'production', the save action issued by redux-storage contains ameta.originwith 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-immutablejsimport immutableJsMerger from 'redux-storage-merger-immutablejs';
const reducer = storage.reducer(combineReducers(reducers), immutableJsMerger);3.0.1
- Fix: Some typos
- Fix: Added
transform.envifyfor a betterbrowserifysupport
3.0.0
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-filterdecorator.debounce=>npm install --save redux-storage-decorator-debouncedecorator.immutablejs=>npm install --save redux-storage-decorator-immutablejsdecorator.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-reactnativeasyncstorageredux-storage/engine/localStorage=>npm install --save redux-storage-engine-localstorageredux-storage/engine/localStorageFakePromise=>npm install --save redux-storage-engine-localstoragefakepromise
2.2.0
2.1.1
2.1.0
- A warm welcome to
decorators.migratethanks to @mathieudutour (PR #87) - NPM bundles now contain the raw unprocessed ES6 source
- Our
package.jsonnow has ajsnext:mainentry - rollup all the things!