- We raised the minimum required version of symfony/dependency-injection from 2.3 to 2.6.
- We raised the minimum required PHP version from 5.3 to 5.5.
- Support for querying the event store using criteria
- The
COMMAND_FAILURE
event now receives an associative array when it gets dispatched. - Fixed a locale issue with creating DateTime objects.
- You can now configure which Doctrine DBAL connection should be used for the event store
- The auditing command logger service now only gets registered when it's explicitly enabled
- You can now register Sagas with the tag
broadway.saga
- The
broadway:event-store:schema:drop
command no longer errors when there is no schema
- There are now Saga examples
- The DBALEventStore now also works with mysqli
- The Scenario for CommandHandling now clears the recorded events after each
then
. So for each then you only need to supply the newly recorded events.
- DomainMessageInterface has been removed, and DomainMessage has been made final.
- Renamed
add
method tosave
for aggregate root repositories.
- The global
storage_suffix
parameter has been removed and has been replaced with a configuration value:saga.mongodb.storage_suffix
.
- New example on how to use child entities.
- The EventSourcing Scenario has been updated to support all the latest changes.
- An AggregateRootScenarioTestCase has been added with an example on how to use it.
- The command bus and event bus have been made more resilient.
- We now publish the decorated event stream on the event bus.
- Added possibility to use binary as UUID column. See README in the Bundle for configuration details.
- The CLI Command in the Bundle doesn't throw errors anymore if the schema already exists.
- Updated
beberlei/assert
requirement to 2.0.
- The AggregateFactory is a new required constructor argument for a EventSourcingRepository and the order of the arguments changed.
- Added Aggregate Factories for instantiating aggregates. Now we are not bound to a public constructor.
- A bugfix that caused an infinite loop when supplying a string to the CommandHandler.
- Saga base class is now abstract.
- More typehints to interfaces instead of concrete classes.
- Multiple CS fixes.