This repository has been archived by the owner on Dec 14, 2020. It is now read-only.
Releases: vcabbage/amqp
Releases · vcabbage/amqp
v0.4.1: Check for session errors in attachLink
Previously attachLink did not check for session level errors, causing link attachment to block forever in the case of an error. This change resolves that and properly returns the error to the caller.
v0.4.0
Thank you to @amenzhinsky and @devigned for their contributions to this release!
Summary
- Fix channel number handling. (2210add)
- Add
ConnMaxSession
option and default to 65536. (2210add) - Fix data race on
link.linkCredit
. (91b4d47) - Encode/decode performance optimizations. (60f2887, ecc4b67, c1e6bfe, 41f4868, 01403af, 7c74332, 88f19d2, 088f461, 27cb779, 7036f82)
- Fix map32 encoding. (@amenzhinsky, 9d0e0f3)
- Fix "amqps" scheme handling. (@amenzhinsky, 746c1d6)
- Add support for floats, arrays, and lists. (696ba30)
- Make Go
int
anduint
encode/decode as AMQPlong
andulong
rather than varying based on system architecture. (696ba30) - Add support for credentials from URI. (@amenzhinsky, d62cd7a)
- Add separate
LinkSourceAddress
andLinkTargetAddress
options. DeprecateLinkAddress
. (@amenzhinsky, 156a96c) - Correctly end sessions when calling
Session.Close
. (c27ac98) - Fix issue where an incoming frame could be directed to the wrong session. (fa8dbbf)
- Restrict message annotation keys to
string
,int
, andint64
. (c2a889f) - Add descriptions to
MessageProperties
. (749c2de) - Minimize delivery-tags. (53719b2)
- Fix issue where handles may never be cleared from a map when message was sender settled. (53719b2)
- Fix potential deadlock when session ends before link closes. (a3e580d)
- Fix cases where
Receiver.Receive
could returnnil
Message
anderror
. (Thanks to @amenzhinsky for reporting, e2cb6f5) - Add support for setting connection properties via
ConnProperty
option. (@devigned, ccafaa7) - Add
Message.Format
field to allow getting/setting the message format. (54320c8) - Add support for multiple data sections. (9c101f5)
Breaking Changes
- Message.Data has been changed from
[]byte
to[][]byte
to support multiple data sections.NewMessage
added to simplify constructing messages with a single data section.Message.GetData
added to simplify retreiving the first data section from a message.
- Message.DeliveryAnnotations, Message.Annotations, and Message.Footer are now defined as type Annotations. Annotations only supports keys of type
string
,int
, andint64
. - Port for "amqps" now defaults to 5671 instead of 5672.
- Go
int
anduint
now always encode/decode aslong
andulong
. - Sessions are now ended when calling
Session.Close
. Previously this only deallocated the session locally. - Max number number of sessions per connection changed from 1 to 65536.
v0.3.0: Support setting source selector filter (#5)
- Adds support for setting source selector filter with
LinkSelectorFilter()
.
This addition allows clients to communicate offsets to Azure Event Hubs.
v0.2.1: Add round trip tests for marshal/unmarshal. (#4)
- Fixed marshaling/unmarshaling issues found in #4.
v0.2.0
Summary
- Support for sending messages.
- Support for sending/receiving "value" payloads.
- Added option
LinkAddressDynamic()
,Sender.Address()
andReceiver.Address()
to support dynamic addresses. - Added options
LinkSenderSettle()
andLinkReceiverSettle()
to allow for configuring settlement modes. - Added option
ConnSASLAnonymous()
to enable SASL ANONYMOUS authentication. - UUID support.
- Added basic integration tests against Microsoft Azure Service Bus.
- Debug logging when built with
debug
build tag. - Many bug fixes.
Breaking Changes
- Option
LinkSource()
renamed toLinkAddress()
. - As they are optional,
Message.Header
andMessage.Properties
have been changed to pointers.