Releases: mbict/go-cqrs
Snapshot
domain aggregate repo
v4.0.0-beta.9 implemented the domain aggregate repository
eventbus error reporting
v4.0.0-beta.8 updated eventbus version
Reverted aggregate id type
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
Fixed stringer implementation aggregateID
Example code inventory updated to not use the uuid package anymore
Go mod
Versioning in package name for go mod
AggregateId is an interface
AggregateId interfaces to the rescue
mysql eventstream repo fixed
bugfis mysql eventstream
Snapshots
-
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
- Added the ability to handle custom logic for the command aggregate handler with method
AggregateCommandHandlerCallback
- Updated UUID calls conform the new interface