github doctrine-extensions/DoctrineExtensions v3.3.0

latest releases: v3.15.0, v3.14.0, v3.13.0...
2 years ago

Added

  • Support to use Translatable annotations as attributes on PHP >= 8.0.

Deprecated

  • Gedmo\Mapping\Driver\File::$_paths property and Gedmo\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 to fix-cs Composer script.
  • Return value for replaceRelative() and replaceInverseRelative() at Gedmo\Sluggable\Mapping\Event\Adapter\ODM if the
    query result does not implement Doctrine\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.
    As Doctrine\ODM\MongoDB\UnitOfWork from doctrine/mongodb-odm still uses spl_object_hash(), all spl_object_hash() calls were replaced by spl_object_id() to make it work with both ORM and ODM managers.

Don't miss a new DoctrineExtensions release

NewReleases is sending notifications on new releases.