All Versions
75
Latest Version
Avg Release Cycle
177 days
Latest Release
-
Changelog History
Page 5
Changelog History
Page 5
-
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!
-
v3.10.0 Changes
- Added
#roots_and_descendants_preordered
. Thanks for the suggestion, Leonel Galan!
- Added
-
v3.9.0 Changes
- โ Added
.child_ids
. - Removed
dependent => destroy
on the descendant_hierarchy and ancestor_hierarchy collections (they were a mistake). - ๐ Clarified documentation for creation and child associations.
Because
Tag.create!(:parent => ...)
requires a.reload
, I removed it as an example.
All three of these improvements were suggested by Andrew Bromwich. Thanks!
- โ Added
-
v3.8.2 Changes
- find_by_path uses 1 SELECT now. BOOM.
-
v3.8.1 Changes
- Double-check locking for find_or_create_by_path
-
v3.8.0 Changes
- ๐ Support for preordered descendants. This requires a numeric sort order column. Resolves feature request 38.
- Moved modules from
acts_as_tree
into separate files
-
v3.7.3 Changes
๐ Due to MySQL's inability to lock rows properly, I've switched to advisory_locks for all write paths. This will prevent deadlocks, addressing issue 41.
-
v3.7.1 Changes
- ๐ Moved requires into ActiveSupport.on_load
- Added
require 'with_advisory_lock'
-
v3.7.0 Changes
Thread safety!
- Advisory locks were
integrated with the class-level
find_or_create_by_path
andrebuild!
. - Pessimistic locking is used by the instance-level
find_or_create_by_path
.
- Advisory locks were
integrated with the class-level