Releases: envato/event_sourcery
Releases · envato/event_sourcery
v1.0.0
What's Changed
- Add new ruby versions to matrix test by @daniel-niknam-envato in #234
- Event.persisted? is potentially misleading by @andyjdavis in #235
New Contributors
- @andyjdavis made their first contribution in #235
Full Changelog: v0.24.0...v1.0.0
0.14.0
Added
- Added
Event#to_h
method. This returns a hash of the event attributes. - Added
Event#with
method. This provides a way to create a new event
identical to the old event except for the provided changes. Event#initialize
acceptsaggregate_id
parameter that either is
a strings or responds toto_str
.
Custom error handler to catch when event processors throw exception
Currently, the default behaviour for event processors using the ESPRunner is retry on exception. It prints the error message to the event sourcery log (which if configured spits it out to your application log) however it doesn't allow for you to get a handle on that error ie. to report to rollbar or raise alarm.
This change allows a proc to be passed into EventSourcery.config (similar to on_unknown_event) which is called when an exception is raised from within a processor.
0.5.2: Merge pull request #89 from envato/bump-version
Minor change to drop dependent tables in TableOwner#reset
.