Rails Event Store v0.44.0 Release Notes

Release Date: 2020-04-28 // almost 4 years ago
  • ๐Ÿš… RailsEventStore

    • no changes

    ๐Ÿ’Ž RubyEventStore

    ๐Ÿš… Change: Make use of of_type in projections to skip irrelevant events [#709]
    Closes: #681, #682, #569

    ๐Ÿ’Ž Change: Minimize API: remove to_h from RubyEventStore::Event. [#726]

    ๐Ÿ’Ž Change: Rename type to event_type in RubyEventStore::Event and RubyEventStore::Proto to avoid asymmetry with RubyEventStore::SerializedRecord. [#724]

    ๐Ÿš€ The type method will be kept for now for backward compatibility until another release. Generates a deprecation warning.

    ๐Ÿš… RailsEventStoreActiveRecord

    • no changes

    AggregateRoot

    • no changes

    ๐Ÿš… RailsEventStore::RSpec

    โž• Add: New apply matcher for testing AggregateRoot.
    Instead of checking what have_applied by aggregate action this matcher
    will check what have applied during the action.

    aggregate = SomeAggregate.new
    aggregate.do_something
    
    expect { aggregate.do_anything_else }.to
      apply(an_event(SomeEvent)).in(aggregate)
    

    ๐Ÿš… More: https://railseventstore.org/docs/rspec/#aggregateroot-matchers

    BoundedContext

    • no changes

    ๐Ÿ’Ž RubyEventStore::Browser

    • Add: Possibility to specify a query which fetch related stream names. If some related stream names are present, then they are displayed in stream view [#676]

    ๐Ÿ’Ž RubyEventStore::ROM

    • no changes