Rails Event Store v0.43.0 Release Notes

Release Date: 2020-02-26 // almost 3 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 using AggregateRoot.with_strategy. [#678, #679, 4103f17]

    0๏ธโƒฃ In particular case of non-strict AggregateRoot::DefaultApplyStrategy modification, one has to explicitly use AggregateRoot::OnDSL:

    class MyAggregateinclude AggregateRoot.with\_strategy(-\>{ DefaultApplyStrategy.new(strict: false) }) extendAggregateRoot::OnDSLend
    

    Otherwise it is unlikely to ever need both OnDSL and with_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 on Sinatra::Base. [#675]

    ๐Ÿ’Ž RubyEventStore::ROM

    • no changes