Skip to content

Releases: RailsEventStore/rails_event_store

v1.2.2

03 Nov 15:15

Choose a tag to compare

RailsEventStore

  • no changes

RubyEventStore

  • no changes

RailsEventStoreActiveRecord

  • no changes

AggregateRoot

  • no changes

RailsEventStore::RSpec

  • no changes

BoundedContext

  • no changes

RubyEventStore::Browser

  • Fix: Browser too strict on requiring correlation_id presence since v1.2.0 [#835, a9526a0]

RubyEventStore::ROM

  • no changes

v1.2.1

02 Nov 15:39

Choose a tag to compare

RailsEventStore

  • Fix: RailsEventStore::CorrelatedHandlerdemanded presence of correlation_id in 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

30 Oct 12:19

Choose a tag to compare

RubyEventStore

  • Change: Appending or publishing to stream now generates correlation_id in 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 has correlation_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:   B
    

    Is 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

20 Aug 08:21
a1ceac0

Choose a tag to compare

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

28 Jul 16:50
e37015f

Choose a tag to compare

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

28 Apr 19:51

Choose a tag to compare

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

28 Apr 07:46
c08d1d7

Choose a tag to compare

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 from RubyEventStore::Event. [#726]

  • Change: Rename type to event_type in RubyEventStore::Event and RubyEventStore::Proto to avoid asymmetry with RubyEventStore::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

v0.43.0

26 Feb 12:59

Choose a tag to compare

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]

    In particular case of non-strict AggregateRoot::DefaultApplyStrategy modification, one has to explicitly use AggregateRoot::OnDSL:

    class MyAggregate
      include AggregateRoot.with_strategy(->{ DefaultApplyStrategy.new(strict: false) })
      extend  AggregateRoot::OnDSL
    end

    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

v0.42.0

30 Sep 22:02

Choose a tag to compare

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

19 Jul 09:14

Choose a tag to compare

RailsEventStore

  • Add: RailsEventStore::AfterCommitAsyncDispatcher detects 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:: Dispatcher and RubyEventStore::Mappers::MissingEncryptionKey are gone [#634]

RailsEventStoreActiveRecord

  • Change: Bump required activerecord-import dependency 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