Releases: ThreeDotsLabs/watermill
Releases · ThreeDotsLabs/watermill
v1.5.1
v1.5.0
What's Changed
- chore: fix function in comment by @chengehe in #578
- Add handler name to logs of handler.handleMessage() by @HansvdLaanNedap in #592
- docs: fix mismatched kafka pubsub examples by @alexandregv in #587
- refactor: replace []byte(fmt.Sprintf) with fmt.Appendf by @minxinyi in #585
- docs: Clarify partitioning key in Kafka example documentation by @abramovd in #577
- Bump github.com/redis/go-redis/v9 from 9.7.0 to 9.7.3 in /_examples/real-world-examples/delayed-requeue by @dependabot[bot] in #549
- Bump golang.org/x/net from 0.28.0 to 0.36.0 in /tools/mill by @dependabot[bot] in #546
- Bump vite from 5.4.8 to 5.4.12 in /docs by @dependabot[bot] in #541
- add memory clean up on gochannel subscribe topics when they no longer have any more subscribers by @dkotik in #561
- Use errors.Is for error comparison instead of direct equality checks by @ytnsym in #502
- Refactored sending lock of subscriber by @stephanvanzwienen in #589
- Update watermill-sql in examples by @m110 in #532
- Adds feature to use ULID in tests by @HolyKingCrusader in #444
- Clean up resources in Go channel pub sub [Memory leak] by @avlajcic-axilis in #407
- Add NewMessageWithContext() by @m110 in #596
- Tests: Make asserts less verbose by @m110 in #595
- docs: Fix spelling error: 'ques' to 'queues' in SNS configuration aws.md by @pxwanglu in #597
- Allow for custom labels on prometheus metrics by @matdurand in #393
- Upgrade github.com/cenkalti/backoff to v5 by @EvanMad in #570
- Uncancel context when retrying by @roblaszczak in #598
- Update TestMessageContext by @m110 in #599
- Add context propogation to subscribers for local pub-sub by @yashb042 in #487
New Contributors
- @chengehe made their first contribution in #578
- @HansvdLaanNedap made their first contribution in #592
- @alexandregv made their first contribution in #587
- @minxinyi made their first contribution in #585
- @abramovd made their first contribution in #577
- @ytnsym made their first contribution in #502
- @stephanvanzwienen made their first contribution in #589
- @HolyKingCrusader made their first contribution in #444
- @avlajcic-axilis made their first contribution in #407
- @pxwanglu made their first contribution in #597
- @matdurand made their first contribution in #393
- @EvanMad made their first contribution in #570
- @yashb042 made their first contribution in #487
Full Changelog: v1.4.7...v1.5.0
v1.4.7
What's Changed
- don't log context cancellation as error in handler by @roblaszczak in #555
- nacking messages when context canceled by @roblaszczak in #556
- Clarify comment for Addhandler and multiple topics by @addshore in #551
- Add nkonev/watermill-opentelemetry by @nkonev in #553
- refactor: use slices.Contains to simplify code by @whosehang in #559
- Remove hashicorp/go-multierror by @co60ca in #550
- Linter: Added support for multi-go.mod repos by @roblaszczak in #569
- remove obsolete .golangci.yml by @roblaszczak in #573
- Make the retry middleware more flexible by @xico42 in #582
New Contributors
- @addshore made their first contribution in #551
- @nkonev made their first contribution in #553
- @whosehang made their first contribution in #559
- @co60ca made their first contribution in #550
- @xico42 made their first contribution in #582
Full Changelog: v1.4.6...v1.4.7
v1.4.6
v1.4.5
What's Changed
- remove handler groups from _examples/basic/5-cqrs-protobuf and polish it a bit by @roblaszczak in #525
- update example real-world-example consumer-groups refactor cqrs.Facad… by @ygaros in #542
- feat(cqrs): add ability to return handlers for CQRS EventProcessor and d CommandProcessor by @ekazakas in #544
New Contributors
Full Changelog: v1.4.4...v1.4.5
v1.4.4
What's Changed
- another try to fix race condition by @roblaszczak in #540
- deprecate
cqrs.ProtobufMarshaler(with github.com/gogo/protobuf) in favour ofcqrs.ProtoMarshalerby @roblaszczak in #526
Suggested migration steps for cqrs.ProtobufMarshaler
cqrs.ProtobufMarshaler from this release is backward and forward compatible with cqrs.ProtoMarshaler.
cqrs.ProtobufMarshaler from Watermill versions until v1.4.3 are not forward compatible with cqrs.ProtoMarshaler.
Suggested migration steps:
- Update Watermill to v1.4.4 or newer, so all publishers and subscribers will be forward and backward compatible.
- Change all usages of
cqrs.ProtobufMarshalertocqrs.ProtoMarshaler.
Full Changelog: v1.4.3...v1.4.4
v1.4.3
What's Changed
- Fix typos by @NathanBaulch in #512
- message: fix struct name in comment by @hongmengning in #520
- Example SSE: lock the versions of used Vue package so the example runs. by @thpk in #514
- fix race condition in TestMapExpiringKeyRepositoryCleanup by @roblaszczak in #535
- added ForceShort for test features by @roblaszczak in #537
New Contributors
- @NathanBaulch made their first contribution in #512
- @hongmengning made their first contribution in #520
Full Changelog: v1.4.2...v1.4.3
v1.4.2
What's Changed
- docs: Add benchmark by @m110 in #516
- added PostgreSQL Caveats by @roblaszczak in #518
- use generic CQRS handlers in all examples by @roblaszczak in #519
- chore: fix the readme word spelling by @weiye-Lee in #524
- Update codecov settings by @m110 in #533
- fix flaky TestEventProcessor_handler_group by @roblaszczak in #534
New Contributors
- @weiye-Lee made their first contribution in #524
Full Changelog: v1.4.1...v1.4.2
v1.4.1
v1.4.0
What's Changed
- Add "Releases" link to docs by @m110 in #481
- docs: Fix menu position by @m110 in #482
- docs: Add Plausible by @m110 in #483
- allow generating test topics and sending non-empty messages by @roblaszczak in #490
- feat(metrics): custom histogram buckets configuration by @thejoeejoee in #489
- Replace kafka-console-consumer with mill util by @KirylJazzSax in #478
- Add NewDefaultRouter constructor by @m110 in #493
- Update Getting Started by @m110 in #494
- Docs v2 by @m110 in #498
- docs: Fix og rendering by @m110 in #500
- Bump amqp to v3 by @m110 in #503
- Add test helpers to codecov ignore by @m110 in #504
- Docs cosmetics by @roblaszczak in #505
- Requeuer and Message Delay by @m110 in #469
- Add AWS examples by @m110 in #507
- Slog level mapping by @roblaszczak in #510
- added AWS v1.0 docs by @roblaszczak in #506
- Add more docs on requeue by @m110 in #509
New Contributors
- @KirylJazzSax made their first contribution in #478
Full Changelog: v1.3.7...v1.4.0