v3.15.0
版本发布时间: 2024-02-12 23:20:09
doctrine-extensions/DoctrineExtensions最新发布版本:v3.16.1(2024-06-26 00:22:58)
Added
- SoftDeleteable:
Gedmo\SoftDeleteable\Event\PreSoftDeleteEventArgs
andGedmo\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
andGedmo\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.