Skip to content

Releases: modernice/goes

v0.5.0

12 Feb 14:40
3e9c28d
Compare
Choose a tag to compare

Changelog

  • 3e9c28d chore: go mod tidy && go work sync
  • 78082aa refactor(event/handler)!: change merging behavior of Startup() option
  • f739578 chore(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5
  • 2d55b05 chore(deps): bump golang.org/x/sync from 0.10.0 to 0.11.0
  • e086a36 chore(deps): bump github.com/nats-io/nats.go from 1.38.0 to 1.39.0
  • 528b657 chore(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4
  • 6fde59c chore(deps): bump golang.org/x/net from 0.32.0 to 0.33.0
  • 10845c0 chore(deps): bump google.golang.org/grpc from 1.69.4 to 1.70.0
  • 01293bf chore(deps): bump google.golang.org/protobuf from 1.36.2 to 1.36.3
  • 51234c9 chore(deps): bump google.golang.org/grpc from 1.69.2 to 1.69.4
  • ddeef5a chore(deps): bump go.mongodb.org/mongo-driver from 1.17.1 to 1.17.2
  • b5c8c05 chore(deps): bump google.golang.org/protobuf from 1.36.1 to 1.36.2
  • f3d972e chore(deps): bump google.golang.org/protobuf from 1.36.0 to 1.36.1
  • e3476f2 chore(deps): bump google.golang.org/grpc from 1.69.0 to 1.69.2
  • 34149de chore(deps): bump github.com/nats-io/nats.go from 1.37.0 to 1.38.0
  • ec875fd fix(go.mod): update google.golang.org/protobuf dependency from v1.35.2 to v1.36.0 to incorporate bug fixes and improvements in the latest version
  • 18bcc91 feat(store.go): add WithQueryOptions function to allow custom query options for EventStore
  • 271182e feat(mongo/store): implement WithQueryOptions function to allow adding query interceptors to EventStore
  • a916da9 chore(deps): bump google.golang.org/protobuf from 1.35.2 to 1.36.0
  • f1379e3 chore(deps): bump golang.org/x/crypto from 0.28.0 to 0.31.0
  • fc78dc4 chore(deps): bump golang.org/x/crypto in /examples/todo
  • a135c50 chore(deps): bump google.golang.org/grpc from 1.68.1 to 1.69.0
  • 1701e0d chore(deps): bump nanoid from 3.3.6 to 3.3.8 in /docs
  • 0f73608 chore(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0
  • 92318a0 chore(deps): bump google.golang.org/grpc from 1.68.0 to 1.68.1
  • e9afbef chore(deps): bump google.golang.org/protobuf from 1.35.1 to 1.35.2
  • c620ff3 feat(repository): add Refresh method to TypedRepository for updating aggregates with the latest data chore(go.mod): update Go version to 1.22.9 and update dependencies to their latest versions for improved stability and performance
  • 3d2807b chore(deps): bump google.golang.org/grpc from 1.67.1 to 1.68.0
  • 4e6d267 chore(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0
  • 3879191 chore(deps): bump micromatch from 4.0.5 to 4.0.8 in /docs
  • 4d064b3 chore(deps): bump rollup from 2.79.1 to 2.79.2 in /docs
  • 653e9a0 chore(deps): bump google.golang.org/protobuf from 1.34.2 to 1.35.1
  • 48e61ff chore(deps): bump go.mongodb.org/mongo-driver from 1.17.0 to 1.17.1
  • 1da42d0 chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.67.1
  • af84937 chore(deps): bump google.golang.org/grpc from 1.66.2 to 1.67.0
  • e888b5e chore(deps): bump go.mongodb.org/mongo-driver from 1.16.1 to 1.17.0
  • 84e4ada chore(deps-dev): bump vite from 3.2.10 to 3.2.11 in /docs
  • 181f332 refactor(handler.go): improve Async method documentation and return type for better clarity refactor(handler.go): simplify And method by removing async mode check during merging of handlers
  • feeb64f chore(deps): bump google.golang.org/grpc from 1.66.1 to 1.66.2
  • 97e68b4 chore(deps): bump google.golang.org/grpc from 1.66.0 to 1.66.1
  • 677242f chore(deps): bump google.golang.org/grpc from 1.65.0 to 1.66.0
  • c067bb6 chore(deps): bump github.com/nats-io/nats.go from 1.36.0 to 1.37.0
  • 27534b1 chore(deps): bump go.mongodb.org/mongo-driver from 1.16.0 to 1.16.1
  • d023d8a chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0
  • 21b6c1f chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0
  • 4b70916 chore(deps): bump go.mongodb.org/mongo-driver from 1.15.1 to 1.16.0
  • cb6e848 feat(handler.go): enhance Handler struct with detailed comments for better code understanding and maintenance
  • a706e8a feat(go.mod): update dependencies for nats.io, mongo-driver, and protobuf
  • bf60648 refactor(handler.go): streamline event handling by removing unused interfaces and methods, and introducing a more structured Handler type with support for asynchronous event processing. This change simplifies the event handling architecture, improves maintainability, and allows for more flexible event subscription management.
  • 0f03e25 feat(go.mod): update dependencies for improved stability and security
  • c31746e chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
  • 43bc0e0 chore(deps): bump github.com/nats-io/nats.go from 1.35.0 to 1.36.0
  • 7060ad8 chore(deps): bump go.mongodb.org/mongo-driver from 1.15.0 to 1.15.1
  • 0884f6a chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /docs
  • 98250b7 chore(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2
  • 5670d75 chore(deps): bump github.com/nats-io/nats.go from 1.34.1 to 1.35.0
  • fa6dcd3 chore(deps): bump google.golang.org/grpc from 1.63.2 to 1.64.0
  • c665e18 chore(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1
  • f85d088 chore(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0
  • 269df6e chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
  • d4db347 chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.2
  • d692f63 chore(deps-dev): bump vite from 3.2.8 to 3.2.10 in /docs
  • 42e52d4 chore(deps): bump github.com/nats-io/nats.go from 1.34.0 to 1.34.1
  • 2af5d7c chore(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0
  • 7a05617 chore(deps): bump go.mongodb.org/mongo-driver from 1.14.0 to 1.15.0
  • fb83dd4 chore(deps): bump github.com/nats-io/nats.go from 1.33.1 to 1.34.0
  • 52c2197 chore(deps): bump google.golang.org/protobuf in /examples/todo
  • 9901579 chore(deps): bump github.com/jackc/pgx/v4 from 4.18.2 to 4.18.3
  • e33882b chore(deps): bump google.golang.org/grpc from 1.62.0 to 1.62.1
  • bec4dfa chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0
  • 5af73c3 chore(deps): bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2
  • 977d4b6 chore(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0
  • be8bad7 chore(deps): bump github.com/nats-io/nats.go from 1.33.0 to 1.33.1
  • 79d0b60 chore(deps): bump go.mongodb.org/mongo-driver from 1.13.1 to 1.14.0
  • 49709a1 chore(deps): bump github.com/nats-io/nats.go from 1.32.0 to 1.33.0
  • b17844e chore(deps): bump google.golang.org/grpc from 1.61.0 to 1.61.1
  • ef8603b chore(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0
  • ffa0d67 chore(deps): bump google.golang.org/grpc from 1.60.1 to 1.61.0
  • d484e11 chore(deps-dev): bump vite from 3.2.7 to 3.2.8 in /docs
  • cf3cb60 chore(deps): bump github.com/nats-io/nats.go from 1.31.0 to 1.32.0
  • 0a09bae chore(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0
  • b4f87fd chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0
  • fac0dca chore(deps): bump google.golang.org/grpc from 1.60.0 to 1.60.1
  • 9d9b80d chore(deps): bump golang.org/x/crypto in /examples/todo
  • 62229e9 chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0
  • 8808d9d chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0
  • 1943f1f chore(deps): bump google.golang.org/grpc from 1.59.0 to 1.60.0
  • 78c5d34 chore(deps): bump go.mongodb.org/mongo-driver from 1.13.0 to 1.13.1

v0.4.6..v0.5.0

v0.4.6

28 Nov 21:08
3df97cb
Compare
Choose a tag to compare

Changelog

  • 3df97cb fix(repository_test.go): add event time to support fast machines during tests
  • 83f0216 fix(gtest): fix TransitionTest when matching same event multiple times with different event data
  • 3fcc13e chore(deps): bump go.mongodb.org/mongo-driver from 1.12.1 to 1.13.0

v0.4.5..v0.4.6

v0.4.5

06 Nov 22:39
a0efc1a
Compare
Choose a tag to compare

Changelog

  • a0efc1a chore(deps): update dependencies
  • 6e491ac fix(command/cmdbus): track dispatch before publishing event
  • 5cf3f58 feat(event/eventbus): add artificial delay option to simulate network latency
  • 186872e chore(deps): go work syc && go mod tidy
  • 33cc3d9 chore(deps): bump github.com/nats-io/nkeys in /examples/todo
  • 2e68087 chore(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6
  • ef883dc chore(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0
  • 396265d chore(deps): bump google.golang.org/grpc from 1.58.3 to 1.59.0
  • d725aa3 chore(deps): bump github.com/nats-io/nats.go from 1.30.2 to 1.31.0
  • ebc1ba4 chore(deps): bump golang.org/x/net from 0.15.0 to 0.17.0
  • 32cf0fd chore(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0
  • 43fa022 chore(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3
  • 37aa520 chore(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0
  • 18afc1f chore(deps-dev): bump postcss from 8.4.16 to 8.4.31 in /docs
  • f54ef9f chore(deps): bump github.com/nats-io/nats.go from 1.30.1 to 1.30.2
  • 67035e5 chore(deps): bump github.com/nats-io/nats.go from 1.30.0 to 1.30.1
  • 7c8e419 refactor(store.go): change var to const for PreInsert hook to ensure its value remains immutable
  • 36cb215 Prevent caller to modify underlying array
  • 875903b feat(exp/gtest): export TransitionWithComparer
  • c370af7 docs(commands): add deprecation notice to command/builtin package README.md to inform users about the package status
  • daa3da4 chore(github/workflows): change test environment from self-hosted to ubuntu-latest for mongo-test.yml and nats-test.yml to ensure consistency and reliability of test environments
  • b4973bd chore(deps): bump google.golang.org/grpc from 1.58.1 to 1.58.2
  • 0d8a1f3 refactor(eventbustest/core.go): increase event timeout from 50ms to 500ms for better test reliability
  • ee66a9a chore: remove CodeQL analysis workflow file

v0.4.4..v0.4.5

v0.4.4

21 Sep 15:24
49ade70
Compare
Choose a tag to compare

Changelog

  • 49ade70 feat(cached.go): modify Clear() function to accept optional UUIDs for selective cache clearing
  • 4b51c72 feat(repository): add CachedRepository for caching fetched aggregates

v0.4.3..v0.4.4

v0.4.3: feat(event): add `handler.StartupQuery()` option (closes #124)

20 Sep 19:55
5b8eb52
Compare
Choose a tag to compare

Changelog

  • 5b8eb52 feat(event): add handler.StartupQuery() option (closes #124)
  • 65e0bfd refactor(handler.go): remove unnecessary sync.WaitGroup usage in handleEvents function to simplify code and improve readability
  • bb69ef0 feat(event): add handler.Workers() option
  • 5f0ca91 feat(aggregate): automatically add query.Name() option (closes #144)
  • 5d9a40b refactor(query.go): restructure Query and related types for better clarity and flexibility
  • a01aba8 docs: update test badges
  • 477a017 chore(github-actions): update Go setup step in codeql-analysis, mongo-test, and nats-test workflows
  • 617ce50 chore(deps): update dependencies to their latest versions for improved stability and security
  • 68a5d49 feat(.github/workflows): add mongo-test and nats-test workflows to run tests on push and pull requests to main branch
  • a2d22e4 feat(aggregate.go): add Comparable interface and TransitionWithEqual function for custom event data comparison
  • 1126952 refactor(exp/gtest/README.md): update User creation function to use Data() method for event data access

v0.4.2..v0.4.3

v0.4.2

15 Sep 16:13
49371d5
Compare
Choose a tag to compare

Changelog

  • 49371d5 chore(dockerfiles): upgrade base image from golang:1.18 to golang:1.21
  • c39dd69 chore(go.mod, go.work): upgrade Go version from 1.20 to 1.21 for compatibility with latest features and improvements
  • 41472b3 chore(test.yml): update Go version from 1.20 to 1.21.0 in GitHub Actions to ensure compatibility with the latest version
  • a01688b chore(test.yml): update Go version from 1.18 to 1.20 in GitHub Actions to ensure compatibility with latest Go features

v0.4.1..v0.4.2

v0.4.1: chore(deps): upgrade dependencies

15 Sep 15:57
6018f81
Compare
Choose a tag to compare

Changelog

  • 6018f81 chore(deps): upgrade dependencies
  • 00c05ec feat(gtest): add testing utilities for event-sourcing patterns
  • a05cba9 chore(deps): bump google.golang.org/grpc from 1.58.0 to 1.58.1

v0.4.0..v0.4.1

v0.4.0: chore(go.mod): update dependencies to latest versions

14 Sep 16:47
225ea1b
Compare
Choose a tag to compare

Changelog

  • 225ea1b chore(go.mod): update dependencies to latest versions
  • 84f12a3 chore(go.mod): update dependencies of example
  • d365bb2 chore(deps): go mod tidy
  • 7c7d64c chore(deps): bump google.golang.org/grpc from 1.57.0 to 1.58.0
  • ec18eff chore(deps): bump github.com/nats-io/nats.go from 1.28.0 to 1.29.0
  • 806666a chore(deps): bump github.com/nats-io/nats.go from 1.28.0 to 1.29.0
  • 5c7a424 feat(mongo): enhance EventStore with transaction hooks and detailed comments

v0.3.7..v0.4.0

v0.3.7

25 Aug 17:29
a6002ff
Compare
Choose a tag to compare

Changelog

  • a6002ff feat(streams.go): add Take function to limit the number of elements received from a channel
  • 9005f1a refactor(handler.go): improve comments for better code understanding
  • 7826f58 chore(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1

v0.3.6..v0.3.7

v0.3.6: chore(go.mod): update dependencies for better performance and security

09 Aug 13:49
7f19839
Compare
Choose a tag to compare

Changelog

  • 7f19839 chore(go.mod): update dependencies for better performance and security
  • b7e5060 feat(store.go): enable disk use in MongoDB find options to handle large result sets
  • 84748f2 chore(deps-dev): bump vite from 3.0.9 to 3.2.7 in /docs
  • bacbe41 chore(deps): bump go.mongodb.org/mongo-driver from 1.12.0 to 1.12.1
  • d2953fc chore(deps): bump google.golang.org/grpc from 1.56.2 to 1.57.0
  • a2443ae chore(deps): bump github.com/nats-io/nats.go from 1.27.1 to 1.28.0
  • 0d65a9b chore(Makefile): update docker-compose commands to use 'docker compose' instead of 'docker-compose' for consistency
  • 3f20a19 Update test.yml
  • d1dcb7f chore(deps): bump google.golang.org/grpc from 1.56.1 to 1.56.2
  • 3b03035 chore(deps): bump google.golang.org/protobuf from 1.30.0 to 1.31.0

v0.3.5..v0.3.6