5.11.0 (2023-01-19)
Version 5.11.0 is our first stable release of the Azure Event Hubs client library based on a pure Python implemented AMQP stack.
Features Added
- A new boolean keyword argument
uamqp_transport
has been added to sync and asyncEventHubProducerClient
/EventHubConsumerClient
constructors which indicates whether to use theuamqp
library or the default pure Python AMQP library as the underlying transport.
Bugs Fixed
- Fixed a bug that caused an error when sending batches with tracing enabled (issue #27986).
- Fixed a bug where
EventHubSharedKeyCredential
returned anAccessToken.token
of typebytes
and notstr
, now matching the documentation.
Other Changes
- The
message
attribute onEventData
/EventDataBatch
, which previously exposed theuamqp.Message
, has been deprecated.LegacyMessage
/LegacyBatchMessage
objects returned by themessage
attribute onEventData
/EventDataBatch
have been introduced to help facilitate the transition.
- Removed uAMQP from required dependencies.
- Adding
uamqp >= 1.6.3
as an optional dependency for use with theuamqp_transport
keyword.- Added support for Python 3.11.