Rails Event Store v1.2.0 Release Notes

Release Date: 2020-10-30 // about 2 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 has correlation_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