eventhorizon

Event Sourcing for Go!

APACHE-2.0 License

Stars
1.6K
Committers
38

Bot releases are visible (Hide)

eventhorizon - v0.11.0: Configurable Eventbus codec

Published by maxekman over 3 years ago

Features

  • 235 / Configurable encoding of events to/from bytes #299

Fixes

  • Fix / GCP emulator and MongoDB images #296
  • Fix / Guest list example #297
  • Fix / Error formatting
eventhorizon - v0.10.0: Kafka event bus

Published by maxekman over 3 years ago

Features

  • Kafka event bus #289

Fixes

  • Eventbus testing enhancements #292
  • Fix / Use Bitnami images for Kafka/Zookeeper #295
  • Use JSON encoding for the Memory repo #294
  • Edit link for PR Template in contributing doc #288
eventhorizon - v0.9.0: Event metadata, updated saga command handling

Published by maxekman almost 4 years ago

Features

  • 117 / Metadata for events #278
  • 281 / Saga command handling #285
  • 280 / AggregateError for errors when handling commands in aggregates, also support for Unwrap() #283

Fixes

  • Fix / Ignore old/duplicates events in projector #273
  • Fix / Projector stability #277
eventhorizon - v0.8.0: GCP event bus improvements, OpenTracing

Published by maxekman almost 4 years ago

Features

  • GCP event bus improvements #270
  • Tracing with OpenTracing #271

Fixes

  • Add String() to aggregate, command and event type #270
  • Make Matcher an interface #270
  • Add observer groups for the observer middleware #270
  • Add cancellable context to EventBus.AddHandler() #270
  • Move min version context to the version repo #270
  • Make waiting for projector entities optional #270
  • Fix incorrect package names for cache Repo #271
  • Rename trace.EventStore to record.EventStore #271
  • Run TodoMVC example in Docker #271
  • Use "eventhorizon:" prefix for error logging #271
  • Implement Cause method on Errors that have a cause #272
eventhorizon - v0.7.3: Update Go to 1.15

Published by maxekman about 4 years ago

Fixes

  • Update Go to 1.15 and dependencies #269
eventhorizon - v0.7.2: Fix async event handler middleware

Published by maxekman about 4 years ago

Fixes

  • Use the wrapped handler name for the async event handler middleware.
eventhorizon - v0.7.1: Fix google/cloud-sdk image version

Published by maxekman about 4 years ago

Fixes

  • Use a fixed version of the google/cloud-sdk image, the latest version has an issue with the pubsub emulator
eventhorizon - v0.7.0: Eventbus simplification

Published by maxekman about 4 years ago

Features

  • ISSUE-262 / Observer as middleware #263
  • Added configuration options for EventStore and Repo #260

Fixes

  • ISSUE-232 / Return error from EventBus.AddHandler() #265
  • Check ModifiedCount in mongodb's Save. #261
  • Fix / Rename example domain packages #264
  • ISSUE-240 / Ignore order when testing ReadRepo.FindAll() #266
  • ISSUE-116 / Race dectection when testing #267
  • Add alternative MongoDB EventStore in Readme #256
  • README.md: trivial: reword MongoDB-dpe #257
  • Adding event stores to documentation #258
eventhorizon - v0.6.0: Official MongoDB drivers

Published by maxekman over 4 years ago

This release switches to the official MongoDB drivers, used in the MongoDB event store and repo and partially in the GCP event bus.

eventhorizon - v0.5.0: Use Google UUID package

Published by maxekman almost 6 years ago

This release switches to use google/uuid as the UUID type instead of the internal UUID.

eventhorizon - v0.4.0: EventStore refactor

Published by maxekman about 6 years ago

Refactors the EventStore to include handling of observers.

eventhorizon - v0.3.0: Command handler middleware

Published by maxekman about 6 years ago

  • Use only Go 1.11 modules.
  • Add command handler middleware for command validation.
  • Move to TravisCI.
eventhorizon - v0.2.0: Use globalsign/mgo MongoDB drivers

Published by maxekman over 6 years ago

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).

eventhorizon - v0.1.0: First tagged release!

Published by maxekman over 6 years ago

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.

Package Rankings
Top 1.4% on Proxy.golang.org
Badges
Extracted from project README
PkgGoDev Coverage Status Go Report Card