Doctrine Helper changelog
The package has no separate release notes; the history is compiled from tags and commits.
1.1.0 (2025-06-09)
- New
UuidIdTrait— a replacement forUniqueUuidIdTrait, with an explicit#[ORM\GeneratedValue(strategy: 'NONE')].UniqueUuidIdTraitis marked@deprecated. - New
UniqueIdTrait—idasuniqid(), columnstring(13), unique. Uuid::generate()returns UUID v7 instead of v4.AutoIncrementIdTrait: the column is explicitlyINTEGERunsigned (was#[ORM\Column]without parameters).UniqueUuidIdTrait: the column isstring(36), unique (wasstringwithout a length).composer.jsondeclaresdoctrine/dbal^3.2|^4.2 anddoctrine/orm^2.12|^3.2.- The
Ufo\DoctrineHelper\ExampleEnumandUfo\DoctrineHelper\DBAL\ExampleEnumTypeexamples moved fromsrc/to test fixtures (Ufo\DoctrineHelper\Tests\Fixtures\...); tests forUuidadded.
Upgrading from 1.0.x: generate a migration — the id columns of entities using AutoIncrementIdTrait (unsigned) and UniqueUuidIdTrait (length 36, unique) change. New UUIDs are version 7; existing v4 values stay valid. Replace UniqueUuidIdTrait with UuidIdTrait.
1.0.1 (2025-03-21)
AbstractEnumType: typed signaturesconvertToPHPValue(mixed $value, ...): mixedandconvertToDatabaseValue(mixed $value, ...): string|int— DBAL 4 compatibility.- README:
mapping_types: enum: stringadded to the configuration example.
1.0.0 (2024-06-10)
First release: AbstractEnumType, AutoIncrementIdTrait, UniqueUuidIdTrait, the IHaveAutoincrementId and IHaveUniqueUuid interfaces, Uuid (generate() — UUID v4, hash() — UUID v3).