Skip to content

Releases: Azure/azure-iot-sdk-java

Azure IoT SDK for Java Preview Release 2021-8-30

31 Aug 01:41
Compare
Choose a tag to compare

This 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.

Azure IoT SDK for Java Release 2021-8-9

09 Aug 23:47
Compare
Choose a tag to compare

Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.32.1)

Bug fixes

  • Fixed bug where multiplexed deviceClients did not maintain twin and/or method subscriptions after reconnection (#1298)

https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.32.1/jar

Azure IoT SDK for Java Release 2021-8-3

03 Aug 20:50
Compare
Choose a tag to compare

Note that this is the first release since an LTS release, so all packages have received a minor bump even if they just received bug fixes

Java Deps (com.microsoft.azure.sdk.iot:iot-deps:0.15.0)

Bug fixes

  • Fix issue where non-alphanumeric ASCII characters could be used for temporary keystore password (#1265)

Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.32.0)

  • Add ability to configure the maximum number of messages sent per send thread (#1291)
  • Add support for opening clients with retry (#1266)
  • Raise maximum number of in flight messages allowed in an MQTT connection (#1280)

Bug fixes

  • Fix bug where multiplexingClient throws unexpectedly on close (#1292)

Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.33.0)

  • Increase dependency version of iot-deps to latest

Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-device-client:1.10.0)

  • Increase dependency version of iot-deps to latest

Java Provisioning Service Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-service-client:1.9.0)

  • Increase dependency version of iot-deps to latest

Bug fixes

  • Fix issues with deserializing enrollments (#1289)

https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.32.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.33.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.15.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-device-client/1.10.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-service-client/1.9.0/jar

Azure IoT SDK for Java LTS Release 2021-6-17

17 Jun 21:24
bf28352
Compare
Choose a tag to compare

This release is an LTS release. See here for more details on what this means

Java Deps (com.microsoft.azure.sdk.iot:iot-deps:0.14.0)

  • Increase dependency versions for bouncycastle to 1.69 (#1245)
  • Add new Digicert Global Root G2 certificate to trusted root chain (#1247)

Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.31.0)

  • Increase dependency versions for bouncycastle to 1.69 (#1245)
  • Add new Digicert Global Root G2 certificate to trusted root chain (#1247)

Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.32.0)

  • Increase dependency versions for bouncycastle to 1.69 (#1245)
  • Add new Digicert Global Root G2 certificate to trusted root chain (#1247)

Bug fixes

  • Fixed a bug where subsequent calls to receive file upload notifications and feedback messages failed (#1238)

Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-device-client:1.9.0)

  • Increase dependency versions for bouncycastle to 1.69 (#1245)
  • Add new Digicert Global Root G2 certificate to trusted root chain (#1247)

Java Provisioning Service Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-service-client:1.8.0)

  • Increase dependency versions for bouncycastle to 1.69 (#1245)
  • Add new Digicert Global Root G2 certificate to trusted root chain (#1247)

Java X509 Provider (com.microsoft.azure.sdk.iot.provisioning.security:x509-provider:1.1.6)

  • Increase dependency versions for bouncycastle to 1.69 (#1245)

Java Security Provider (com.microsoft.azure.sdk.iot.provisioning.security:security-provider:1.5.0)

  • Add new Digicert Global Root G2 certificate to trusted root chain (#1247)

Note that this release is the first release where all the packages will be compatible with both the current IoT Hub public certificate (which is being phased out) and compatible with the new IoT Hub public certificate that will be arriving June 2022.

More information about this upcoming change in IoT Hub and DPS certificate roots can be seen here: https://techcommunity.microsoft.com/t5/internet-of-things/azure-iot-tls-critical-changes-are-almost-here-and-why-you/ba-p/2393169

https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.31.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.32.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.14.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-device-client/1.9.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-service-client/1.8.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning.security/x509-provider/1.1.6/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning.security/security-provider/1.2.0/jar

Azure IoT SDK for Java Release 2021-6-7

07 Jun 20:57
Compare
Choose a tag to compare

Java Deps (com.microsoft.azure.sdk.iot:iot-deps:0.13.1)

  • Increase dependency versions for bouncycastle to 1.65 (#1232)

Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.30.3)

  • Increase dependency versions for bouncycastle to 1.65 (#1232)

Bug fixes

  • Fixed a bug partially successful bulk registrations of devices to multiplexed connections didn't update local state properly (#1231)

Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.31.1)

  • Increase dependency versions for bouncycastle to 1.65 (#1232)

Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-device-client:1.8.8)

  • Increase dependency versions for bouncycastle to 1.65 (#1232)

Java Provisioning Service Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-service-client:1.7.3)

  • Increase dependency versions for bouncycastle to 1.65 (#1232)

Java X509 Provider (com.microsoft.azure.sdk.iot.provisioning.security:x509-provider:1.1.5)

  • Increase dependency versions for bouncycastle to 1.65 (#1232)

https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.30.3/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.31.1/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.13.1/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-device-client/1.8.8/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-service-client/1.7.3/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning.security/x509-provider/1.1.5/jar

Azure IoT SDK for Java Release 2021-5-24

24 May 23:06
Compare
Choose a tag to compare

Java Deps (com.microsoft.azure.sdk.iot:iot-deps:0.13.0)

  • Added support for Twin metadata properties, applicable when using configuration (#1219)

Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.30.2)

  • DeviceClient/ModuleClient now throws an UnsupportedOperationException when using twin/method APIs over HTTP rather than failing with service error (#1204)

Bug fixes

  • Fixed a bug where multiplexed connections couldn't handle device registrations during reconnection (#1209)
  • Fixed a bug where multiplexing client retry logic did not abandon reconnection when a non-retryable exception is thrown (#1218)
  • Fixed a bug where registering a device to an active multiplexed connection times out if the registration fails due to an issue like if the device is disabled (#1218)
  • Fixed a bug where opening a multiplexing client times out if one or more of the registered devices is disabled. Now the open call will succeed, but the connection status of the disabled device will go DISCONNECTED shortly afterwards (#1218)

Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.31.0)

  • Added support for Twin metadata properties, applicable when using configuration (#1219)

https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.30.2/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.31.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.13.0/jar

Azure IoT SDK for Java Release 2021-05-11

11 May 02:50
Compare
Choose a tag to compare

Java Deps (com.microsoft.azure.sdk.iot:iot-deps:0.12.0)

  • Add user assigned managed identity support for IoT hub import and export jobs (#1205)

Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.30.1)

  • Updated reference to com.microsoft.azure.sdk.iot:iot-deps:0.12.0

Bug fixes

  • Fixed a bug where transport layer treated multiplexed connections with one or fewer devices as a non-multiplexed connection (#1198)
  • Fixed a bug where the MultiplexingClient would close the entire multiplexed connection if a single multiplexed device session exhausted its retry attempts (#1202)
  • Fixed a bug where DeviceClient would execute the connection status callback for an already disconnected multiplexed device when the user closed the multiplexed connection (#1202)

Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.30.0)

  • Add user assigned managed identity support for IoT hub import and export jobs (#1205)
  • Updated reference to com.microsoft.azure.sdk.iot:iot-deps:0.12.0

https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.30.1/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.30.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.12.0/jar

Azure IoT SDK for Java Release 2021-5-5

06 May 01:24
65cd995
Compare
Choose a tag to compare

Java IotHub Deps (com.microsoft.azure.sdk.iot:iot-device-client:0.11.3)

  • Moved some AMQP layer code from IoT Hub service client to IoT Hub deps so that it could be shared with IoT Hub device client (#1184)

Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.30.0)

  • Added support for tracking state of outgoing messages (#1190)

Bug fixes

  • Fix bug where file upload APIs didn't throw an exception if they receive an unsuccessful IoT Hub level status code (#1186)
  • Fix regression where MQTT layer did not use new SAS token during reconnection logic. This regression affected device client versions 1.29.2, 1.29.3, and 1.29.4 (#1165)
  • Fix bug where MQTT layer did not URL encode modelId when connecting to service (#1168)
  • Fix deadlock within MQTT layer when client opens with message callback set and cloud to device message queue is full (#1155)
  • Upgrade Azure Storage dependency version (#1158)
  • Fix bug where Amqp layer treated multiplexed connections with only a single device the same way as a non-multiplexed connection (#1192)

Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.29.0)

  • Add support for ParentScope feature (#1181)
  • Add support for role based authentication as a credential option for all service clients (#1184)

https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.30.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.29.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.11.3/jar

Azure IoT SDK for Java Release 2021-3-12

12 Mar 21:18
Compare
Choose a tag to compare

Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.29.4)

Bug fixes

  • Fix bug where AMQP layer didn't always release network resources (#1147)

https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.29.4/jar

Azure IoT SDK for Java Release 2021-3-4

04 Mar 19:52
Compare
Choose a tag to compare

Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.29.3)

Bug fixes

  • Fix bug where AMQP layer didn't always release network resources (#1136, #1136)

Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.28.0)

  • Add API to replace a twin (#1139)

https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.29.3/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.28.0/jar