Uamqp

Latest version: v1.6.11

Safety actively analyzes 714736 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 10

1.2.0

- Fixed bug in batched messages missing application_properties
(azure-event-hubs-python issue 97).
- Fixed bug in datetime object parsing (issue 63).
- Fixed bug in unexposed send/receive settle modes.
- Fixed bug where retried messages were not added back to the send
queue.
- Fixed bug in using asyncio.get_event_loop.
- Added type objects for AMQP Byte and uBytes types.
- Added async locking around pending messages queue (PR54, Thanks to
zach-b)
- Added WebSocket(AMQP over WebSocket) support (azure-sdk-for-python
issue 5318).
- Added new token class [JWTTokenAuth]{.title-ref} and
[JWTTokenAsync]{.title-ref} to support OAuth.

1.1.0

- Support for Python 2.7 (\>\_\<)/

> - Where ever a [TimeoutError]{.title-ref} is raised in Python
> 3.x, this will be replaced with a new
> \~uamqp.errors.ClientTimeout exception in Python 2.7.
> - A Python 2 [str]{.title-ref} object will be treated as
> [bytes]{.title-ref} in Python 3 and a Python 2
> [unicode]{.title-ref} object will be treated like a Python 3
> [str]{.title-ref}.
> - Added uamqp.compat module for handling Py 2 vs 3 imports and
> types (PR46, Thanks to maxkrivich).

- AMQP encoding of an integer type will now automatically failover
into a Long type or a double type if the value is too large.

- Improved support for promptly detecting invalid ATTACH handles and
raising the appropriate error.

- Added types for AMQPDescribed, AMQPInt and AMQPuInt for explicit
handling of int and unsigned int encoding.

- Added new error [errors.AMQPClientShutdown]{.title-ref} as a wrapper
for [KeyboardInterrupt]{.title-ref} to better handle interrupt
handling.

- Added better handling of keyboard interrupts during C callbacks to
better facilitate clean client shutdown.

- Added additional handling of keyboard interrupt at the C level to
clean up annoying warnings.

- Added classmethod [Message.decode_from_bytes]{.title-ref} to create
a message from AMQP wire-encoded data.

- Added [Message.encode_message]{.title-ref} method to retrieve the
AMQP wire-encoded byte representation of the current message.

- Fixed behaviour of [Message.get_message_encoded_size()]{.title-ref}
to return accurate size.

- Added new optional [callback]{.title-ref} argument to
[client.mgmt_request]{.title-ref} to allow for custom handling of
different status codes.

- Added new client methods [auth_complete()]{.title-ref} and
[client_ready()]{.title-ref} to allow for more fine-tuned monitoring
or the client opening stages.

- Client message handler is now a public attribute
[client.message_handler]{.title-ref}
([SendClient.\_message_sender]{.title-ref} and
[ReceiveClient.\_message_receiver]{.title-ref} are now deprecated).

- Added automatic encoding of [datetime.datetime]{.title-ref} objects
into AMQP timestamp.

- Better support for Source filters with optional
[descriptor]{.title-ref} argument in
[Source.set_filter()]{.title-ref} and new
[Source.get_filter()]{.title-ref} method.

- Fixed Session settings not being passed to CBS session.

- Added support for a callback on receipt on a Link ATTACH frame. Can
be supplied to a client through the [on_attach]{.title-ref} keyword
argument.

- Removed unsued message.SequenceBody class.

- Exposed BatchMessage.size_offset property for batch size
customization.

1.0.3

- Reduced CPU load during idle receive.
- Updated Azure uAMQP C and Azure C Shared Utility dependencies.

1.0.2

- Fixed additional bugs in setting MessageProperties as string or
bytes.
- Removed auth locking to prevent locking issues on keyboard
interrupt.

1.0.1

- Added some more checks in place to prevent lock hanging on a
keybaord interrupt.
- Fixed bug in setting MessageProperties.subject as string or bytes.
- [uamqp.send_message]{.title-ref} now returns a list of
[uamqp.constants.MessageState]{.title-ref} to indicate the success
of each message sent.

1.0.0

- API settled.

- **Behaviour change** When a SendClient or SendClientAsync is
shutdown, any remaining pending messages (that is messages in the
states [WaitingToBeSent]{.title-ref} and
[WaitingForSendAck]{.title-ref}) will no longer be cleared, but can
be retrieved from a new attribute
[SendClient.pending_messages]{.title-ref} in order to be
re-processed as needed.

- **Behaviour change** The function
[SendClient.queue_message]{.title-ref} now allows for queueing
multiple messages at once by simply passing in additional message
instances:

> - [send_client.queue_message(my_message)]{.title-ref}
> - [send_client.queue_message(message_1, message_2,
> message_3)]{.title-ref}
> - [send_client.queue_message(\*my_message_list)]{.title-ref}

- An authentication object will now raise a [ValueError]{.title-ref}
if one attempts to use it for more than one connection.

- Renamed internal [\_async]{.title-ref} module to non-private
[async_ops]{.title-ref} to allow for docs generation.

- Reformatted logging for better performance.

- Added additional logging.

Page 7 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.