Skip to content

Releases: hallgren/eventsourcing

eventstore/esdb/v0.0.6

23 Apr 20:03
9d68ed1
Compare
Choose a tag to compare
Pre-release

Point to eventsourcing v0.0.21

eventstore/bbolt/v0.0.12

23 Apr 20:07
9d68ed1
Compare
Choose a tag to compare
Pre-release

Point to eventsourcing v0.0.21

v0.0.21

22 Apr 18:56
ae2f606
Compare
Choose a tag to compare

RegisterEvents to serialiser on aggregate

  • RegisterEvents aggregate callback: Callback method RegisterEvents on the aggregate that is called then an aggregate is registered to the serializer via the RegisterAggregate method.

  • RegisterAggregate method on serializer: Will register an aggregate and call the RegisterEvents callback method that will register the aggregate events to the serializer.

eventstore/esdb/v0.0.5

18 Dec 21:00
7885bee
Compare
Choose a tag to compare

Migrated the EventStore-Client-Go module from v1 -> v3.

eventstore/sql/v0.0.12

09 Oct 18:52
1cc90f0
Compare
Choose a tag to compare

Check rows.Err()

v0.0.20

03 May 18:45
2220b9d
Compare
Choose a tag to compare
v0.0.20 Pre-release
Pre-release
  • Added DataAs(i interface{}) error method on the Event struct. Used to convert the Data property to supplied struct. Only the matching properties will be converted as encoding/json is used in the conversion.
  • Rewrote the event stream to easier to understand what each method does.
  • Added Subscribers() EventSubscribers to the repository. The EventSubscribers interface holds the following subscriber methods.
    • All(f func(e Event)) *subscription
      Trigger on every event.
    • AggregateID(f func(e Event), aggregates ...Aggregate) *subscription
      Trigger on events belonging to aggregates based on its identity.
    • Aggregate(f func(e Event), aggregates ...Aggregate) *subscription
      Trigger on events based on the aggregate type.
    • Event(f func(e Event), events ...interface{}) *subscription
      Trigger on application specific events.
    • Name(f func(e Event), aggregate string, events ...string) *subscription
      Trigger on the combined aggregate and event name. Could be useful if the aggregate and event type is not accessible.
  • To terminate a subscription the Close() method is replacing the Unsubscribe()

snapshotstore/sql/v0.0.8

03 May 19:04
Compare
Choose a tag to compare
Pre-release

Point to eventsourcing v0.0.20

eventstore/sql/v0.0.11

03 May 19:02
Compare
Choose a tag to compare
Pre-release

Point to eventsourcing v0.0.20

eventstore/esdb/v0.0.4

03 May 19:03
Compare
Choose a tag to compare
Pre-release

Point to eventsourcing v0.0.20

eventstore/bbolt/v0.0.11

03 May 19:01
Compare
Choose a tag to compare
Pre-release

Point to eventsourcing v0.0.20