Skip to content

Releases: Yomguithereal/baobab

v2.0.1

15 Oct 15:51
Compare
Choose a tag to compare
  • Fixing monkeys' laziness (@Zache).
  • Fixing issues related to the root cursor.
  • Fixing get event edge cases.

v2.0.0

28 Sep 14:16
Compare
Choose a tag to compare
  • 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.

v1.1.2

13 Jul 13:17
Compare
Choose a tag to compare
  • Fixing problems concerning dynamic cursors.
  • Fixing recursive facets (@tschwecke).

v1.1.1

16 Jun 12:28
Compare
Choose a tag to compare
  • Updating emmett to v3.0.1.
  • Adding missing setters methods to the tree.
  • Fixing cursor.root method.

v1.1.0

08 May 19:07
Compare
Choose a tag to compare
  • Adding an immutable option to the tree.
  • Adding a syncwrite option to the tree.
  • Adding a get and select event to the tree.
  • Facets getters are now applied within the tree's scope.
  • update events are now exposing the related data for convenience.
  • Fixing a $cursor related bug.
  • Fixing type.Primitive.
  • Fixing facet.release issues.

v1.0.3

04 May 09:00
Compare
Choose a tag to compare
  • Exposing Cursor and Facet classes for type checking (@charlieschwabacher).
  • Fixing type.Object.
  • Fixing root updates.

v1.0.2

26 Apr 13:52
Compare
Choose a tag to compare
  • Fixing facets related issues (internal).
  • Fixing cases where falsy paths in cursors setters would fail the update.
  • Fixing $splice behavior.
  • Fixing $merge behavior.
  • Persistent history rather than deep cloned.
  • Improving performances on single update cases.

v1.0.1

22 Apr 10:03
Compare
Choose a tag to compare
  • Fixing scope argument of tree.createFacet.
  • Fixing facet mappings edge cases.
  • Facets can now use facets.
  • Fixing merge edge cases.
  • Fixing update edge cases.
  • Fixing bug where setting falsy values would fail.

v1.0.0

20 Apr 20:48
Compare
Choose a tag to compare
  • Dropping cursor.edit and cursor.remove in favor of cursor.set and cursor.unset polymorphisms.
  • Dropping typology dependency.
  • Dropping options: clone, cloningFunction, singletonCursors, shiftReferences, maxHistory, mixins and typology.
  • Updated emmett to v3.0.0.
  • Moving react integration to baobab-react.
  • Shifting references is now default.
  • Adding facets.
  • Adding $splice keyword and cursor.splice.
  • Adding validationBehavior option.
  • Adding $cursor paths.
  • Adding path polymorphisms to every cursor's setters.
  • Reworking history to work at cursor level.
  • Reworking validation process.
  • Fixing some bugs.

v1.0.0-rc1

16 Apr 18:21
Compare
Choose a tag to compare

First v1.0.0 release candidate.