Skip to content

Releases: Azure/azure-iot-sdk-python

Azure IoT Device Library for Python v2.7.1

19 Jun 00:39
Compare
Choose a tag to compare

IoTHub Clients Change Log

Fixes

  • Fixed a bug where in-flight operations would hang after a disconnect if not using connection_retry

Azure IoT Device Library for Python v2.7.0

05 Jun 00:29
Compare
Choose a tag to compare

IoTHub Clients Change Log

Features

  • Added support for an .on_connection_state_change handler which will be invoked every time the client connection state changes

Fixes

  • Increased required version of urllib3 to prevent vulnerabilities

Azure IoT Device Library for Python v2.6.0

13 May 00:06
Compare
Choose a tag to compare

IoTHub Clients Change Log

Features

  • Added the ability to disable client auto-connect via the auto_connect keyword argument
  • Added the ability to disable client automatic connection retry via the connection_retry keyword argument
  • Added the ability to configure the connection retry interval with the connection_retry_interval keyword argument
  • Added support for the iothub-ack system property on Cloud-to-Device (C2D) messages. This will appear on the ack attribute of the Message object

Fixes

  • .disconnect() and .shutdown() now cancel any in-flight operations
  • Modified verison of urllib3 dependency for greater compatibility

Azure IoT Hub Library for Python v2.4.0

06 May 00:18
Compare
Choose a tag to compare

Hub Library Change Log

Feature

  • Add CRUD support for AAD tokens
  • Support user assigned managed identities for import/export jobs

Azure IoT Hub Library for Python v2.3.0

28 Apr 21:26
Compare
Choose a tag to compare

Hub Library Change Log

Feature

  • Add parent_scopes parameter on RegistryManager create and update methods in order to support nested Edge

Fixes

  • Normalize treatment of etags in RegistryManager

Azure IoT Device Library for Python v2.5.1

17 Feb 03:40
Compare
Choose a tag to compare

Device Library Change Log

Fixes

  • Fixed missing documentation for client handlers
  • Removed distribution for unsupported Python versions

Azure IoT Device Library for Python v2.5.0

13 Jan 03:06
Compare
Choose a tag to compare

Device Library Change Log

Features

  • Added a new API for graceful exit of the IoTHub clients - .shutdown()

Fixes

  • Fixed a bug where SAS token renewal was broken by system sleep
  • Improved some erroneous logging messages

Code Examples

https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples

Azure IoT Device Library for Python v2.4.0

06 Nov 02:33
Compare
Choose a tag to compare

Device Library Change Log

Features

  • Added APIs for user-provided SAS tokens on IoTHub clients
    • .create_from_sastoken() allows the creation of a Device/Module client from a SAS token string
    • .update_sastoken() allows for a new sastoken to be provided to the Device/Module client

Fixes

  • Fixed bugs related to device/module ids with special characters on IoTHub clients
  • Fixed issues on the Provisioning clients related to invalid arguments
  • Various documentation fixes

Code Examples

https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples

Azure IoT Device Library for Python v2.3.0

30 Sep 16:45
Compare
Choose a tag to compare

Device Library Change Log

Features

  • Added handlers for receive message
    • Deprecated receive message API
  • Added handlers for receive twin desired patch
    • Deprecated receive twin desired patch API
  • Added handlers for receive method request
    • Deprecated receive method request API

Samples

  • Added samples for plug and play utilizing existing device SDK functionality

Code Examples

Device

https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples

Azure IoT Hub Library for Python v2.2.3

30 Sep 03:15
Compare
Choose a tag to compare

Hub Library Change Log

Feature

  • Added a DigitalTwinClient

Samples

  • Added sample for getting digital twin.
  • Added sample for updating digital twin.
  • Added sample for invoking command on digital twin.
  • Added sample for invoking command on the component of a digital twin
  • Updated sample for showing how digital twin model id can be retrieved from normal twin.

Code Examples

Hub

https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-hub/samples