Skip to content

Releases: Azure/azure-iot-sdk-python

Azure IoT Device Library for Python v2.14.0

17 Jul 15:26
42bc6cd
Compare
Choose a tag to compare

Fixes

  • Removed artificial restriction on version of requests dependency
  • Replaced the abandoned requests-unixsocket dependency with the requests-unixsocket2 fork
  • Removed restriction on urllib3 dependency, allowing support for modern versions
  • Added support for Python 3.11 and 3.12

Notice

Support for Python 3.7 was dropped with this release

Azure IoT Device Library for Python v2.13.1

05 Jun 20:54
d387431
Compare
Choose a tag to compare

Fixes

  • Restricted a non-compatible release of requests that was breaking IoT Edge

Azure IoT Device Library for Python v2.13.0

12 Feb 20:51
4272a82
Compare
Choose a tag to compare

Features

  • Added support for typed static analysis tooling

Fixes

  • Fixed a bug where ensure_desired_properties keyword argument was being ignored
  • Fixed a bug where under certain conditions published messages were duplicated

Notes

  • As of this release, Python 3.6 is no longer supported.

Azure IoT Device Library for Python v2.12.0

23 Aug 22:18
Compare
Choose a tag to compare

Features

  • Fetching the latest twin when reconnecting is now optional (using the ensure_desired_properties kwarg)

Fixes

  • Timeout is now implemented on HTTP requests
  • Inaccurate log messages from MQTT (CONNACK rc==16) now provide the correct information
  • KeyError is no longer thrown if two responses to the same request are received
  • Reconnecting while using twin patches now only results in one twin request instead of two
  • Prevented infinite twin request loop
  • TlsAuthExchangeErrors are now automatically retriable
  • General improvements to connection stability + resilience

Azure IoT Device Library for Python v2.11.0

24 Mar 00:48
Compare
Choose a tag to compare

IoTHub Clients Change Log

NOTICE

  • Support for Python 2.7 and 3.5 has been dropped as of this release

Features

  • Added support for providing gateway_hostname in most constructors

Fixes

  • Fixed a memory leak if no handlers were set on the client

Azure IoT Device Library for Python v2.10.0

11 Feb 00:57
Compare
Choose a tag to compare

IoTHub Clients Change Log

Features

  • Support for server verification cert for Provisioning Clients
  • Removal of socks library from user-facing API
  • Support for proxies when using .invoke_method(), .get_storage_info_for_blob() and .notify_blob_upload_status() on IoTHub Clients

Fixes

  • Fixed an issue where sufficiently long SAS token expiry or retry interval could cause a OverflowError due to exceeding the max value supported by a waiting thread.
  • Fixed an issue where alarms were incorrectly triggering, now they will trigger correctly at the specified time, even if the system goes to sleep.
  • Fixed an issue where disconnect notifications were sometimes happening twice for a single disconnection.
  • Fixed an issue where after a failed reauthorization, the re-attempt of the reauthorization happened on the wrong thread.

Azure IoT Device Library for Python v2.9.0

03 Nov 00:41
Compare
Choose a tag to compare

IoTHub Clients Change Log

Features

  • Added support for the .on_background_exception handler to the clients. If set, this handler will be invoked when an exception occurs from non-user-initiated actions (e.g. connection drop)

Fixes

  • Fixed a compatibility issue with Python 3.10
  • Timeout of network calls now will result in a OperationTimeout exception rather than a OperationCancelled
  • Fixed an issue where disconnect notifications were sometimes happening twice for a single disconnection

Azure IoT Device Library for Python v2.8.0

08 Oct 22:30
Compare
Choose a tag to compare

IoTHub Clients Change Log

Features

  • Added support for an .on_new_sastoken_required handler which will be invoked 2 minutes prior to the expiration of a user-provided sastoken (only relevant when using a client created with the .create_from_sastoken() method)

Fixes

  • General stability improvements to connections
  • Adjusted CONACK timeout to 60 seconds for cross-language parity with other IoT Device Clients
  • Added missing docstrings for handler attributes

Azure IoT Hub Library for Python v2.6.0

24 Sep 20:39
Compare
Choose a tag to compare

Hub Library Change Log

  • Added strict bounds on dependencies
  • Updated dependency formatting for greater compatibility with package indexes
  • Fixed a bug where connection string credentials were expiring after a few minutes

Azure IoT Hub Library for Python v2.5.0

03 Aug 20:12
Compare
Choose a tag to compare

Hub Library Change Log

Feature

  • Add support for C2D messages with AAD authentication