All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.9.1 - 2022-01-20
- Removed the use of
**
for the privateEventStore#build_event
method signature and places that call it.
0.9.0 - 2021-11-18
- Test against Ruby 3.0 in the CI build (#67).
- Use GitHub Actions for the CI build instead of Travis CI (#66).
- This project now uses
main
as its default branch (#68).- Documentation updated to refer to
main
and links updated accordingly.
- Documentation updated to refer to
- Remove Ruby 2.3, 2.4 and 2.5 from the CI test matrix (#70).
0.8.1 - 2020-10-02
- Add Ruby 2.6 and 2.7 to the CI test matrix.
- Remove Ruby 2.2 from the CI test matrix.
- Support for Boxen.
-
Upgrade development dependency Rake to version 13. This resolves CVE-2020-8130.
-
Resolve warnings raised when running on Ruby 2.7.
0.8.0 - 2018-08-06
- Add a
on_events_recorded
config option, that defaults to a no-op proc,
to handle any app specific logic after the events are recoded onEventStore#sink
0.7.0 - 2018-05-23
-
Add a
projector_transaction_size
config option to control how many events are processed before the transaction is commited. The default value is 1 to match the existing behavour.We suggest setting this to match the number of events returned from the event store subscription. This is now configurable in event_sourcery by configuring
subscription_batch_size
.
- Remove upper bound version restriction on
sequel
gem. Now accepts versions 5 and higher.
0.6.0 - 2018-01-02
- Only send info log after processing a group of events
- Remove
processes_events
andprojects_events
as these have been removed in event_sourcery.
0.5.0 - 2017-07-27
- First Version of YARD documentation.
- Fix Sequel deprecation by globally loading pg extensions
0.4.0 - 2017-06-21
- Reactors store the UUID of the event being processed in the
causation_id
of any emitted events. This replaces the old behaviour of storing id of the event being processed in a_driven_by_event_id
attribute in the emitted event's body.
- Reactors store the correlation id of the event being processed in the
correlation_id
of any emitted events. - Added index on the
events
table forcorrelation_id
andcausation_id
columns.
0.3.0 - 2017-06-16
- The event store persists the event
correlation_id
andcausation_id
. To facilitate thiscorrelation_id
andcausation_id
columns have been added to theevents
table and thewrite_events
function has been altered. Event Sourcery apps will need to ensure these DB changes have been applied to use this version of Event Sourcery. - The emit_events method now accepts typed events instead of symbols
- Remove dynamic emit events methods from reactors (e.g. emit_item_added)
0.2.0 - 2017-06-01
- Make
EventSourcery::Postgres::OptimisedEventPollWaiter#shutdown
private - Updated
EventSourcery::Postgres::OptimisedEventPollWaiter#poll
to ensure that#shutdown!
is run when an error is raised or when the loop stops
- Configure projector tracker table name via
EventSourcery::Postgres.configure
- Imported code from the event_sourcery.
- Postgres related configuration is through
EventSourcery::Postgres.configure
instead ofEventSourcery.configure
.