Added
- Support to use Translatable annotations as attributes on PHP >= 8.0.
Deprecated
Gedmo\Mapping\Driver\File::$_paths
property andGedmo\Mapping\Driver\File::setPaths()
method are deprecated and will
be removed in version 4.0, as they are not used.
Fixed
- Value passed in the
--config
option tofix-cs
Composer script. - Return value for
replaceRelative()
andreplaceInverseRelative()
atGedmo\Sluggable\Mapping\Event\Adapter\ODM
if the
query result does not implementDoctrine\ODM\MongoDB\Iterator\Iterator
. - Restored compatibility with doctrine/orm >= 2.10.2 (#2272).
Since doctrine/orm 2.10,Doctrine\ORM\UnitOfWork
relies on SPL object IDs instead of hashes, thus we need to adapt our codebase in order to be compatible with this change.
AsDoctrine\ODM\MongoDB\UnitOfWork
from doctrine/mongodb-odm still usesspl_object_hash()
, allspl_object_hash()
calls were replaced byspl_object_id()
to make it work with both ORM and ODM managers.