All Versions
72
Latest Version
Avg Release Cycle
177 days
Latest Release
-

Changelog History
Page 2

  • v6.0.0.gamma

    September 07, 2015
  • v6.0.0.alpha Changes

    • ⬇️ Dropped support for versions of Rails 3.2 and 4.0 (which are no longer supported).
    • ⬇️ Dropped support for Ruby 1.9 and JRuby 1.9 (which are no longer supported).
    • ➕ Added support for .hash_tree from .parent and .children. Addresses PR146. Thanks for reporting this and the breaking test, Mike!
  • v5.2.0 Changes

    • Eduardo Turiño renamed acts_as_tree to has_closure_tree. We'll keep both annotations around for the forseeable future, but I think not name-colliding by default is strictly better. (Thanks for both the suggestion and PR!)
    • Ryan Selk made several enhancements to the migration generation (thanks!).
    • ⚡️ ruok5 updated the README to clarify a heirarchy maintenance usecase. Thanks!
    • Made migrations error with a helpful message if the target didn't have the has_closure_tree or acts_as_tree annotation. This addresses issue 131.
  • v5.1.1 Changes

    • 🛠 Fixed bug in rails g closure_tree:migration (introduced by me, not by seuros!) that was reported and fixed by Rich Kuo. Thanks!
  • v5.1.0 Changes

    • Abdelkader Boudih added a database generator for the hierarchies table. Thanks!
    • 🛠 Jason Weathered fixed issue #117 with the preordered traversal code that assumed the primary key column was called id. Thanks!
  • v5.0.0 Changes

    💥 Breaking API changes

    • find_by_path and find_or_create_by_path now takes either an array of strings or an array of attribute hashes, which can include the inheritance column for STI support.
    • Removed the extraneous base_class acts_as_tree option—it needlessly duplicated ActiveRecord's method.
    • Removed the unused name acts_as_tree option.

    👌 Improvements and bugfixes

    • 👍 Cleaned up the inheritance support methods to delegate correctly to ActiveRecord
    • 🛠 Fixed a query generation error when ancestor paths exceeded 50 items.
    • Documented the .touch option
  • v4.6.3 Changes

  • v4.6.2 Changes

    • 🛠 Pulled in 106 which fixed a bug introduced in 4.6.0 which broke if the numeric ordering column wasn't named 'sort_order'. Tests have been added. Thanks for the fix, Fission Xuiptz!
  • v4.6.1 Changes

  • v4.6.0 Changes

    • Deterministically ordered trees are guaranteed to have a sort_order now.

    This may be a breaking change if you're expecting sort_order to be nullable.

    Many thanks to David Schmidt for raising and working on the issue!

    • Added append_child and prepend_child

    • All raw SQL is now strip_heredoc'ed