Rails Event Store v0.43.0 Release Notes
Release Date: 2020-02-26 // about 4 years ago-
๐ RailsEventStore
- no changes
๐ RubyEventStore
Add:
RubyEventStore::Mappers::JSONMapper
mapper that plays well with Postgres JSON/JSONB indexed columns. [#651, #680]Change: Stricter
concurrent-ruby
version 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::WrongExpectedEventVersion
errors. 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
OnDSL
methods when usingAggregateRoot.with_strategy
. [#678, #679, 4103f17]0๏ธโฃ In particular case of non-strict
AggregateRoot::DefaultApplyStrategy
modification, one has to explicitly useAggregateRoot::OnDSL
:class MyAggregateinclude AggregateRoot.with\_strategy(-\>{ DefaultApplyStrategy.new(strict: false) }) extendAggregateRoot::OnDSLend
Otherwise it is unlikely to ever need both
OnDSL
andwith_strategy
.๐ RailsEventStore::RSpec
- no changes
BoundedContext
- no changes
๐ RubyEventStore::Browser
- Change: Avoid requiring
Sinatra::Application
which parses ARGV, even when used as a middleware. We rely onSinatra::Base
. [#675]
๐ RubyEventStore::ROM
- no changes