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.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
- Fix: Some typos
- Fix: Added
transform.envify
for a betterbrowserify
support
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-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
2.1.1
2.1.0
- 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 ajsnext:main
entry - rollup all the things!