All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Add cacheable supports on Domain Denormalizer
- Fix domain denormalizer construct signature
- Support for Symfony 4.3 and 5.0
- Denormalizer updates for v2.0 #23
- The EventDispatcher should be final #4
- Add support for static factories in domain model instantiator
- Use new Symfony 4.2
- Added possibility to autowire domain dispatcher
- Implementation of 2 domain rule interfaces is now working #39
- Add information about event timing in itself #40
- Fix wrong listener on doctrine connection #37
- Fix for execution order in post persist rules
- Correct an error that occurs when we flush in a rule.
- Support for embbeded events in the
DomainEvent
- New method
instantiateWithArguments
on the instantiator (because most part of the time you want to add arguments) - The deserializer is now only one class: simpler and better. It decorates the serializer the right way.
- DEPRECATED: as a result of refactoring the deserializer the
ApiPlatformDomainDeserializer
is deprecated to be removed in the 2.x version.
- The domain event dispatcher now supports "delayed" rules that will be execute only after the model is persist.
- Automatic persist detection for doctrine with the new doctrine subscriber
DoctrinePostPersistListener
- Integration of the doctrine subscriber in the bundle
- The component now uses an interface and a trait to avoid to force you to extends from a specific class
- [Minor BC Break] The DomainEventDispatcher now accept a
RuleInterface
instead ofDomainRuleInterface
. This is a problem only if you extends the domain dispatcher (which is to do only in very special cases).
- Support for many entity manager
- Doctrine bundle filters configuration were broken by our configurator. This is fixed by #2.
- Domain event support
- Symfony bundle
- Support for ApiPlatform