github Azure/azure-sdk-for-python azure-servicebus_7.1.0

latest releases: azure-ai-ml_1.22.1, azure-ai-evaluation_1.0.0, azure-storage-file-datalake_12.18.0...
3 years ago

7.1.0 (2021-03-09)

This version will be the last version to officially support Python 3.5, future versions will require Python 2.7 or Python 3.6+.

New Features

  • Updated the following methods so that lists and single instances of Mapping representations are accepted for corresponding strongly-typed object arguments (PR #14807, thanks @bradleydamato):
    • update_queue, update_topic, update_subscription, and update_rule on ServiceBusAdministrationClient accept Mapping representations of QueueProperties, TopicProperties, SubscriptionProperties, and RuleProperties, respectively.
    • send_messages and schedule_messages on both sync and async versions of ServiceBusSender accept a list of or single instance of Mapping representations of ServiceBusMessage.
    • add_message on ServiceBusMessageBatch now accepts a Mapping representation of ServiceBusMessage.

BugFixes

  • Operations failing due to uamqp.errors.LinkForceDetach caused by no activity on the connection for 10 minutes will now be retried internally except for the session receiver case.
  • uamqp.errors.AMQPConnectionError errors with condition code amqp:unknown-error are now categorized into ServiceBusConnectionError instead of the general ServiceBusError.
  • The update_* methods on ServiceBusManagementClient will now raise a TypeError rather than an AttributeError in the case of unsupported input type.

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

NewReleases is sending notifications on new releases.