Skip to content

Releases: envato/event_sourcery

v1.0.0

09 Jan 05:44
0b21aea
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.24.0...v1.0.0

0.14.0

27 Jun 02:32
Compare
Choose a tag to compare

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 accepts aggregate_id parameter that either is
    a strings or responds to to_str.

Custom error handler to catch when event processors throw exception

21 Feb 00:44
Compare
Choose a tag to compare

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.

#95

0.5.2: Merge pull request #89 from envato/bump-version

10 Jan 04:50
Compare
Choose a tag to compare

Minor change to drop dependent tables in TableOwner#reset.