Releases: looplab/eventhorizon
v0.4.0: EventStore refactor
Refactors the EventStore to include handling of observers.
v0.3.0: Command handler middleware
- Use only Go 1.11 modules.
- Add command handler middleware for command validation.
- Move to TravisCI.
v0.2.0: Use globalsign/mgo MongoDB drivers
The only change in this release is the use of the globalsign/mgo MongoDB driver which is actively maintained compared to labix/mgo (from which it is forked).
v0.1.0: First tagged release!
This is the first tagged release of Event Horizon!
However the API is not stable yet, which is reflected by the <v1.0 version.
It is also the last tag to use the older labix/mgo driver (which is not maintained anymore).
Previous changes
2016-09-18
AWS DynamoDB event store is now in master. Also the Wercker CI config was updated to use the new Docker pipeline.
2016-06-17
Added exprimental support for an event store using AWS DynamoDB in the branch "dynamodb".
2016-06-16
Use native Go testing instead of Go check everywhere.
2016-06-10
Use native Go testing instead of Go check for the core types. Fix a small, unlikely bug where the aggregate could be nil in the command handler.
2016-06-09
Move storage and messaging implementations to its own packages for better dependency management and readability.
Move common domain objects to its own package for the examples.
2015-01-20
Addded CommandBus that routes commands to handlers. This is for upcoming Saga support. The dispatcher is now renamed to AggregateCommandHandler and must be added to the CommandBus. At the moment Commands have to registered both in the handler and on the bus, this may change in the future.
Added MongoDB ReadRepository implementation. Use with "-tags mongo", same as the MongoDB event store.
2015-01-14
Added Repository that creates/loads and saves aggregates. This needed additional methods in the Aggregate interface.
Removed the reflection based dispatcher, the code was worse performing and harder to test. There was also a bit too much magic going on. If you would like it back open an issue for further discussion.
Renamed Repository to ReadRepository to better adhere to CQRS standards and to free the name to a Aggregate/Saga repository in development.
2015-01-12
Added an EventStore implementation for MongoDB. It currently uses one document per aggregate with all events as an array to make the most out of MongoDBs lack of trasactions. It still takes two operations when adding events but at least there is a check that the version has not been changed by another operation in between. If you want to use the MongoDB event store add "-tags mongo" to your project build.
2015-01-07
As of this version commands and events are recommended to be passed around as pointers, instead of values as the previous versions did. Passing as values may still work, but is not tested at the momemnt. It should not requrie much changes in applications using Event Horizon, simple pass all commands and events with & before them or create them as *XXXCommand, see the examples and tests for usage. There are also some other API changes to method names, mostly with using "handler" as a more common term.