Skip to content

Releases: leoasis/redux-immutable-state-invariant

v2.1.0

29 Sep 20:51
Compare
Choose a tag to compare
  • Avoid stringifying action when a mutation was not detected. (#30 thanks @jackielii 🎉 )

v2.0.0

07 Mar 21:43
Compare
Choose a tag to compare
  • 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.4

03 Oct 14:00
Compare
Choose a tag to compare

v1.2.3

17 Apr 21:07
Compare
Choose a tag to compare
  • Updated documentation urls in mutation warnings and readme (#14)

v1.2.2

18 Mar 22:29
Compare
Choose a tag to compare
  • Iterate over own properties in the object when detecting mutations

v1.2.1

16 Mar 23:29
Compare
Choose a tag to compare
  • Remove .babelrc from npm package (#11)
  • Change for..of by for..in, since we didn't actually need iterators (#12)

v1.2.0

12 Nov 21:51
Compare
Choose a tag to compare

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

05 Oct 11:46
Compare
Choose a tag to compare

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

04 Sep 12:44
Compare
Choose a tag to compare

Changes:

  • Show the path to the mutated piece of state

Fixes:

  • Correctly handle mutation detection when undefined and null initial are previous states

v1.0.3

03 Sep 08:10
Compare
Choose a tag to compare

Initial working release