Doctrine Behaviors changelog
The package has no release notes (the repository's CHANGELOG.md ends at 1.0.0); this history is compiled from the tags and commits of the UFO-Tech fork.
2.0.0 (2026-09-28)
- PHP >= 8.4;
doctrine/orm^3.7,doctrine/dbal^4.2 (DBAL 3 is no longer supported),doctrine/persistence^4.0,doctrine/doctrine-bundle^3.0; Symfony ^7.0 | ^8.0. symfony/security-bundleis now a dependency: the defaultUserProviderusesSymfony\Bundle\SecurityBundle\Security.- Properties of the Blameable, Sluggable, SoftDeletable and Uuidable traits got default values — fixes
Error: Typed property … must not be accessed before initialization(Fixed issues). - Translatable: a unique translation index name longer than 63 characters is replaced with
t_<hash>_unique_translation. - Tests moved to PHPUnit 11 and run in Docker on SQLite, MySQL and PostgreSQL.
Upgrading from 1.0.x: PHP 8.4 and DBAL 4; upgrade DoctrineBundle to 3.x. For translation tables with long names, generate a migration — the unique index name changes. In Sluggable with shouldRegenerateSlugOnUpdate() = false a "not generated yet" slug is now an empty string, not null.
1.0.4 (2025-08-20)
doctrine/persistence^4.0 allowed.
1.0.3 (2025-02-11)
- Timestampable:
createdAtandupdatedAtare nullable again with anulldefault (PR #1).
1.0.2 (2025-02-06)
- Translatable: removed the
mergecascade, which does not exist in Doctrine ORM 3.
1.0.1 (2025-02-03)
- Trait properties got native types instead of PHPDoc
@var; Tree got aparentNodePathproperty. - Typed properties without default values caused errors fixed in 1.0.3 and 2.0.0.
1.0.0 (2025-01-13)
First release of the UFO-Tech fork.
- Package
ufo-tech/doctrine-behaviors, namespaceUfo\DoctrineBehaviors(Miets\DoctrineBehaviorsin the Miets fork). - PHP >= 8.2, Symfony ^7.0 | ^8.0,
doctrine/orm^3.3,doctrine/dbal^3.2 | ^4.2,doctrine/doctrine-bundle^2.6,nette/utils^4.0. - Code moved to the ORM 3 API:
ClassMetadatainstead ofClassMetadataInfo,Doctrine\Persistence\Event\LifecycleEventArgs.
Before the fork
- KnpLabs/DoctrineBehaviors — the original library; does not support Symfony newer than 6.3.
- Miets/DoctrineBehaviors (2023-12 … 2024-02) — Symfony 7 support, listeners via
#[AsDoctrineListener].