Releases: ThreeDotsLabs/watermill-amqp
Releases · ThreeDotsLabs/watermill-amqp
v3.0.2
What's Changed
- Inject raw Delivery.Redelivered in message.Message to deduce duplicate message by @samartha-kar23 in #32
New Contributors
- @samartha-kar23 made their first contribution in #32
Full Changelog: v3.0.1...v3.0.2
v3.0.1
v3.0.0
What's Changed
- Change Build Topology to accept the routing key and topic by @m110 in #27
- Original changes by @tobiasjaster in #19
This version extends the topology builder to allow using the routing key.
It fixes ThreeDotsLabs/watermill#305
Upgrading to v3
If you use the default TopologyBuilder, you don't need to do anything.
If you implement a custom TopologyBuilder, update the BuildTopology method. It now takes params amqp.BuildTopologyParams instead of queueName string, exchangeName string.
- BuildTopology(channel *amqp.Channel, queueName string, exchangeName string, config Config, logger watermill.LoggerAdapter) error
+ BuildTopology(channel *amqp.Channel, params BuildTopologyParams, config Config, logger watermill.LoggerAdapter) errorInside the method, replace queueName with params.QueueName and exchangeName with params.ExchangeName.
Full Changelog: v2.1.3...v3.0.0
v2.1.3
v2.1.2
v2.1.1
Bump watermill
v2.1.0 Bump watermill (#20)