Skip to content

v2.0.0

Compare
Choose a tag to compare
@Yomguithereal Yomguithereal released this 28 Sep 14:16
· 193 commits to master since this release
  • The tree is now immutable by default.
  • Cursor's setters method won't return themselves but rather the affected node now.
  • Adding cursor.concat.
  • Adding cursor.deepMerge.
  • Adding cursor.serialize.
  • Adding cursor.project.
  • Adding cursor.exists.
  • Adding tree.watch.
  • Adding the pure option.
  • Changing the way you can define computed data in the tree, aka "facets". Facets are now to be defined within the tree itself, are called "monkeys", and can be accessed using the exact same API as normal data.
  • Adding an alternative dynamic node definition syntax for convenience.
  • Dropped the syncwrite option. The tree is now writing synchronously but still emits its updates asynchronously by default.
  • Max number of records is now set to Infinity by default, meaning there is no limit.
  • Update events are now exposing the detail of each transaction so you can replay them elsewhere.
  • Fixing cursor.push/unshift behavior.
  • Dropped the $cursor helper.
  • Dropped the update specs for a simpler transaction syntax.
  • Updated emmett to 3.1.1.
  • ES6 codebase rewrite.
  • Full code self documentation.