Rails Event Store v1.2.0 Release Notes
Release Date: 2020-10-30 // over 3 years ago-
๐ RubyEventStore
๐ Change: Appending or publishing to stream now generates
correlation_id
in metadata when none such is already provided. [#832]Previously in case of missing
correlation_id
, second event in the chain had its value backfilled from causing event id. This was confusing at best. After this change, every event hascorrelation_id
.Was:
event A -> event B -> event C event_id: A event_id: B event_id: C correlation_id: nil correlation_id: A correlation_id: A causation_id: nil causation_id: A causation_id: B
Is now:
event A -> event B -> event C event_id: A event_id: B event_id: C correlation_id: X correlation_id: X correlation_id: X causation_id: nil causation_id: A causation_id: B
๐ RailsEventStore
- ๐ no changes other than in RubyEventStore
๐ RailsEventStoreActiveRecord
- no changes
AggregateRoot
- no changes
๐ RailsEventStore::RSpec
- no changes
BoundedContext
- no changes
๐ RubyEventStore::Browser
- no changes
๐ RubyEventStore::ROM
- no changes