github Azure/azure-sdk-for-python azure-eventhub_5.11.0

latest releases: azure-cosmos_4.8.0, azure-ai-inference_1.0.0b6, azure-eventhub_5.13.0...
22 months ago

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 async EventHubProducerClient/EventHubConsumerClient constructors which indicates whether to use the uamqp 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 an AccessToken.token of type bytes and not str, now matching the documentation.

Other Changes

  • The message attribute on EventData/EventDataBatch, which previously exposed the uamqp.Message, has been deprecated.
    • LegacyMessage/LegacyBatchMessage objects returned by the message attribute on EventData/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 the uamqp_transport keyword.
    • Added support for Python 3.11.

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.