v0.29.0
·
5416 commits
to master
since this release
RailsEventStore
- Change: Rewrote the middleware so that it now uses
RubyEventStore::Client#with_metadata
to enrich published events' metadata when using aRailsEventStore::Client
fromRails.application.config.event_store
. By default metadata is enriched withremote_ip
andrequest_id
, you can set your own lambda inrequest_metadata
keyword argument when initializing a client
RubyEventStore
- Add: Added
RubyEventStore::Client#with_metadata
method that enriches all events published inside a block with metadata set with method argument.with_metadata
calls can be nested, in such case metadata from all levels are merged - Change: Deprecated
metadata_proc
keyword argument inRubyEventStore::Client
-with_metadata
method should be used instead
RailsEventStoreActiveRecord
- no changes
AggregateRoot
- no changes
RailsEventStore::RSpec
-
Fix: Matchers now have
description
, making them usable with--format documentation
[#127, #282, #326, #342] -
Fix: Matchers now have
failure_message_when_negated
, making them usable withexpect(...).not_to
[#326, #342]
BoundedContext
- no changes
RailsEventStore::Browser
- no changes
RubyEventStore::ROM
RailsEventStoreActiveRecord::Legacy
- no changes