Added
- SoftDeleteable:
Gedmo\SoftDeleteable\Event\PreSoftDeleteEventArgs
and
Gedmo\SoftDeleteable\Event\PostSoftDeleteEventArgs
classes. - Add support for injecting a
psr/clock
implementation into event adapters
that create newDateTimeInterface
objects (SoftDeleteable and Timestampable)
Changed
- Make doctrine/annotations an optional dependency.
- Remove
@internal
annotation fromGedmo\Mapping\Driver\AttributeReader
.
Deprecated
- Do not add type-hinted parameters
Gedmo\SoftDeleteable\Event\PreSoftDeleteEventArgs
and
Gedmo\SoftDeleteable\Event\PostSoftDeleteEventArgs
classes topreSoftDelete
andpostSoftDelete
events. - The
createLifecycleEventArgsInstance()
method onGedmo\Mapping\Event\AdapterInterface
implementations is deprecated, use your own subclass ofDoctrine\Persistence\Event\LifecycleEventArgs
as needed.
Fixed
- Add conflict against "doctrine/orm" >= 3.
- Add conflict against "doctrine/dbal" => 4.