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
fromRubyEventStore::Event
. [#726]๐ Change: Rename
type
toevent_type
inRubyEventStore::Event
andRubyEventStore::Proto
to avoid asymmetry withRubyEventStore::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