Releases: leoasis/redux-immutable-state-invariant
Releases · leoasis/redux-immutable-state-invariant
v2.1.0
- Avoid stringifying action when a mutation was not detected. (#30 thanks @jackielii 🎉 )
v2.0.0
- Now transpiled using Babel 6. If you are using CommonJS to
require
this library, you'll need to access the default
property of the returned object. If using import
, no change needed.
- Changed the argument received by the middleware factory to receive an
options
object. This object allows the previous argument isImmutable
and now a new property ignore
to allow to ignore certain slices of the state tree. (#25) Thanks a lot @darthrellimnad for your contribution!
v1.2.3
- Updated documentation urls in mutation warnings and readme (#14)
v1.2.2
- Iterate over own properties in the object when detecting mutations
v1.2.1
- Remove .babelrc from npm package (#11)
- Change
for..of
by for..in
, since we didn't actually need iterators (#12)
v1.2.0
Changes:
- Support for showing actions with circular refereces properties (#15 thanks @nkrigsman and @tikotzky)
- [Fix] Detect reference updates equal but not identical (#5)
v1.1.1
Fixes:
- Correctly detect mutations in prev state, even when returning a new state object (#4)
This involved a refactor of the internal wasMutated
function, but does not cause any breaking or non-breaking api change
v1.1.0
Changes:
- Show the path to the mutated piece of state
Fixes:
- Correctly handle mutation detection when undefined and null initial are previous states