Releases: Azure/azure-uamqp-python
uamqp v1.0.2
- Fixed additional bugs in setting MessageProperties as string or bytes.
- Removed auth locking to prevent locking issues on keyboard interrupt.
uamqp v1.0.1
Bug fix release to address some reported issues:
- Added some more checks in place to prevent lock hanging on a keyboard interrupt. (issue #30)
- Fixed bug in setting MessageProperties.subject as string or bytes. (issue #35)
- Added missing return value to
uamqp.send_message
, which now returns a list ofuamqp.constants.MessageState
to indicate the success of each message sent.
uamqp v1.0.0
API is now stable!
No breaking changes in this release but a few behavioural changes:
-
When a SendClient or SendClientAsync is shutdown, any remaining pending messages (that is messages in the states WaitingToBeSent and WaitingForSendAck) will no longer be cleared, but can be retrieved from a new attribute SendClient.pending_messages in order to be re-processed as needed.
-
The function SendClient.queue_message now allows for queueing multiple messages at once by simply passing in additional message instances:
- send_client.queue_message(my_message)
- send_client.queue_message(message_1, message_2, message_3)
- send_client.queue_message(*my_message_list)
-
An authentication object will now raise a ValueError if one attempts to use it for more than one connection.
-
Renamed internal _async module to non-private async_ops to allow for docs generation.
-
Reformatted logging for better performance.
-
Added additional logging.
uamqp v0.2.1
Some stability improvements in the bindings.
- Fixed potential crashing in bindings for amqpvalue.
- Fixed bindings fault in cbs PUT token complete callback.
- Added additional auth and connection locking for thread/async safety.
- Increased INFO level logging.
- Added handling for a connection reaching a client-caused error state.
uamqp v0.2.0
Some internal breaking changes to the MessageSender/MessageReceiver classes and their async equivalents.
New features:
- Optional keep-alive background process for keep unused connections active.
- Added ability to supply an ErrorPolicy to a client to determine how the client should handle a vendor specific error occurring in either a message disposition, link detach or connection close event.
- Now parsing standard AMQP errors for retryability - and surfacing error details to the user.
- Added support for HTTP proxy configuration.
For all changes, please see the release notes.
uamqp v0.1.1
Bug fix release:
- Removed circular dependency in Python 3.4 with types.py/utils.py
- When a header properties is not set, returns
None
rather than raising ValueError. - Fixed bug in receiving messages with application properties.
uamqp v0.1.0
First stable release!
No breaking changes - only bug fixes.
For all changes, please see the release notes.
uamqp v0.1.0rc2
Breaking changes
- This release includes a restructure to support Python 3.7. The
async
submodule has been renamed and all classes within it can now be imported directly fromuamqp
oruamqp.authentication
. - Anything returned by a callback supplied to receive messages will now be ignored.
- Changed message state enum values:
Complete -> SendComplete
Failed -> SendFailed
WaitingForAck -> WaitingForSendAck
- Changes to message settlement exceptions:
- Combined the
AbandonMessage
andDeferMessage
exceptions asMessageModified
to be in keeping with the AMQP specification. - Renamed
AcceptMessage
toMessageAccepted
. - Renamed
RejectMessage
toMessageRejected
which now takescondition
anddescription
arguments rather thanmessage
.
- Combined the
For additional non-breaking changes, please see the release notes.
uamqp v0.1.0rc1
- Fixed import error in async receiver.
- Exposed sender/receiver destroy function.
- Moved receiver.open on_message_received argument to constructor.
- Removed sasl module and moved internal classes into authentication module.
- Added encoding parameter everywhere where strings are encoded.
- Started documentation.
- Updated uAMQP-C to 1.2.4 and C Shared Utility to 1.1.4 (includes fix for issue #12).
- Fixed return type of MgmtOperation.execute - now returns ~uamqp.Message.
- Made AMQP connection/session/sender/receiver types in a client overridable.
- Added debug trace to management operations.
- Fixed error in management callback on failed operation.
- Default AMQP encoding of bytes is now a String type and a bytearray is a Binary type.
- Added AMQP Array type and fixed Long type range validation.
- Added
header
argument to Message and BatchMessage for setting a MessageHeader. - Fixed MessageHeader attribute setters.
uamqp v0.1.0b5
- Fixed dynamic cert reference for OpenSSL. Now install ca-certificates on Linux is no longer required.