Ancestry v4.1.0 Release Notes

Release Date: 2021-06-25 // 4 months ago
    • 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)

Previous changes from v4.0.0

    • ⬇️ dropped support for rails 4.2 and 5.0 (thx @d-m-u)
    • 👍 better documentation counter cache option (thx @pustomytnyk)
    • clean up code (thx @amatsuda @d-m-u)
    • 🛠 fixed rails 6.1 support (thx @cmr119 @d-staehler @danini-the-panini )
    • phasing out parent_id?, ancestors? and using has_parent? instead
    • 🛠 fixed postgres order bug on rails 6.2 and higher (thx @smoyt)