slate v0.19.0 Release Notes

Release Date: 2017-03-03 // about 7 years ago
  • BREAKING

    The filterDescendants and findDescendants methods are now depth-first. This shouldn't affect almost anyone, since they are usually not the best things to be using for performance reasons. If you happen to have a very specific use case that needs breadth-first, (or even likely something better), you'll need to implement it yourself.

    ๐Ÿ—„ ###### DEPRECATED

    ๐Ÿ—„ Some Node methods have been deprecated! There were a few methods that had been added over time that were either poorly named that have been deprecated and renamed, and a handful of methods that are no longer useful for the core library that have been deprecated. Here's a full list:

    • areDescendantSorted -> areDescendantsSorted
    • getHighestChild -> getFurthestAncestor
    • getHighestOnlyChildParent -> getFurthestOnlyChildAncestor
    • concatChildren
    • decorateTexts
    • filterDescendantsDeep
    • findDescendantDeep
    • getChildrenBetween
    • getChildrenBetweenIncluding
    • isInlineSplitAtRange