v3.12.0
版本发布时间: 2023-07-09 04:42:20
doctrine-extensions/DoctrineExtensions最新发布版本:v3.16.1(2024-06-26 00:22:58)
Added
- Tree:
setSibling()
andgetSibling()
methods in theNode
interface through the BC@method
annotation - Tree: Support array of fields and directions in the
$sortByField
and$direction
parameters atAbstractTreeRepository::recover()
- Loggable: Support for composite identifiers
Changed
- Named arguments have precedence over the values passed in the
$data
array in annotation classes atGedmo\Mapping\Annotation\
namespace - Removed conflict against "doctrine/cache" < 1.11, as this library is not used
- Return type from
TranslationProxy::__set()
(fromTranslationProxy
tovoid
)
Fixed
- Tree: Creation of dynamic
Node::$sibling
property, which is deprecated as of PHP >= 8.2 - Return type from
TranslationProxy::__set()
in order to honor its original signature (void
)
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