Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable
FileInfoInterface::getSize()
return type declaration (#2413).null
.Translation
entity to speed up searches using
Gedmo\Translatable\Entity\Repository\TranslationRepository::findTranslations()
method.Gedmo\Mapping\Event\AdapterInterface::getObject()
method.AbstractClassMetadataFactory::getCacheDriver()
method.doctrine/mongodb-odm
>= 2.2Gedmo\Translatable\Document\Repository\TranslationRepository::findObjectByTranslatedField()
method accessing a non-existing key.Gedmo\Tool\Logging\DBAL\QueryAnalizer
class without replacement.Gedmo\Mapping\Event\AdapterInterface::__call()
method.Gedmo\Tool\Wrapper\AbstractWrapper::clear()
method.Gedmo\Tool\Wrapper\WrapperInterface::populate()
method.setCacheItemPool()
on the extension listener passing an instance of Psr\Cache\CacheItemPoolInterface
.fallback
attribute of the translatable
element in the XML mapping.activate-locking
attribute of the tree
element in the XML mapping.append_id
, starts_with_separator
and
ends_with_separator
attributes of the tree-path
element in the XML mapping.Gedmo\SoftDeleteable\Query\TreeWalker\Exec\MultiTableDeleteExecutor::__construct()
requires a Doctrine\ORM\Mapping\ClassMetadata
instance.tree-path-hash
fields in XML mapping.ClosureTreeRepository::cleanUpClosure()
and Closure::updateNode()
.Gedmo\Mapping\Driver\Xml::_loadMappingFile()
behavior in scenarios where libxml_disable_entity_loader(true)
was previously
called.versioned
fields at attribute-override
in XML mapping.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.--config
option to fix-cs
Composer script.replaceRelative()
and replaceInverseRelative()
at Gedmo\Sluggable\Mapping\Event\Adapter\ODM
if the
query result does not implement Doctrine\ODM\MongoDB\Iterator\Iterator
.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.Primarily marks Doctrine Extensions as conflicting with ORM 2.10 due to breaking Translations. Big thanks to @phansys for help identifying and fixing! 🙌🏼
Doctrine\DBAL\Types\Type
at Gedmo\Translatable\Mapping\Event\Adapter\ORM::foreignKey()
(#2250)composer.json
, resolving minor function parameter deprecations #2194