Freezer Versions Save

A tree data structure that emits events on updates, even if the modification is triggered by one of the leaves, making it easier to think in a reactive way.

v0.14.0

6 years ago
  • Adds a new flag singleParent that prevents the same node to be added twice into the the state tree. Thanks to @nathanial.

v0.12.2

6 years ago
  • Fixes duplicated detached warnings in non detached nodes.

v0.12.1

7 years ago
  • Revocers trigger method deleted by error

v0.12.0

7 years ago
  • 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.

v0.11.1

8 years ago
  • update event handlers now receive the previous state as second parameter

v0.11.0

8 years ago
  • 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.

v0.10.0

8 years ago
  • 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.

v0.9.6

8 years ago
  • Fixes bower.json importing the wrong file
  • Build the production version that wasn't built in v0.9.5

v0.9.5

8 years ago
  • 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

v0.9.3

8 years ago
  • Fixed next-tick not working in react native.