Skip to content

v0.22.0

Choose a tag to compare

@mostlyobvious mostlyobvious released this 04 Jan 21:00
· 6694 commits to master since this release

RailsEventStore

  • Add: Introduce API to link published event in other streams RailsEventStore#link_to_stream (#177)

    This allows aggregating published events in multiple streams and using such streams as a kind of index. Useful for event-sourced process managers.

    Main qualities:

    • linking an existing, published event to given stream does not trigger event handlers
    • you cannot link same event more than once in a given stream
    • linking follows the same rules regarding expected_version as publishing an event for the first time

RubyEventStore

  • Add: Introduce API to link published event in other streams RubyEventStore#link_to_stream (#177)
  • Fix: disallow publishing same event twice using InMemoryRepository (0f4dddc)

RailsEventStoreActiveRecord

  • Add: Introduce API to link published event in other streams RailsEventStoreActiveRecord#link_to_stream (#177)

AggregateRoot

  • no changes

RailsEventStore::RSpec

  • no changes

BoundedContext

  • no changes

RailsEventStore::Browser

  • Change: Browser no longer relies on Sprockets and Asset Pipeline to deliver static files. Instead ActionDispatch::Static is used to serve scripts.