diff --git a/CHANGELOG.md b/CHANGELOG.md index 660e8b82a1..eb2725a72e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,10 +18,12 @@ a release. --- ## [Unreleased] + +## [3.12.0] - 2023-07-08 ### Added - Tree: `setSibling()` and `getSibling()` methods in the `Node` interface through the BC `@method` annotation - Tree: Support array of fields and directions in the `$sortByField` and `$direction` parameters at `AbstractTreeRepository::recover()` -- Loggable: Support for composite identifiers. +- Loggable: Support for composite identifiers ### Changed - Named arguments have precedence over the values passed in the `$data` array in annotation classes at `Gedmo\Mapping\Annotation\` @@ -36,7 +38,7 @@ a release. ### Deprecated - Tree: Not implementing `Node` interface in classes that are used as nodes - Implementing the `Gedmo\Tool\WrapperInterface::getIdentifier()` method without the second argument (`$flatten`) is deprecated and will - be required in version 4.0. + be required in version 4.0 ## [3.11.1] - 2023-02-20 ### Fixed diff --git a/composer.json b/composer.json index 333c263ea3..bc9b9aa3ff 100644 --- a/composer.json +++ b/composer.json @@ -94,7 +94,7 @@ }, "extra": { "branch-alias": { - "dev-main": "3.12-dev" + "dev-main": "3.13-dev" } }, "scripts": { diff --git a/src/DoctrineExtensions.php b/src/DoctrineExtensions.php index 57bcf1b82c..c3548675a6 100644 --- a/src/DoctrineExtensions.php +++ b/src/DoctrineExtensions.php @@ -28,7 +28,7 @@ final class DoctrineExtensions /** * Current version of extensions */ - public const VERSION = '3.11.0'; + public const VERSION = '3.12.0'; /** * Hooks all extension metadata mapping drivers into diff --git a/src/Tree/Entity/Repository/NestedTreeRepository.php b/src/Tree/Entity/Repository/NestedTreeRepository.php index 3ac30292a6..8fc45996f4 100644 --- a/src/Tree/Entity/Repository/NestedTreeRepository.php +++ b/src/Tree/Entity/Repository/NestedTreeRepository.php @@ -86,7 +86,7 @@ public function __call($method, $args) if (!$node instanceof Node) { @trigger_error(\sprintf( 'Not implementing the "%s" interface from node "%s" is deprecated since gedmo/doctrine-extensions' - .' 3.x and will throw a "%s" error in version 4.0.', + .' 3.12 and will throw a "%s" error in version 4.0.', Node::class, \get_class($node), \TypeError::class