- Assert/validation has been extracted from this bundle and has been moved to https://github.com/fusonic/php-assert.
- 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
ValueObjectand the extending classesEntityIdandEntityIntegerIdare now readonly (new PHP 8.2 feature)DomainEventSubscriberhas been removed, use theDomainEventLifecycleListenerfunctionality instead
DomainEventSubscriberhas been marked as deprecated,DomainEventLifecycleListenerhas 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).
IdTraitgot renamed toIntegerIdTraitAggregateRootdoes not implement theIdTraitanymoreEntityInterfacechanged the return type ofgetIdto 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.