- Support for Symfony 5.4, 6.1, 6.2 and 6.3 has been discontinued. New required minimum version is now either Symfony 6.4 or 7.0
ValueObject
and the extending classesEntityId
andEntityIntegerId
are now readonly (new PHP 8.2 feature)DomainEventSubscriber
has been removed, use theDomainEventLifecycleListener
functionality instead
DomainEventSubscriber
has been marked as deprecated,DomainEventLifecycleListener
has been introduced as replacement
Lifecycle subscribers are deprecated starting from Symfony 6.3 and will be removed in Symfony 7.0 (see https://symfony.com/doc/6.3/doctrine/events.html#doctrine-lifecycle-listeners).
IdTrait
got renamed toIntegerIdTrait
AggregateRoot
does not implement theIdTrait
anymoreEntityInterface
changed the return type ofgetId
to mixed
We want more flexibility when using ids and the types they do represent. With the changes mentioned above, we can now
leave the decision regarding the type of id to the user of this extension. Meaning now you have the responsibility but
also possibility to implement the getId
function. It can be an integer
, a Uuid
, a customer id type or something
completely different.