Releases: Azure/azure-iot-sdk-python
Azure IoT Hub Library for Python v2.2.2
Hub Library Change Log
Fixes
- Use different API version for service to ensure functionality across all HUBs in all regions.
Azure IoT Device Library for Python v2.2.0
Device Library Change Log
Features
- add user configurable keep alive
Fixes
- minor changes to error messages
Azure IoT Device Library for Python v2.1.4
Device Library Change Log
- rename digital-twin-model-id to modelId in mqtt
Azure IoT Device Library for Python v2.1.3
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.
Azure IoT Device Library for Python v2.1.2 and Azure IoT Hub Library for Python v2.2.1
Device Library Change Log
Fixes
- Gets updated twin on reconnection
- Allow for direct method calls only after subscription succeeds.
- Improve garbage collection to avoid an orphaned paho client
- Lock janus to 0.4.0
- Minor fixes for generation of docs
- Minor fixes to links and markdown files
Samples
- Added sample sending messages from a downstream or 'leaf' device to IoT Edge
Hub Library Change Log
Feature
- Added a job manager
Fixes
- Added user id for messages
Samples
- Improve the upload to blob sample code
Code Examples
Device
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples
Hub
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-hub/samples
Azure IoT Hub Library for Python v2.2.0
Changelog
Features
- Added support for adding properties to C2D messages
- Added support for creating Edge devices
Fixes
- Fixed a bug where method payload could not be empty when using
.invoke_device_method()
and.invoke_device_module_method()
Code Examples
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-hub/samples
Azure IoT Device Library for Python v2.1.1
Device Library Changelog
Fixes
- Fixed a bug where messages could not be sent if properties contained whitespace characters
- Fixed a bug where connections could hang
- Fixed a bug where a dropped connection caused operations to not complete successfully
- Fixed a bug where cipher suites were not used for file upload operations
- Fixed a bug where package filesize was inflated due to inclusion of unnecessary files
- Fixed several bugs where connections could enter undesirable states due to race conditions
Code Examples
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples
(LIMITED AVAILABILITY RELEASE) Azure IoT Hub Library for Python v2.2.0-limited
NOTE WELL: This LIMITED AVAILABILITY RELEASE is only compatible with the following Azure regions: East US, South Central US, and West US 2
Features
- Added Job Manager client
- HTTP Runtime Manager client
- Added support for virtual networks, please see this page for more information.
Installation
This is a LIMITED AVAILABILITY RELEASE and is not being distributed via the Python Package Index (PyPI).
Instead, please install by downloading the attached .whl file under the "assets" header of this release. Once you have downloaded the release file (azure_iot_hub-2.2.0_limited-py2.py3-none-any.whl
), open command line and navigate to the folder with the downloaded file. Run pip install ./azure_iot_hub-2.2.0_limited-py2.py3-none-any.whl
to install this version of the Azure IoT Hub Library.
A future mainline release of the Azure IoT Hub Library will include these features once support for VNETs is widely available on all Azure regions.
Code Examples
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-hub/samples
Azure IoT Device Library for Python v2.1.0 and Azure IoT Hub Library for Python v2.1.0
Device Library Changelog
Fixes
- Content type and content encoding are NOT defaulted on messages
- Reconnect and retry stage changed to resolve some reconnect bugs.
- Lower logging level for unexpected disconnections/connections to reduce severity of handled failures
- Stop retrying on SSL errors from TLS exchanges
- User agent to identify usage of SDK
Feature
- Support proxy via MQTT
Hub Library Changelog
Feature
- c2d supported using amqp
Code Examples
Device
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples
Hub
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-hub/samples
Azure IoT Device Library for Python v2.0.1 and Azure IoT Hub Library for Python v2.0.2
Device Library Changelog
Fixes
- Message size limited to 256 KB
- Change logging level for unexpected disconnections
- SAS Token renewal in HTTP
Feature
- Add connected property to clients
Hub Library Changelog
Fixes
- Update query API for continuation tokens.
Code Examples
Device
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples
Hub
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-hub/samples