Releases: arqex/freezer
Releases · arqex/freezer
Version 0.14.0
- 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
- Fixes duplicated detached warnings in non detached nodes.
Version 0.12.1
- Revocers
trigger
method deleted by error
Version 0.12.0
- 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 toemit
, added a deprecation warning fortrigger
method.- Updates to the docs. Thanks to @YPCrumble @ahmadnassri @dantman.
- Fixes errors with strict Content Security Policy. Thanks to @greghuc.
Version 0.11.1
update
event handlers now receive the previous state as second parameter
Version 0.11.0
- 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
- 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
- Fixes bower.json importing the wrong file
- Build the production version that wasn't built in v0.9.5
Version 0.9.5
Version 0.9.3
- Fixed next-tick not working in react native.