Skip to content

Releases: arqex/freezer

Version 0.14.0

19 Feb 19:19
Compare
Choose a tag to compare
  • Adds a new flag singleParent that prevents the same node to be added twice into the the state tree. Thanks to @nathanial.

Version 0.12.2

29 May 15:37
Compare
Choose a tag to compare
  • Fixes duplicated detached warnings in non detached nodes.

Version 0.12.1

18 May 16:01
Compare
Choose a tag to compare
  • Revocers trigger method deleted by error

Version 0.12.0

13 May 14:56
Compare
Choose a tag to compare
  • Adds a warning mechanism to detect errors quickly.
  • Adds warning for setting non numeric attributes for arrays.
  • Adds warning for updating detached nodes.
  • Adds method sort for array.
  • trigger method for events has been renamed to emit, added a deprecation warning for trigger method.
  • Updates to the docs. Thanks to @YPCrumble @ahmadnassri @dantman.
  • Fixes errors with strict Content Security Policy. Thanks to @greghuc.

Version 0.11.1

21 Apr 14:52
Compare
Choose a tag to compare
  • update event handlers now receive the previous state as second parameter

Version 0.11.0

03 Apr 10:47
Compare
Choose a tag to compare
  • Removes console.log calls.
  • breaking change Trigger an event now return the last callback return value that is not undefined.
  • breaking change Now class instances are handled like tree leaves by default. See freezeInstance option to keep working as v0.10.
  • Adds the freezeInstance options to handle class instances as freezer nodes.

Version 0.10.0

03 Mar 18:02
Compare
Choose a tag to compare
  • Fixes not returning the pivot on non-modifying updates. Thanks @oigewan
  • Adds getEventHub method.
  • Refactors event triggering on nodes. Now the freezer object shares the events with the root node.
  • The prototype of the objects are now preserved, so class instances can now be saved in a freezer store.

Version 0.9.6

18 Jan 17:49
Compare
Choose a tag to compare
  • Fixes bower.json importing the wrong file
  • Build the production version that wasn't built in v0.9.5

Version 0.9.5

18 Jan 17:18
Compare
Choose a tag to compare
  • Not working internally with dirty nodes anymore.
  • Fixed some nodes getting out of sync when having nested duplicate nodes.
  • Fixes orphan markDirty call.
  • Fixes setting null value. Thanks @kuraga
  • Improved readme. Thanks @ivantm

Version 0.9.3

27 Oct 16:11
Compare
Choose a tag to compare
  • Fixed next-tick not working in react native.