Skip to content

Releases: mbict/go-cqrs

Snapshot

21 Oct 09:26
Compare
Choose a tag to compare

Snapshot constructor fix

domain aggregate repo

10 Oct 10:28
Compare
Choose a tag to compare
v4.0.0-beta.9

implemented the domain aggregate repository

eventbus error reporting

10 Oct 09:53
Compare
Choose a tag to compare
v4.0.0-beta.8

updated eventbus version

Reverted aggregate id type

08 Oct 23:29
Compare
Choose a tag to compare
Pre-release

Reverted aggregate type to google uuid package
Also events now should contain the aggregate id in the event data and should have a aggregateId method to return the aggregate uuid

Bugfix stringer implementation aggregateID

31 Aug 13:24
Compare
Choose a tag to compare

Fixed stringer implementation aggregateID
Example code inventory updated to not use the uuid package anymore

Go mod

31 Aug 11:54
Compare
Choose a tag to compare
Go mod Pre-release
Pre-release

Versioning in package name for go mod

AggregateId is an interface

31 Aug 11:31
a8579c0
Compare
Choose a tag to compare
Pre-release

AggregateId interfaces to the rescue

mysql eventstream repo fixed

22 Feb 21:26
Compare
Choose a tag to compare

bugfis mysql eventstream

Snapshots

22 Feb 21:13
Compare
Choose a tag to compare
  • Bugfix snaphot not loading the latest snaphot version

  • Removed the AggregateComposition structure and made it now a interface

  • Aggregates now always need to include the AggregateContext

  • added setVersion to AggregateContext to make snapshots set the version afterwards

  • AggregateCommandHandler always tries to return the real aggregate and not the composition, if used

  • Bugfix utility function NewEventBaseFromAggregate not counting the uncommitted events for event version

  • Bugfix snapshot repository check if snapshot is needed based on diff offset not working properly

Custom Command handlers for aggregates

08 Jan 15:00
Compare
Choose a tag to compare
  • Added the ability to handle custom logic for the command aggregate handler with method AggregateCommandHandlerCallback
  • Updated UUID calls conform the new interface