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

7.5.0 (2022-01-12)

This version and all future versions will require Python 3.6+. Python 2.7 is no longer supported.

Features Added

  • Added support for fixed (linear) retry backoff:
    • Sync/async ServiceBusClient constructors and from_connection_string take retry_mode as a keyword argument.
  • Added new enum class ServiceBusSessionFilter, which is the type of existing NEXT_AVAILABLE_SESSION value.

Bugs Fixed

  • Fixed bug that when setting ServiceBusMessage.time_to_live with value being datetime.timedelta, total_seconds should be respected (PR #21869, thanks @jyggen).

Other Changes

  • Improved token refresh timing to prevent potentially blocking main flow when the token is about to get expired soon.
  • Updated uAMQP dependency to 1.5.1.

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

NewReleases is sending notifications on new releases.