Skip to content

Commit

Permalink
release v4.3 CHANGELOG
Browse files Browse the repository at this point in the history
* Fix: materialized_path2 strategy stefankroes#597
* Fix: descendants ancestry is now updated in after_update callbacks stefankroes#589
* Document updated grammar stefankroes#594
* Documented `update_strategy` stefankroes#588
* Fix: fixed has_parent? when non-default primary id stefankroes#585
* Documented column collation and testing stefankroes#601 stefankroes#607
* Added initializer with default_ancestry_format stefankroes#612
* ruby 3.2 support stefankroes#596
  • Loading branch information
kbrock committed Mar 3, 2023
1 parent 7ec1a51 commit db31daa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
Doing our best at supporting [SemVer](http://semver.org/) with
a nice looking [Changelog](http://keepachangelog.com).

## Version [4.3.0] <sub><sup>2023-01-05</sub></sup>
* Fix: materialized_path2 strategy was completely broken [#597](https://github.com/stefankroes/ancestry/pull/597) (thx @kshnurov)
* Fix: descendants ancestry should be updated in after_update callbacks [#589](https://github.com/stefankroes/ancestry/pull/589) (thx @kshnurov)
## Version [4.3.0] <sub><sup>2023-03-03</sub></sup>

* Fix: materialized_path2 strategy [#597](https://github.com/stefankroes/ancestry/pull/597) (thx @kshnurov)
* Fix: descendants ancestry is now updated in after_update callbacks [#589](https://github.com/stefankroes/ancestry/pull/589) (thx @kshnurov)
* Document updated grammar [#594](https://github.com/stefankroes/ancestry/pull/594) (thx @omarr-gamal)
* Documented `update_strategy` [#588](https://github.com/stefankroes/ancestry/pull/588) (thx @victorfgs)
* Fix: fixed has_parent? when non-default primary id [#585](https://github.com/stefankroes/ancestry/pull/585) (thx @Zhong-z)
* Documented column collation and testing [#601](https://github.com/stefankroes/ancestry/pull/601) [#607](https://github.com/stefankroes/ancestry/pull/607) (thx @kshnurov)
* Added initializer with default_ancestry_format [#612](https://github.com/stefankroes/ancestry/pull/612)
* ruby 3.2 support [#596](https://github.com/stefankroes/ancestry/pull/596) (thx @petergoldstein)

## Version [4.2.0] <sub><sup>2022-06-09</sub></sup>

Expand Down
3 changes: 2 additions & 1 deletion test/concerns/hooks_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def before_save_hook
end

def test_update_descendants_with_changed_parent_value
return if Ancestry.default_update_strategy == :sql # sql stragery doesn't trigger callbacks
# TODO: add callback support for sql update strategy
return if Ancestry.default_update_strategy == :sql

AncestryTestDatabase.with_model(
extra_columns: { name: :string, name_path: :string }
Expand Down

0 comments on commit db31daa

Please sign in to comment.