Update module github.com/Azure/go-amqp to v0.19.1#73
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/github.com-azure-go-amqp-0.x
branch
from
January 3, 2025 17:20
d8eced9 to
a203dd9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.17.5->v0.19.1Release Notes
Azure/go-amqp (github.com/Azure/go-amqp)
v0.19.1Compare Source
Bugs Fixed
Session,Receiver, orSenderin succession when the first attempt times out.LinkError.RemoteErrfield when determining if a link was cleanly closed.v0.19.0Compare Source
Final beta before v1.0.0
Breaking Changes
Dial()andNewConn()now require acontext.Contextas their first parameter.ConnOptions.Timeoutfield has been removed.Sender.Send()andReceiver.Receive()now take their respective options-type as the final argument.ManualCreditsfield inReceiverOptionshas been consolidated into fieldCredit.ReceiverOptionsfor configuring options on the source.DetachErrortoLinkErroras "detach" has a specific meaning which doesn't equate to the returned link errors.Receiver.DrainCredit()API has been removed.BatchingandBatchMaxAgeinReceiverOptions.IncomingWindowandOutgoingWindowfields inSessionOptionshave been removed.SenderOptions.IgnoreDispositionErrorshas been removed.Sender.SendSettledin typeMessagehas been moved to typeSendOptionsand renamed asSettled.Address,Binary,MessageID,SequenceNumber,SymbolMessage.LinkName()has been removed.Bugs Fixed
Receiver.Receive()drains prefetched messages when the link closed.Receiverto hang under certain circumstances.Other Changes
context.Contextexpires or is cancelled and document the potential side-effects.Session,Receiver, orSenderas required.v0.18.1Compare Source
Bugs Fixed
Conn.connReader()to become blocked in rare circumstances.ReceiverSettleModeFirst.Other Changes
SenderSettleModeSettledmust be acknowledged.Conn.IdleTimeoutand removed unit prefix.v0.18.0Compare Source
This is intended to be the last release before GA with breaking changes. At this point the public surface area is frozen and will only break if something is wrong or can't be reasonably fixed in a non-breaking way.
Features Added
ConnErrortype that's returned when a connection is no longer functional.SessionErrortype that's returned when a session has been closed.SASLTypeused when configuring the SASL authentication mechanism.Ptr()method toSenderSettleModeandReceiverSettleModetypes.Breaking Changes
Clienthas been renamed toConn, and its constructorNew()renamed toNewConn().ErrConnClosed,ErrSessionClosed,ErrLinkClosed, andErrTimeoutsentinel error types.context.Contextas their first parameter.Conn.NewSession(),Session.NewReceiver(),Session.NewSender()context.Contextparameter anderrorreturn from methodReceiver.Prefetched().AMQPremoved to prevent stuttering.AMQPAddress,AMQPMessageID,AMQPSymbol,AMQPSequenceNumber,AMQPBinaryDefault*constants are no longer exported.Receiver.ModifyMessage()have changed.Conn,Session,Sender, andReceiverconstructors has been replaced with a struct-based config.ConnOption,SessionOption, andLinkOptiontypes and all of the associated configuration funcs.ConnTLS()option was removed as part of this change.Dial()andNew()constructors now require an*ConnOptionsparameter.Conn.NewSession()now requires a*SessionOptionsparameter.Session.NewSender()now requirestargetaddress and*SenderOptionsparameters.Session.NewReceiver()now requiressourceaddress and*ReceiverOptionsparameters.SenderSettleMode,ReceiverSettleMode,ExpiryPolicyErrorConditionhas been renamed toErrCond.ErrCondvalues have had their names updated to include theErrCondprefix.LinkFilterSourceandLinkFilterSelectorhave been renamed toNewLinkFilterandNewSelectorFilterrespectively.RemoteErrorfield inDetachErrorhas been renamed.Bugs Fixed
muxHandleFrame()when checking for manual creditor.attachLink()when copying source filters.NewConn()will no longer return a broken*Connin some instances.Sessionwon't leak if the context passed toConn.NewSession()expires before exit.linkwon't leak if the context passed tolink.attach()expires before exit.Other Changes
net.Connare now wrapped in aConnErrortype.link.Pausedas it didn't add much value and was broken in some cases.Sessioninstances have been made deterministic.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.