- Update to ruby_event_store 0.3.1 - fix changing timestamp on reads from repository
- Update to ruby_event_store 0.3.0 - see ruby_event_store changelog for more details
- Implement reading forward & backward (aliasold methods to read forward)
- Implement paging when reading from all streams
- Restore AggregateRoot in RES, but this time as a dependency on aggregate_root gem
- Fix: Error when trying to #read_all_streams #20
- Removed EventEntity class
- All read & returned events are not instances of RailsEventStore::Event class
- RailsEventStore::Event class allows for easier events creation and access to data attributes
- AggregateRoot module & repository extracted to new gem (aggregate_root)
- Moved most core features to the separate gem
ruby_event_store
. We left only rails related implementation here. - It's now assumed that
event_id
has a unique index in the database (the same is applied to the initial migration generator) - Model is no longer validating uniqueness of
event_id
via ActiveRecord - Event does not need any data now, it can be created just like
OrderCreated.new
(without any arguments) - Migration generator is no more generating the
updated_at
field in theevent_store_events
table. We also advise to remove this column, since events shouldn't be ever modified. - In the event's metadata there's a new field
published_at
- Added the
subscribe_to_all_events
method toRailsEventStore::Client
- Subscribing to only one event via
client.subscribe(subscriber, 'OrderCreated')
no longer works. You should useclient.subscribe(subscriber, ['OrderCreated'])
instead. - Default event's name is no longer
OrderCreated
for theOrderCreated
event in theOrders
namespace, now it'sOrders::OrderCreated
Initial release.