Skip to content

Azure IoT Device Library for Python v2.1.3

Compare
Choose a tag to compare
@BertKleewein BertKleewein released this 16 Jun 22:22

Device Library Change Log

Authentication changes (#583, #555)

This includes architectural and testing changes that should not be visible to clients. The purpose of this change is to increase stability maintainability.

Sample updates (#571, #578)

Update code samples for clarity

Model ID updates (#582)

Enhancement to enable creation of PnP compatible devices.

script for certificate creation using cryptography as library (#574)

Bug fix: removed dependence of certificate creation script on openssl.

Add 'sastoken_ttl' kwarg option to factory methods (#579)

This allows clients to specify the token renewal interal when using symmetric key authentication.

stability updates: fix race condition inside sas token renewal (#576)

This fixes a was a race condition which would cause the client to stop functioning if the client was communicating with IoT Hub when a SAS renewal event took place, which happens every 50 minutes by default.

behavior updates: reconnect improvements (#576)

This fixes some overly-aggressive reconnect logic which would cause the client to reconnect with IoTHub after the disconnect method was called. Depending on the behavior of the customer's code, this could cause multiple client instances to be active and to contend for resources (including the single network connection that is allowed by the hub). More details are on the common pitfalls page

update the iothub api version to the latest (#589)

Enables Device Twin array support

Known issues in this release

The common pitfalls page has information on some known issues and common problems.