Skip to content

3.0 Release

Compare
Choose a tag to compare
@codeliner codeliner released this 01 May 20:01
· 936 commits to master since this release

Complete Rewrite

The 3.0 version of ProophEventStore is a complete rewrite. The store now handles Prooph\Common\Messaging\DomainEvent instead of StreamEvents which causes massive BC breaks. It is recommended to only use v3.0 for new projects, otherwise you will need to change a lot of code. Also checkout new versions of the PES adapters!

Changed

  • AdapterInterface renamed to Adapter - BC break!
  • TransactionFeatureInterface renamed to CanHandleTransaction - BC break!
  • AggregateTranslatorInterface renamed to AggregateTranslator - BC break!
  • AggregateTypeProviderInterface renamed to AggregateTypeProvider - BC break!
  • FeatureInterface renamed to Feature - BC break!
  • FeatureManager renamed to ZF2FeatureManager - BC break!
  • StreamStrategyInterface renamed to StreamStrategy - BC break!
  • StreamStrategy::load got an optional new parameter minVersion - BC break!
  • Removed StreamEvent, EventId and EventName, EventStore uses Prooph\Common\Messaging\DomainEvent instead - BC break!
  • Replaced EventManager with ActionEventDispatcher and changed method EventStore::getPersistenceEvents to getActionEventDispatcher