Releases: doctrine-extensions/DoctrineExtensions
Releases · doctrine-extensions/DoctrineExtensions
v3.21.0
Added
- SoftDeleteable:
$handlePostFlushEventparameter toSoftDeleteableListener::__construct()to enable or disable handling of thepostFlushevent (#2958)
Changed
- Translatable: Optimized database indexes for better performance by reordering unique constraint fields and removing redundant indexes
- SoftDeleteable: Handling of the
postFlushevent is disabled by default (#2958) - Sluggable: Replaced abandoned
behat/transliteratorwithsymfony/stringfor default transliteration and urlization steps (#2985) - Use
ClassMetadata::getFieldValue()andClassMetadata::setFieldValue()methods to supportdoctrine/orm>= 3.4 (#2966)
Fixed
v3.20.1
v3.20.0
v3.19.0
v3.18.0
Added
- Support for
doctrine/persistence^4.0
Deprecated
- Sluggable: Annotation-specific mapping parameters (#2837)
Fixed
- Fix regression with
doctrine/dbal>= 4.0 that caused MariaDB to improperly attempt LONGTEXT casting inTranslationWalker(issue #2887) - Tree: allow usage of UuidV4 as path source with the materialized path strategy
v3.17.1
v3.17.0
v3.16.1
v3.16.0
Added
- Support for
doctrine/orm3 - Blameable: Added UUID in allowed types list for Blameable fields in Annotation
- Blameable: Allow ascii_string to validTypes (issue #2726)
- Sluggable: Allow ascii_string to validTypes
- IpTraceable: Allow ascii_string to validTypes
- Sluggable: Use
TranslationWalkerhint when looking for similar slugs (getSimilarSlugsmethod) for entities which implementTranslatableinterface and haveuniqueOverTranslations: trueSlug option (#100, #2530)
Deprecated
- Support for defining mapping information from annotations has been deprecated and will be removed in 4.0, use PHP attributes mapping instead.
Fixed
- Tree: Cascade remove not being triggered on entity children at
MaterializedPath::removeNode(). - Tree: Materialize Path strategy when using autogenerated identifiers.
v3.15.0
Added
- SoftDeleteable:
Gedmo\SoftDeleteable\Event\PreSoftDeleteEventArgsand
Gedmo\SoftDeleteable\Event\PostSoftDeleteEventArgsclasses. - Add support for injecting a
psr/clockimplementation into event adapters
that create newDateTimeInterfaceobjects (SoftDeleteable and Timestampable)
Changed
- Make doctrine/annotations an optional dependency.
- Remove
@internalannotation fromGedmo\Mapping\Driver\AttributeReader.
Deprecated
- Do not add type-hinted parameters
Gedmo\SoftDeleteable\Event\PreSoftDeleteEventArgsand
Gedmo\SoftDeleteable\Event\PostSoftDeleteEventArgsclasses topreSoftDeleteandpostSoftDeleteevents. - The
createLifecycleEventArgsInstance()method onGedmo\Mapping\Event\AdapterInterface
implementations is deprecated, use your own subclass ofDoctrine\Persistence\Event\LifecycleEventArgsas needed.
Fixed
- Add conflict against "doctrine/orm" >= 3.
- Add conflict against "doctrine/dbal" => 4.