Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 3, 2021

Bumps github.com/michaelklishin/rabbit-hole/v2 from 2.8.0 to 2.9.0.

Release notes

Sourced from github.com/michaelklishin/rabbit-hole/v2's releases.

2.9.0

Changes Between 2.8.0 and 2.9.0 (Jun 2, 2021)

This release contains minor breaking public API changes.

Support for Lists of Federation Upstream URIs

Federation definition now uses a dedicated type, URISet, to represent a set of URIs that will be tried sequentially until the link can successfully connect and authenticate:

type FederationDefinition struct {
	Uri            URISet `json:"uri"`
	Expires        int    `json:"expires,omitempty"`
	MessageTTL     int32  `json:"message-ttl"`
	MaxHops        int    `json:"max-hops,omitempty"`
	PrefetchCount  int    `json:"prefetch-count,omitempty"`
	ReconnectDelay int    `json:"reconnect-delay"`
	AckMode        string `json:"ack-mode,omitempty"`
	TrustUserId    bool   `json:"trust-user-id"`
	Exchange       string `json:"exchange,omitempty"`
	Queue          string `json:"queue,omitempty"`
}
// URISet represents a set of URIs used by Shovel, Federation, and so on.
// The URIs from this set are tried until one of them succeeds
// (a shovel or federation link successfully connects and authenticates with it)
type URISet []string

GitHub issues: #193, #194

Changelog

Sourced from github.com/michaelklishin/rabbit-hole/v2's changelog.

Changes Between 2.8.0 and 2.9.0 (Jun 2, 2021)

This release contains minor breaking public API changes.

Support for Lists of Federation Upstream URIs

Federation definition now uses a dedicated type, URISet, to represent a set of URIs that will be tried sequentially until the link can successfully connect and authenticate:

def1 := FederationDefinition{
            Uri: URISet{"amqp://hostname/%2f"},
        }

URISet has now replaced ShovelURISet:

sDef := ShovelDefinition{
            SourceURI:         URISet([]string{"amqp://127.0.0.1/%2f"}),
            SourceQueue:       "mySourceQueue",
            DestinationURI:    ShovelURISet([]string{"amqp://host1/%2f"}),
            DestinationQueue:  "myDestQueue",
            AddForwardHeaders: true,
            AckMode:           "on-confirm",
            DeleteAfter:       "never",
        }

GitHub issues: #193, #194

Changes Between 2.7.0 and 2.8.0 (Apr 12, 2021)

Global Runtime Parameters

The library now supports global runtime parameters:

// list all global parameters
params, err := rmqc.ListGlobalParameters()
// => []GlobalRuntimeParameter, error
// get a global parameter
p, err := rmqc.GetGlobalParameter("name")
// => *GlobalRuntimeParameter, error
// declare or update a global parameter
resp, err := rmqc.PutGlobalParameter("name", map[string]interface{
    endpoints: "amqp://server-name",
})
// => *http.Response, error
</tr></table> 

... (truncated)

Commits
  • 0a87d8d Merge pull request #195 from michaelklishin/dependabot/go_modules/github.com/...
  • c6e5f0b Bump github.com/onsi/ginkgo from 1.16.2 to 1.16.3
  • 7b2c1c2 Merge pull request #194 from michaelklishin/federation-uri-set
  • 87fa387 Change log updates
  • d3e5208 Make both Shovel and Federation upstream URI use URISet
  • 4a874c4 Merge pull request #191 from michaelklishin/dependabot/go_modules/github.com/...
  • f0e3fbc Merge pull request #193 from michaelklishin/federation-uri-list
  • 2c22e58 Refactor FederationDefinition.Uri to []string
  • e8568c3 Bump github.com/onsi/gomega from 1.12.0 to 1.13.0
  • 6c3e263 Merge branch 'MrLuje-feature/operator-policy'
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/michaelklishin/rabbit-hole/v2](https://github.com/michaelklishin/rabbit-hole) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/michaelklishin/rabbit-hole/releases)
- [Changelog](https://github.com/michaelklishin/rabbit-hole/blob/master/ChangeLog.md)
- [Commits](michaelklishin/rabbit-hole@v2.8.0...v2.9.0)

---
updated-dependencies:
- dependency-name: github.com/michaelklishin/rabbit-hole/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 3, 2021
@ansd ansd merged commit 3303b7d into main Jun 3, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/michaelklishin/rabbit-hole/v2-2.9.0 branch June 3, 2021 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants