All Versions
31
Latest Version
Avg Release Cycle
185 days
Latest Release
1023 days ago

Changelog History
Page 2

  • v3.0.3 Changes

    October 23, 2018

    🚅 This branch (3.x) should still be compatible with rails 3 and 4. 🚅 Rails 5.1 and 5.2 support were introduced in this version, but ongoing support 🚚 has been moved to ancestry 4.0

  • v3.0.2

    April 24, 2018
  • v3.0.1

    July 05, 2017
  • v3.0.0

    May 18, 2017
  • v2.2.2 Changes

    November 01, 2016

    🔄 Changed

    • 👉 Use COALESCE only for sorting versions greater than 5.0
    • 🛠 Fixed bug with explicit order clauses (introduced in 2.2.0)
    • No longer load schema on has_ancestry load (thx @ledermann)
  • v2.2.1 Changes

    October 25, 2016

    🔀 Sorry for blip, local master got out of sync with upstream master. Missed 2 commits (which are feature adds)

    ➕ Added

    • 🐎 Use like (vs ilike) for rails 5.0 (performance enhancement)
    • 👉 Use COALESCE for sorting on pg, mysql, and sqlite vs CASE
  • v2.2.0 Changes

    October 25, 2016

    ➕ Added

    • Predicates for scopes: e.g.: ancestor_of?, parent_of? (thx @neglectedvalue)
    • Scope path_of

    🔄 Changed

    • arrange now accepts blocks (thx @mastfish)
    • 🐎 Performance tuning arrange_node (thx @fryguy)
    • In orphan strategy, set ancestry to nil for no parents (thx @haslinger)
    • ⚡️ Only updates updated_at when a record is changed (thx @brocktimus)
    • No longer casts text primary key as an integer
    • ⬆️ Upgrading tests for ruby versions (thx @brocktimus, @fryguy, @yui-knk)
    • 🛠 Fix non-default ancestry not getting used properly (thx @javiyu)
  • v2.1.0 Changes

    April 16, 2014
    • ➕ Added arrange_serializable (thx @krishandley, @chicagogrrl)
    • ➕ Add the :touch to update ancestors on save (thx @adammck)
    • 🔄 Change conditions into arel (thx @mlitwiniuk)
    • ➕ Added children? & siblings? alias (thx @bigtunacan)
    • closure_tree compatibility (thx @gzigzigzeo)
    • 🐎 Performance tweak (thx @mjc)
    • 👌 Improvements to organization (thx @xsuchy, @ryakh)
  • v2.0.0 Changes

    May 17, 2013
    • ✂ Removed rails 2 compatibility
    • ➕ Added table name to condition constructing methods (thx @aflatter)
    • 🛠 Fix depth_cache not being updated when moving up to ancestors (thx @scottatron)
    • ➕ add alias :root? to existing is_root? (thx @divineforest)
    • Add block to sort_by_ancestry (thx @Iliya)
    • ➕ Add attribute query method for parent_id (thx @sj26)
    • 🛠 Fixed and tested for rails 4 (thx @adammck, @Nihad, @Systho, @Philippe, e.a.)
    • 🛠 Fixed overwriting ActiveRecord::Base.base_class (thx @Rozhnov)
    • 🆕 New adopt strategy (thx unknown)
    • Many more improvements
  • v1.3.0 Changes

    May 04, 2012
    • 0️⃣ Ancestry now ignores default scopes when moving or destroying nodes, ensuring tree consistency
    • 🔄 Changed ActiveRecord dependency to 2.3.14