Skip to content

Commit

Permalink
3.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Jul 8, 2023
1 parent 5ee410d commit eef4b49
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\`
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "3.12-dev"
"dev-main": "3.13-dev"
}
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/DoctrineExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Tree/Entity/Repository/NestedTreeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eef4b49

Please sign in to comment.