azure-uamqp-python

AMQP 1.0 client library for Python

MIT License

Downloads
4.2M
Stars
57
Committers
26

Bot releases are visible (Hide)

azure-uamqp-python - uamqp v1.2.13

Published by yunhaoling almost 4 years ago

  • Fixed bug in accessing MessageProperties.user_id triggering segmentation fault when the underlying C bytes are NULL.
  • Fixed bug in MessageProperties.user_id being limited to 8 bytes.
  • Fixed bug where connection establishment on macOS with Clang 12 triggering unrecognized selector exception.
  • Fixed bug that macOS was unable to detect network error.
  • Fixed bug that ReceiveClient and ReceiveClientAsync receive messages during connection establishment.
azure-uamqp-python - uamqp v1.2.12

Published by yunhaoling about 4 years ago

  • Updated cython dependency to 0.29.21.
  • Added support for Python 3.9.
azure-uamqp-python - uamqp v1.2.11

Published by yunhaoling about 4 years ago

  • Updated tlsio_openssl module to send SNI when establishing tls connection (Thanks to milope).
  • Fixed bug where Message.footer and Message.delivery_annotation were not encoded into the outgoing payload.
  • Fixed bug where message sending timeout error didn't get raised out.
azure-uamqp-python - uamqp v1.2.10

Published by yunhaoling about 4 years ago

  • Added parameter shutdown_after_timeout to ReceiveClient and ReceiveClientAsync which gives control over whether to shutdown receiver after timeout.
azure-uamqp-python - uamqp v1.2.9

Published by yunhaoling over 4 years ago

  • Added method MessageReceiver.reset_link_credit which is responsible for resetting current available link credit on the receiver link and send update to the sender.
azure-uamqp-python - uamqp v1.2.8

Published by yunhaoling over 4 years ago

  • Fix to initialize delivery_count header at 0 instead of None (azure-sdk-for-python issue #9708)
  • Added info fields to rejected delivery disposition.
azure-uamqp-python - uamqp v1.2.7

Published by yunhaoling over 4 years ago

  • Fixed bug in setting certificate of tlsio on MacOS (azure-sdk-for-python issue #7201).
  • Fixed seg fault in logging network tracing on MacOS (PR#147, Thanks to malthe).
  • Fixed typos in log messages (PR#146, Thanks to bluca).
  • Imrpoved reproducibility of the generated c_uamqp.c file (PR#144, Thanks to bluca).
azure-uamqp-python - uamqp v1.2.6

Published by yunhaoling over 4 years ago

  • Fixed seg fault in tearing down a failed link with unsent pending messages.
azure-uamqp-python - uamqp v1.2.5

Published by yunhaoling almost 5 years ago

  • Fixed garbage collection of C objects to prevent crashing on uncontrolled shutdown.
  • Fixed missing event loop references passed into asyncio functions.
  • Fixed bug in noneffective flow control when large messages are received.
  • Demote link redirect logging from warning to info.
azure-uamqp-python - uamqp v1.2.4

Published by yunhaoling almost 5 years ago

  • Fixed bug in calculating send timeout.
  • Removed ThreadPoolExecutor in ConnectionAsync.
  • Added support for Python 3.8
azure-uamqp-python - uamqp v1.2.3

Published by yunhaoling about 5 years ago

  • Fixed bug in dropping received messages at the moment when the connection just started working.
  • Fixed bug where underlying io type wasn't set to WebSocket when http_proxy was applied (PR#92, Thanks to skoop22).
  • Fixed bug in noneffective timeout when sending messages.
  • Added desired-capabilities for ReceiveClient(Async) and MessageReceiver(Async) as part of the AMQP protocol.
  • Added delivery-tag to Message (azure-sdk-for-python issue #7336).
  • Added method work to MessageReceiver and work_async to MessageReceiverAsync responsible for updating link status.
azure-uamqp-python - uamqp v1.2.2

Published by yunhaoling about 5 years ago

  • Made bug fix in asyncio.get_event_loop backwards-compatible for now by just printing a warning rather than raising an error. In the next major version bump we can disable entirely.
azure-uamqp-python - uamqp v1.2.1

Published by yunhaoling about 5 years ago

  • Updated the implementation of update_token() in JWTTokenAuth and JWTTokenAsync (issue #80).
azure-uamqp-python - uamqp v1.2.0

Published by yunhaoling about 5 years ago

  • 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 (PR#54, Thanks to zach-b)
  • Added WebSocket(AMQP over WebSocket) support (azure-sdk-for-python issue #5318).
  • Added new token class JWTTokenAuth and JWTTokenAsync to support OAuth.
azure-uamqp-python - uamqp v1.1.0

Published by annatisch almost 6 years ago

  • Support for Python 2.7

    • Where ever a TimeoutError 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 object will be treated as bytes in Python 3 and a Python 2 unicode object will be treated like a Python 3 str.
    • Added uamqp.compat module for handling Py 2 vs 3 imports and types (PR#46, 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 as a wrapper for KeyboardInterrupt 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 to create a message from AMQP wire-encoded data.

  • Added Message.encode_message method to retrieve the AMQP wire-encoded byte representation of the current message.

  • Fixed behaviour of Message.get_message_encoded_size() to return accurate size.

  • Added new optional callback argument to client.mgmt_request to allow for custom handling of different status codes.

  • Added new client methods auth_complete() and client_ready() to allow for more fine-tuned monitoring or the client opening stages.

  • Client message handler is now a public attribute client.message_handler (SendClient._message_sender and ReceiveClient._message_receiver are now deprecated).

  • Added automatic encoding of datetime.datetime objects into AMQP timestamp.

  • Better support for Source filters with optional descriptor argument in Source.set_filter() and new Source.get_filter() 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 keyword argument.

  • Removed unsued message.SequenceBody class.

  • Exposed BatchMessage.size_offset property for batch size customization.

azure-uamqp-python - uamqp v1.1.0rc2

Published by annatisch about 6 years ago

In addition to the updates in RC1:

  • Support for Python 2.7:

    • Added uamqp.compat module for handling Py 2 vs 3 imports and types (PR#46, 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 AMQPInt and AMQPuInt for explicit handling of int and unsigned int encoding.

  • Added classmethod Message.decode_from_bytes to create a message from AMQP wire-encoded data.

  • Added Message.encode_message method to retrieve the AMQP wire-encoded byte representation of the current message.

  • Fixed behaviour of Message.get_message_encoded_size() to return accurate size.

  • Added new optional callback argument to client.mgmt_request to allow for custom handling of different status codes.

  • Added new client methods auth_complete() and client_ready() to allow for more fine-tuned monitoring or the client opening stages.

  • Client message handler is now a public attribute client.message_handler (SendClient._message_sender and ReceiveClient._message_receiver are now deprecated).

  • Added automatic encoding of datetime.datetime objects into AMQP timestamp.

azure-uamqp-python - uamqp v1.1.0rc1

Published by annatisch about 6 years ago

  • Support for Python 2.7

    • Where ever a TimeoutError is raised in Python 3.x, this will be replaced with a new ClientTimeout exception in Python 2.7.
    • A Python 2 str object will be treated as bytes in Python 3 and a Python 2 unicode object will be treated like a Python 3 str.
  • Added new error AMQPClientShutdown as a wrapper for KeyboardInterrupt 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.

azure-uamqp-python - uamqp v1.0.3

Published by annatisch about 6 years ago

  • Reduced CPU load during idle receive (issue #38).
  • Updated Azure uAMQP C and Azure C Shared Utility dependencies.
azure-uamqp-python - uamqp v1.0.2

Published by annatisch about 6 years ago

  • Fixed additional bugs in setting MessageProperties as string or bytes.
  • Removed auth locking to prevent locking issues on keyboard interrupt.
azure-uamqp-python - uamqp v1.0.1

Published by annatisch about 6 years ago

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 of uamqp.constants.MessageState to indicate the success of each message sent.
Package Rankings
Top 3.04% on Pypi.org
Badges
Extracted from project README
image image image
Related Projects