Releases: RailsEventStore/rails_event_store
v1.2.2
RailsEventStore
- no changes
RubyEventStore
- no changes
RailsEventStoreActiveRecord
- no changes
AggregateRoot
- no changes
RailsEventStore::RSpec
- no changes
BoundedContext
- no changes
RubyEventStore::Browser
RubyEventStore::ROM
- no changes
v1.2.1
RailsEventStore
- Fix:
RailsEventStore::CorrelatedHandlerdemanded presence ofcorrelation_idin event metadata (since v1.2.0). This is an unwanted change when dealing with events scheduled on previous version [8e725fd]
RubyEventStore
- no changes
RailsEventStoreActiveRecord
- no changes
AggregateRoot
- no changes
RailsEventStore::RSpec
- no changes
BoundedContext
- no changes
RubyEventStore::Browser
- no changes
RubyEventStore::ROM
- no changes
v1.2.0
RubyEventStore
-
Change: Appending or publishing to stream now generates
correlation_idin 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 hascorrelation_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: BIs 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
v1.1.1
RailsEventStore
- no changes
RubyEventStore
- no changes
RailsEventStoreActiveRecord
- Change: Use Event.import instead of making N save calls [#749]
- Change: Use primary key value based offset for batched reads [#750]
- Fix: During encryption boolean values set to false have been replaced by nils - issue [#754] fixed in [04f33ea]
AggregateRoot
- no changes
RailsEventStore::RSpec
- no changes
BoundedContext
- no changes
RubyEventStore::Browser
- no changes
RubyEventStore::ROM
- no changes
v.1.1.0
RailsEventStore
- Change: Bump protobuf to at least 3.12.2 [65dea8f]
- Change: Do not use keyword args as last parameter in method calls [#635]
RubyEventStore
- Change: No-op for Projection when no handlers have been provided [d40829c]
- Change: Skip missing attributes when encrypting/decrypting event's payload [#743]
- Change: Bump protobuf to at least 3.12.2 [65dea8f]
- Allow to pass data and metadata instances to event linter [#734]
- Struct-like protobuf classes eql? and hash on board [protocolbuffers/protobuf/issues/4455] [4b0dab4]
RailsEventStoreActiveRecord
- no changes
AggregateRoot
- Change: Bump protobuf to at least 3.12.2 [65dea8f]
RailsEventStore::RSpec
- no changes
BoundedContext
- no changes
RubyEventStore::Browser
- Change: Dependencies upgrade [#744]
- Change: Don't display "Related streams" header on the bottom if the feature is not used [#731]
RubyEventStore::ROM
- Change: Do not use keyword args as last parameter in method calls [#635]
v1.0.0
Can you imagine this project has started in April, 2015? 5 years, 3496 commits from 54 contributors and 71 releases later we've finally reached version v1.0.0 ✨
Happy hacking with Rails Event Store!
PS. To be honest that could have happened much earlier 😅
v0.44.0
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_hfromRubyEventStore::Event. [#726] -
Change: Rename
typetoevent_typeinRubyEventStore::EventandRubyEventStore::Prototo avoid asymmetry withRubyEventStore::SerializedRecord. [#724]The
typemethod 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
applymatcher 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
v0.43.0
RailsEventStore
- no changes
RubyEventStore
-
Add:
RubyEventStore::Mappers::JSONMappermapper that plays well with Postgres JSON/JSONB indexed columns. [#651, #680] -
Change: Stricter
concurrent-rubyversion constraint to avoid releases causing segmentation fault. [#698, 088d015]
RailsEventStoreActiveRecord
- Change: Support recent changes in MySQL 8.0.x key violation messages. That change in MySQL accounted for some false
RubyEventStore::WrongExpectedEventVersionerrors. In addition to that change, we now test on both 5.7 and 8.0 series on MySQL database. [#697, 3b4250a]
AggregateRoot
-
Fix: Don't expect
OnDSLmethods when usingAggregateRoot.with_strategy. [#678, #679, 4103f17]In particular case of non-strict
AggregateRoot::DefaultApplyStrategymodification, one has to explicitly useAggregateRoot::OnDSL:class MyAggregate include AggregateRoot.with_strategy(->{ DefaultApplyStrategy.new(strict: false) }) extend AggregateRoot::OnDSL end
Otherwise it is unlikely to ever need both
OnDSLandwith_strategy.
RailsEventStore::RSpec
- no changes
BoundedContext
- no changes
RubyEventStore::Browser
- Change: Avoid requiring
Sinatra::Applicationwhich parses ARGV, even when used as a middleware. We rely onSinatra::Base. [#675]
RubyEventStore::ROM
- no changes
v0.42.0
RailsEventStore
- no changes
RubyEventStore
- no changes
RailsEventStoreActiveRecord
- Add: Support Rails 6.0 [#669]
AggregateRoot
- no changes
RailsEventStore::RSpec
- no changes
BoundedContext
- no changes
RubyEventStore::Browser
-
Fix: No more incorrect links to streams and parent event, if RES browser was mounted under a subdirectory [#642, #655]
-
Remove: Stream browser link in top-right corner is no more [#657]
-
Add: Added a simple form (one input field) to go to arbitrary stream from stream browser [#662]
-
Change: Reorder pagination links, and instead not showing them, make the ones which are unavailable, disabled [#664]
-
Fix: Allow more than one browser instance [6b93c33]
RubyEventStore::ROM
- no changes
v0.41.0
RailsEventStore
-
Add:
RailsEventStore::AfterCommitAsyncDispatcherdetects when it is run inside non-joinable transaction. This opens the possibility to use it in transactional tests [#616]after_commit callbacks run after committing a transaction whose parent
is not joinable?: un-nested transactions, transactions within test cases,
and transactions in console --sandbox.
RubyEventStore
- Remove: Deprecated
RubyEventStore::PubSub:: Subscriptions,RubyEventStore::PubSub:: Broker,RubyEventStore::PubSub:: DispatcherandRubyEventStore::Mappers::MissingEncryptionKeyare gone [#634]
RailsEventStoreActiveRecord
- Change: Bump required
activerecord-importdependency to support Rails 6.0.0.rc1 [#645] - Remove: Databse schema verification mechanism that activated on event repository initialization is gone [#644, 2d35c7d]
AggregateRoot
- no changes
RailsEventStore::RSpec
- no changes
BoundedContext
- no changes
RubyEventStore::Browser
- no changes
RubyEventStore::ROM
- no changes