Azure IoT SDK for Java Preview Release 2021-8-30
Pre-releaseThis is a special preview release for our upcoming 2.0.0 clients. There are substantial changes made to the SDK in this upcoming version, and a brief summary of these changes can be seen below:
Java Deps (com.microsoft.azure.sdk.iot:iot-deps:2.0.0-preview-001)
- Trusted certificates are read from the physical device's trusted root certification authorities certificate store rather than from source.
- Removed all deprecated APIs
- Removed unthrown exceptions from declared exceptions list for all APIs
- Removed support for parsing certificates
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:2.0.0-preview-001)
- Trusted certificates are read from the physical device's trusted root certification authorities certificate store rather than from source.
- Removed all deprecated APIs
- Removed support for parsing certificates
- Renamed several APIs for consistency between Module and Device clients
- Removed unthrown exceptions from declared exceptions list for all APIs
Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:2.0.0-preview-001)
- Trusted certificates are read from the physical device's trusted root certification authorities certificate store rather than from source.
- Removed all deprecated APIs
- Removed unthrown exceptions from declared exceptions list for all APIs
Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-device-client:2.0.0-preview-001)
- Trusted certificates are read from the physical device's trusted root certification authorities certificate store rather than from source.
- Removed all deprecated APIs
- Removed unthrown exceptions from declared exceptions list for all APIs
Java Provisioning Service Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-service-client:2.0.0-preview-001)
- Trusted certificates are read from the physical device's trusted root certification authorities certificate store rather than from source.
- Removed all deprecated APIs
- Removed unthrown exceptions from declared exceptions list for all APIs
Java X509 Provider (com.microsoft.azure.sdk.iot.provisioning.security:x509-provider:2.0.0-preview-001)
- Removed support for parsing certificates
- Removed unthrown exceptions from declared exceptions list for all APIs
Java TPM Provider (com.microsoft.azure.sdk.iot.provisioning.security:tpm-provider:2.0.0-preview-001)
- Removed unthrown exceptions from declared exceptions list for all APIs
Java Security Provider (com.microsoft.azure.sdk.iot.provisioning.security:security-provider:2.0.0-preview-001)
- Trusted certificates are read from the physical device's trusted root certification authorities certificate store rather than from source.
- Removed unthrown exceptions from declared exceptions list for all APIs
For a more exhaustive list of changes made in the jump from 1.0.0 to 2.0.0, and for a helpful FAQ section to answer common questions you may have, see this document.
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/2.0.0-preview-001/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/2.0.0-preview-001/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/2.0.0-preview-001/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-device-client/2.0.0-preview-001/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-service-client/2.0.0-preview-001/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning.security/x509-provider/2.0.0-preview-001/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning.security/security-provider/2.0.0-preview-001/jar
Note that these preview jars have been tested against the same standard tests as our normal jars other than for Edgehub scenarios. Users may encounter bugs in this preview version if used for writing custom Edgehub modules.