Skip to content

Releases: dsantang/domain-events-doctrine

v0.2.2

18 Jan 12:52
71cff42
Compare
Choose a tag to compare

New fixes:

  • Fix a bug where the inner Domain event is not accessible

v0.2.0

12 Nov 20:05
732c0db
Compare
Choose a tag to compare

New fixes:

  • Adds missing unit tests to reach 100% coverage.
  • Adds project infos.

v0.1.0

09 Nov 13:59
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

New features:

  • Enables staging and releasing Domain Events via an EventsTracker.
  • Enables automatically dispatching Domain Events via the collaboration of two Doctrine's lifecycle hooks:
    • The first hook, which listen to the onFlush Doctrine's event, is responsible for staging the events that have happened during the transaction using an Aggregator.
    • The second hook, which listen to the postFlush Doctrine's event, is responsible for dispatching those events so that they can be handled. This hooks kicks in only on in the case where the transaction is successful.