Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable
Gedmo\SoftDeleteable\Event\PreSoftDeleteEventArgs
and
Gedmo\SoftDeleteable\Event\PostSoftDeleteEventArgs
classes.psr/clock
implementation into event adapters
that create new DateTimeInterface
objects (SoftDeleteable and Timestampable)@internal
annotation from Gedmo\Mapping\Driver\AttributeReader
.Gedmo\SoftDeleteable\Event\PreSoftDeleteEventArgs
and
Gedmo\SoftDeleteable\Event\PostSoftDeleteEventArgs
classes to preSoftDelete
and postSoftDelete
events.createLifecycleEventArgsInstance()
method on Gedmo\Mapping\Event\AdapterInterface
implementations is deprecated, use your own subclass of Doctrine\Persistence\Event\LifecycleEventArgs
as needed.@template
and @template-extends
annotations to the Tree repositoriesGedmo\Mapping\Event\Adapter\ORM::getObjectManager()
and getObject()
on EventArgs that do not implement getObjectManager()
and getObject()
(such as old EventArgs implementing getEntityManager()
and getEntity()
)Gedmo\Uploadable\Event\UploadableBaseEventArgs::getEntityManager()
and getEntity()
. Call getObjectManager()
and getObject()
instead.setSibling()
and getSibling()
methods in the Node
interface through the BC @method
annotation$sortByField
and $direction
parameters at AbstractTreeRepository::recover()
$data
array in annotation classes at Gedmo\Mapping\Annotation\
namespaceTranslationProxy::__set()
(from TranslationProxy
to void
)Node::$sibling
property, which is deprecated as of PHP >= 8.2TranslationProxy::__set()
in order to honor its original signature (void
)Node
interface in classes that are used as nodesGedmo\Tool\WrapperInterface::getIdentifier()
method without the second argument ($flatten
) is deprecated and will be required in version 4.0Nested::ALLOWED_NODE_POSITIONS
constant in order to expose the available node positionsdoctrine/collections
2.0doctrine/event-manager
2.0LogEntryInterface
interface in order to be implemented by log entry modelsTranslatableListener::getTranslatableLocale()
@final
and @internal
annotations were added to all non base classes, which means that extending
these classes is deprecated and can not be inherited in version 4.0.Comparable::compareTo()
is deprecated in SortableListener::postFlush()
.
This will not be accepted in version 4.0.Doctrine\Common\Annotations\Reader
or Gedmo\Mapping\Driver\AttributeReader
instance will be required.Gedmo\DoctrineExtensions::registerAnnotations()
is deprecated and will be removed in 4.0, the method has been no-op'd as all
supported doctrine/annotations
versions support autoloadingLoggableListener::ACTION_CREATE
, LoggableListener::ACTION_UPDATE
and LoggableListener::ACTION_REMOVE
are deprecated. Use LogEntryInterface::ACTION_CREATE
, LogEntryInterface::ACTION_UPDATE
and LogEntryInterface::ACTION_REMOVE
instead.DateTimeImmutable
fieldschildrenQueryBuilder()
to allow specifying sort order separately for each fieldreorder()
methodClosureTreeRepository::removeFromTree()
and NestedTreeRepository::removeFromTree()
when something fails in the transaction, it uses the code
from the original exception to construct the \Gedmo\Exception\RuntimeException
instance instead of null
.preg_match()
(#2473)AbstractMaterializedPath::removeNode()
and AbstractMaterializedPath::getChildren()