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

Changelog History
Page 4

  • v4.2.4 Changes

    • πŸ‘Œ Support for root?, child?, and proper parent-child associations when both the parent and the child are not persisted. Addresses issue 64. Thanks for the help, Gabriel Mazetto!
  • v4.2.3 Changes

    • Fixed attr_accessible? error introduced in 4.2.2 (issue 66).
    • πŸ‘ Switched to use new WithAdvisoryLock::DatabaseAdapterSupport (in v0.0.9) to add Postgis support
  • v4.2.2 Changes

    • Support attr_accessible and strong_attributes even if you're on Rails 4
  • v4.2.1 Changes

    • Deleting from NumericDeterministicOrdering doesn't create sort order gaps anymore.
  • v4.2.0 Changes

    • Added with_ancestor(*ancestors). Thanks for the idea, Matt!
    • πŸ‘ Applied Leonel Galan's fix for Strong Attribute support
    • find_or_create_by now uses passed-in attributes as both selection and creation criteria. Thanks for the help, Judd Blair! Please note that this changes prior behaviorβ€”test your code with this new version!
    • ct_advisory_lock was moved into the _ct support class, to reduce model method pollution
    • 🚚 Moved a bunch of code into more focused piles of module mixins
  • v4.1.0 Changes

    • βž• Added support for Rails 4.0.0.rc1 and Ruby 2.0.0 (while maintaining backward compatibility with Rails 3, BOOYA)
    • Added #to_dot_digraph, suitable for Graphviz rendering
  • v4.0.1 Changes

    • Numeric, deterministically ordered siblings will always be [0..#{self_and_siblings.count}] (previously, the sort order might use negative values, which broke the preordering). Resolves issue 49. Thanks for the help, Leonel Galan, Juan Hoyos, and Michael Elfassy!

    • The order option can be a symbol now. Resolves issue 46.

  • v4.0.0 Changes

    • 🚚 Moved all of closure_tree's implementation-detail methods into a ClosureTree::Support instance, which removes almost all of the namespace pollution in your models that wasn't for normal consumption. If you were using any of these methods, they're now available through the "_ct" class and instance member.

    This change may break consumers, so I incremented the major version number, even though no new functionality was released.

  • v3.10.2 Changes

    • Prevent faulty SQL statement when #siblings is called on an unsaved records. Resolves issue 52. Perfect pull request by Gary Greyling.

    • The .roots class method now correctly respects the :order option. Resolves issue 53. Thanks for finding this, Brendon Muir!

  • v3.10.1 Changes

    • πŸ‘ Multipart constant names like "Admin::PageHierarchy" are now supported. Resolves issue 47. Thanks for the perfect pull request, Simon Menke!

    • Committing transactions involving large numbers of hierarchy model classes was very slow due to hash collisions in the hierarchy class. A better hash implementation addressed issue 48. Thanks, Joel Turkel!