Releases: looplab/eventhorizon
Releases · looplab/eventhorizon
Release list
v0.17.0
0.17.0 (2026-06-16)
Features
- add UnregisterAggregate for runtime type management (5e76116)
- lint: upgrade golangci-lint to 2.10.0 (c8cae33)
- lint: upgrate golangci-lint to 2.8.0 (00990f0)
- mongodb_v2: add WithGlobalPositionStrategy option (7ba1d0b)
- nix: add nix develop flake (780c160)
Bug Fixes
- build: update to Go 1.23 (96b3294)
- build: update to Go 1.23 (ffc1c68)
- ci: update to up/download-artifact v4 (877bcc0)
- ci: update to up/download-artifact v4 (202555f)
- ci: use multiple artifacts for code coverage (b211160)
- ci: use multiple artifacts for code coverage (8bd29cd)
- clean up global registries in tests to support -count>1 (78cb7b8)
- correct typo "handeled" to "handled" in async middleware test (5b9d8f5)
- eliminate flaky tests with synctest (0a9fd82)
- eventbus/gcp: migrate to cloud.google.com/go/pubsub/v2 (4deb4f5)
- eventbus/gcp: migrate to cloud.google.com/go/pubsub/v2 (14708b6)
- examples: rename ExampleIntegration to Example_integration (60e7dd5)
- kafka: use Kafka 3.9.0 and upgrade kafka-go to v0.4.47 (a3bfb18)
- lint: check unchecked error return values (errcheck) (9571c93)
- lint: convert remaining for loops to range syntax (intrange) (6cb07d5)
- lint: migrate golangci-lint config from v1 to v2 (1c14bb8)
- lint: modernize for loops to use range (intrange) (447fbf5)
- lint: remove underscore receiver names (staticcheck ST1006) (e965df4)
- lint: remove unnecessary loop variable copies (copyloopvar) (0e3dfb7)
- lint: remove unnecessary whitespace (00d7dea)
- lint: remove unused code (cb8c825)
- lint: replace fmt.Errorf/Sprintf with errors.New and string concat (4834346)
- lint: resolve contextcheck issues (ab9bbd9)
- lint: resolve errorlint issues (68b47c5)
- lint: resolve gocritic issues (b3a36fd)
- lint: resolve gosec and misc warnings (ee618a3)
- lint: resolve nakedret issue in SaveSnapshot (4804faf)
- lint: resolve staticcheck issues (cf2b901)
- lint: resolve unparam issues (74bae63)
- lint: use errors.New for static error strings (perfsprint) (c82166f)
- lint: use http method constants (usestdlibvars) (d770380)
- lint: use modern Go APIs (modernize) (c86a14e)
- lint: use typed context keys and fix ineffectual assignment (ebc5145)
- makefile: use Docker Compose v2 (b3c17d9)
- mongodb: enable single-node replica set for transactions and change streams (f566469)
- scheduler: increase timing margin in TestMiddleware_Persisted (b33b514)
- scheduler: use synctest to fix TestMiddleware_Cancel flakiness (32c66c5)
- tests: apply synctest to flaky tests across middleware packages (b3a2cb4)
- uuid: remove unnecessary type conversions (14054b2)
Dependencies
- go: upgrade 1.17 to 1.25.6 (edc65a1)
Documentation
- mongodb_v2: add STRATEGY.md documenting global position trade-offs (a3d2298)
Miscellaneous
- bump Go to 1.25.6 (f5627e9)
- deps: bump github.com/nats-io/nats-server/v2 (7df1b3a)
- deps: bump github.com/nats-io/nats-server/v2 from 2.6.2 to 2.7.4 (89f5710)
- deps: bump github.com/nats-io/nats-server/v2 from 2.7.4 to 2.11.12 (6cc4453)
- deps: bump golang.org/x/oauth2 (dbf2afa)
- deps: bump golang.org/x/oauth2 from 0.0.0-20211104180415-d3ed0bb246c8 to 0.27.0 (335f072)
- deps: bump google.golang.org/grpc from 1.40.0 to 1.56.3 (4bc5eac)
- deps: bump google.golang.org/grpc from 1.40.0 to 1.56.3 (420046c)
- deps: bump google.golang.org/protobuf from 1.27.1 to 1.33.0 (d49b59b)
- deps: bump google.golang.org/protobuf from 1.27.1 to 1.33.0 (6e9a9d9)
- deps: bump gopkg.in/yaml.v3 (487d6d2)
- deps: bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.1 (fed4316)
- pkg imported more than once (86050e1)
- pkg imported more than once (556fa51)
- remove golangci-lint backup config (3fa9ad9)
v0.16.0: Snapshots and more
What's Changed
- Fix / Update test services by @maxekman in #373
- feat(commands): add a list func to export registered commands by @klowdo in #374
- Update the Slack sign-up link in the README.md by @zdraganov in #376
- add option to set kafka's StartOffset on the consumer by @JohnRoesler in #379
- allow overriding kafka eventbus topic name by @JohnRoesler in #380
- Avoid reusing variable name + ensure not nil check by @qzio in #385
- set eventStore variable in the inner check by @qzio in #384
- Add option to provide pubsub configuration for topic by @marcwickenden in #382
- support clustered kafka brokers in the form of string delimited list by @JohnRoesler in #387
- split the kafka addr right away as it's used a few places inside NewEventBus() by @JohnRoesler in #388
- fix(eventstore/mongodb): pass context with transaction to inTx handler by @klowdo in #386
- Ephemeral observer middleware by @dhogborg in #390
- Add retry on kafka event handlers by @klowdo in #395
- Eventstore snapshot by @klowdo in #396
New Contributors
- @klowdo made their first contribution in #374
- @zdraganov made their first contribution in #376
- @JohnRoesler made their first contribution in #379
- @marcwickenden made their first contribution in #382
Full Changelog: v0.15.5...v0.16.0
v0.15.5: Fix to register tracing context manually
v0.15.4: Fix command handling cancelation
v0.15.3: Fix missing event in Redis event bus error
v0.15.2: Fix DB closing
v0.15.1: Add nil checks for commands/events
v0.15.0: Outbox pattern, persistant command scheduling
v0.14.10: Retry projections, repo improvements, updated error handling
Features
- Feature / Add retry once option to Projector by @maxekman in #346
- Feature / Add function to find single entity with custom query to mongo repo by @MaxBreida in #352
Fixes
- chore: add golangci-lint as linter by @mavogel in #317
- docs(readme): fix test badge by @mavogel in #347
- Improve error handling by @maxekman in #348
- Fix / Linting issues by @maxekman in #349
- Fix / Event store errors, MongoDB v2 event store bug by @maxekman in #350
- Fix / Kafka reconnect issue by @maxekman in #353
New Contributors
- @mavogel made their first contribution in #317
- @MaxBreida made their first contribution in #352
v0.14.9: Ping MongoDB when creating event store/repos
Fixes
- Fix / Ping MongoDB when creating event store/repos #343