This repository has been archived by the owner on Dec 14, 2020. It is now read-only.
Releases: vcabbage/amqp
Releases · vcabbage/amqp
v0.7.1: Add `ConnContainerID` to allow explicitly configuring the container-id.
Default behavior remains randomly generating the container-id. Resolves #116
v0.7.0: Return `*DetachError` instead of `DetachError`
This works as a pointer or non-pointer, but it's easier to enforce consistency by fulfilling the error interface with a pointer receiver.
v0.6.3: Ensure buffered messages are received after link closed.
v0.6.2
v0.6.1
v0.6.0: Wait for response disposition when Receiver w/ rcv-settle-mode second.
Also fixed some potential bugs due to receiver and sender dispositions being treated the same in Session.mux.
This adds error returns to Message.Accept/Reject/Release/Modify and is therefor a breaking change. Errors are not returned when batching is enabled and receiver settle mode is first.
v0.5.2: Fix receiver flow control.
Link should not send additional credits when there are queued transfers/messages waiting to be read via `Receiver.Receive`. Message decoding is moved into the `link.mux` goroutine so that the link can know how many messages are queued by checking the `link.messages` channel length. If the channel fills the link is effectively paused. The receiver can indicate it can process additional message and unblock the link my sending on `link.receiverReady`. When additional credits are issued, `link.linkCredit` must be updated before receiving any additional messages to ensure the sender and receiver stay in sync. Similarly, `link.deliveryCount` should not be arbitrarily changed based on a flow frame received from the sender.