Ancestry v4.2.0 Release Notes

Release Date: 2022-06-09 // 8 months ago
    • โž• added strategy: materialized_path2 #571
    • โž• Added tree_view method #561 (thx @bizcho)
    • ๐Ÿ›  Fixed bug when errors would not undo callbacks #566 (thx @daniloisr)
    • ๐Ÿ’Ž ruby 3.0 support
    • ๐Ÿš… rails 7.0 support (thx @chenillen, @petergoldstein)
    • ๐Ÿ“š Documentation fixes (thx @benkoshy, @mijoharas)

Previous changes from v4.1.0

    • parent with an invalid id now returns nil (thx @vanboom)
    • root returns self if ancestry is invalid (thx @vanboom)
    • ๐Ÿ›  fix case where invalid object prevented ancestry updates (thx @d-m-u)
    • oracleenhanced uses nulls first for sorting (thx @lual)
    • ๐Ÿ›  fix counter cache and STI (thx @mattvague)