Southclaws / storyden

With a fresh new take on traditional bulletin board forum software, Storyden is a modern, secure and extensible platform for building communities.
https://www.storyden.org/
Mozilla Public License 2.0
93 stars 11 forks source link

Update module github.com/ThreeDotsLabs/watermill-amqp/v2 to v3 #245

Closed renovate[bot] closed 4 weeks ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/ThreeDotsLabs/watermill-amqp/v2 v2.1.3 -> v3.0.0 age adoption passing confidence

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.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.



This PR was generated by Mend Renovate. View the repository job log.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **storyden** | ⬜️ Ignored ([Inspect](https://vercel.com/southclaws-projects/storyden/BQjJKWDQumeUEm2H2UKiZ2Rgq6i9)) | [Visit Preview](https://storyden-git-renovate-major-all-api-13bac5-southclaws-projects.vercel.app) | | Oct 19, 2024 3:14am | | **storyden-homepage** | ⬜️ Ignored ([Inspect](https://vercel.com/southclaws-projects/storyden-homepage/EMJpEQZfpdmujVqPyEixhypnhHqP)) | [Visit Preview](https://storyden-homepage-git-renovate-major-7021a3-southclaws-projects.vercel.app) | | Oct 19, 2024 3:14am |