Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 1.97 KB

CHANGELOG.md

File metadata and controls

67 lines (50 loc) · 1.97 KB

Version 4.0.0

  • ADD: Support for Rails 7.2
  • BREAKING: Dropped support for Rails < 7
  • BREAKING: Dropped support old Rubies < 3.1

Version 3.5.0

  • Added :dependent option for setting explicit deletion behaviour (issue #31)
  • Added automatic cycle detection when supported (currently only PostgresSQL 14+) (issue #22)

Version 3.4.0

  • Rails 7.1 compatibility
  • Added ar_next to test matrix
  • Added updated databasecleaner to test latest active record from git

Version 3.3.0

  • added includes: option to preload_tree

Version 3.2.0

  • Added #preload_tree method to preload the parent/child relations of a single node

Version 3.1.0

  • Rails 7 support

Version 3.0.0

  • BREAKING: Dropped support for Rails < 5.2
  • BREAKING: Increased minimum Ruby version to 2.5
  • ADD: initial support for Rails < 7
  • CHANGE: Using zeitwerk for auto loading

Version 2.2.1

  • Rails 6.1 support

Version 2.2.0

  • Rails 6.0 support

Version 2.1.1

  • Enabled subselect query when using depth
  • new QueryOption query_strategy for forcing a specific strategy (:join, :subselect)

Version 2.1.0

  • BUGFIX association self_and_siblings not working
  • BUGFIX primary_key of model is retrieved on first usage and not on setup
  • NEW when no ordering/depth is required, then use subselect instead of joining the temp table

Version 2.0.2

  • fix for condition relation was executed before merging

Version 2.0.1

  • fix for parent_type_column applied not properly

Version 2.0.0

  • drop support for rails < 5.0
  • support for polymorphic parent relations

Version 1.1.1

  • BUGFIX: not checking presence of relation with present? method - this causes execution of the relation
  • added missing != method for depth

Version 1.1.0

  • scopes and method can now be passed a Proc instance for additional modifications of the query
  • new option to specify the depth to query

Version 1.0.1

  • BUGFIX: ordering result when querying ancestors

Version 1.0.0

  • initial release using AREL