Update module github.com/Azure/go-amqp to v0.19.1 #84
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.4
->v0.19.1
Release Notes
Azure/go-amqp (github.com/Azure/go-amqp)
v0.19.1
Compare Source
Bugs Fixed
Session
,Receiver
, orSender
in succession when the first attempt times out.LinkError.RemoteErr
field when determining if a link was cleanly closed.v0.19.0
Compare Source
Final beta before v1.0.0
Breaking Changes
Dial()
andNewConn()
now require acontext.Context
as their first parameter.ConnOptions.Timeout
field has been removed.Sender.Send()
andReceiver.Receive()
now take their respective options-type as the final argument.ManualCredits
field inReceiverOptions
has been consolidated into fieldCredit
.ReceiverOptions
for configuring options on the source.DetachError
toLinkError
as "detach" has a specific meaning which doesn't equate to the returned link errors.Receiver.DrainCredit()
API has been removed.Batching
andBatchMaxAge
inReceiverOptions
.IncomingWindow
andOutgoingWindow
fields inSessionOptions
have been removed.SenderOptions.IgnoreDispositionErrors
has been removed.Sender
.SendSettled
in typeMessage
has been moved to typeSendOptions
and renamed asSettled
.Address
,Binary
,MessageID
,SequenceNumber
,Symbol
Message.LinkName()
has been removed.Bugs Fixed
Receiver.Receive()
drains prefetched messages when the link closed.Receiver
to hang under certain circumstances.Other Changes
context.Context
expires or is cancelled and document the potential side-effects.Session
,Receiver
, orSender
as required.v0.18.1
Compare Source
Bugs Fixed
Conn.connReader()
to become blocked in rare circumstances.ReceiverSettleModeFirst
.Other Changes
SenderSettleModeSettled
must be acknowledged.Conn.IdleTimeout
and removed unit prefix.v0.18.0
Compare 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
ConnError
type that's returned when a connection is no longer functional.SessionError
type that's returned when a session has been closed.SASLType
used when configuring the SASL authentication mechanism.Ptr()
method toSenderSettleMode
andReceiverSettleMode
types.Breaking Changes
Client
has been renamed toConn
, and its constructorNew()
renamed toNewConn()
.ErrConnClosed
,ErrSessionClosed
,ErrLinkClosed
, andErrTimeout
sentinel error types.context.Context
as their first parameter.Conn.NewSession()
,Session.NewReceiver()
,Session.NewSender()
context.Context
parameter anderror
return from methodReceiver.Prefetched()
.AMQP
removed to prevent stuttering.AMQPAddress
,AMQPMessageID
,AMQPSymbol
,AMQPSequenceNumber
,AMQPBinary
Default*
constants are no longer exported.Receiver.ModifyMessage()
have changed.Conn
,Session
,Sender
, andReceiver
constructors has been replaced with a struct-based config.ConnOption
,SessionOption
, andLinkOption
types and all of the associated configuration funcs.ConnTLS()
option was removed as part of this change.Dial()
andNew()
constructors now require an*ConnOptions
parameter.Conn.NewSession()
now requires a*SessionOptions
parameter.Session.NewSender()
now requirestarget
address and*SenderOptions
parameters.Session.NewReceiver()
now requiressource
address and*ReceiverOptions
parameters.SenderSettleMode
,ReceiverSettleMode
,ExpiryPolicy
ErrorCondition
has been renamed toErrCond
.ErrCond
values have had their names updated to include theErrCond
prefix.LinkFilterSource
andLinkFilterSelector
have been renamed toNewLinkFilter
andNewSelectorFilter
respectively.RemoteError
field inDetachError
has been renamed.Bugs Fixed
muxHandleFrame()
when checking for manual creditor.attachLink()
when copying source filters.NewConn()
will no longer return a broken*Conn
in some instances.Session
won't leak if the context passed toConn.NewSession()
expires before exit.link
won't leak if the context passed tolink.attach()
expires before exit.Other Changes
net.Conn
are now wrapped in aConnError
type.link.Paused
as it didn't add much value and was broken in some cases.Session
instances have been made deterministic.v0.17.5
Compare Source
Configuration
📅 Schedule: Branch creation - "after 5am on sunday" (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.
To execute skipped test pipelines write comment
/ok-to-test
.This PR has been generated by MintMaker (powered by Renovate Bot).