ThreeDotsLabs/watermill-amqp (github.com/ThreeDotsLabs/watermill-amqp/v2)
### [`v3.0.0`](https://redirect.github.com/ThreeDotsLabs/watermill-amqp/releases/tag/v3.0.0)
[Compare Source](https://redirect.github.com/ThreeDotsLabs/watermill-amqp/compare/v2.1.3...v3.0.0)
#### What's Changed
- Change Build Topology to accept the routing key and topic by [@m110](https://redirect.github.com/m110) in [https://github.com/ThreeDotsLabs/watermill-amqp/pull/27](https://redirect.github.com/ThreeDotsLabs/watermill-amqp/pull/27)
- Original changes by [@tobiasjaster](https://redirect.github.com/tobiasjaster) in [#19](https://redirect.github.com/ThreeDotsLabs/watermill-amqp/issues/19)
This version extends the topology builder to allow using the routing key.
It fixes [https://github.com/ThreeDotsLabs/watermill/issues/305](https://redirect.github.com/ThreeDotsLabs/watermill/issues/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`.
```diff
- 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) error
```
Inside the method, replace `queueName` with `params.QueueName` and `exchangeName` with `params.ExchangeName`.
**Full Changelog**: https://github.com/ThreeDotsLabs/watermill-amqp/compare/v2.1.3...v3.0.0
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v2.1.3
->v3.0.0
Release Notes
ThreeDotsLabs/watermill-amqp (github.com/ThreeDotsLabs/watermill-amqp/v2)
### [`v3.0.0`](https://redirect.github.com/ThreeDotsLabs/watermill-amqp/releases/tag/v3.0.0) [Compare Source](https://redirect.github.com/ThreeDotsLabs/watermill-amqp/compare/v2.1.3...v3.0.0) #### What's Changed - Change Build Topology to accept the routing key and topic by [@m110](https://redirect.github.com/m110) in [https://github.com/ThreeDotsLabs/watermill-amqp/pull/27](https://redirect.github.com/ThreeDotsLabs/watermill-amqp/pull/27) - Original changes by [@tobiasjaster](https://redirect.github.com/tobiasjaster) in [#19](https://redirect.github.com/ThreeDotsLabs/watermill-amqp/issues/19) This version extends the topology builder to allow using the routing key. It fixes [https://github.com/ThreeDotsLabs/watermill/issues/305](https://redirect.github.com/ThreeDotsLabs/watermill/issues/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`. ```diff - 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) error ``` Inside the method, replace `queueName` with `params.QueueName` and `exchangeName` with `params.ExchangeName`. **Full Changelog**: https://github.com/ThreeDotsLabs/watermill-amqp/compare/v2.1.3...v3.0.0Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.