Releases: Azure/azure-iot-sdk-java
Azure IoT SDK for Java Preview Release 2020-7-8
Java IotHub Service Client Preview (com.microsoft.azure.sdk.iot:iot-service-client-preview:1.1.0)
- Add PnP Summer refresh model Id support
- Make http read and connect timeouts configurable for registry manager operations
- Add proxy support for registry manager and service client operations
- Add support for fully qualified error codes when provided by service
- Add twin array support
- Add support for identity based storage authentication for jobs
Bug fixes
- Brought all bug fixes in from iot-service-client:1:24:0
Java IotHub Device Client Preview (com.microsoft.azure.sdk.iot:iot-device-client-preview:1.1.0)
- Add PnP Summer refresh model Id support
- Stabilize AMQP layer with several bug fixes
- Fixed several performance issues
- Deprecate file upload APIs in favor of new, more granular APIs to allow for users to choose their Storage SDK dependency
- Fixed desired properties not being received over AMQP
- Add twin array support
- Add support for CA signed x509 certs over HTTPS and MQTT_WS
Bug fixes
- Brought all bug fixes in from iot-device-client:1:24:0
Java IotHub Deps Preview (com.microsoft.azure.sdk.iot:iot-deps-preview:1.1.0)
- Remove SDK side validation of twin maximum depth
- Deprecate file upload APIs in favor of new, more granular APIs to allow for users to choose their Storage SDK dependency
Bug fixes
- Brought all bug fixes in from iot-deps:1:10:0
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client-preview/1.1.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client-preview/1.1.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps-preview/1.1.0/jar
Azure IoT SDK for Java LTS Release 2020-7-7
Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.24.0)
- Add support for setting HTTP read and connect timeouts for registry manager operations (#815)
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.24.0)
- Add new File upload APIs for more granular control over the now deprecated file upload API (#808)
- Add PnP ModelId option to ModuleClient constructors
- Deprecated Client constructors that take x509 authentication through strings/file paths in favor of SSLContext
- Add message type (twin subscribe message, for instance) to log statements
- Cut down on needless spawning of send/receive threads. Now threads stop spawning until work becomes available (#826)
Bug fixes
- Fix AMQP layer being too proactive when renewing sas tokens (#793)
- Fix AMQP layer not maintaining separate sas token renewal schedules per multiplexed client (#793)
- Fix bug where client library spawned send/receive threads even when in a reconnecting state (#826)
Java Iot Deps (com.microsoft.azure.sdk.iot:iot-deps:1.10.0)
- Add new File upload APIs for more granular control over the now deprecated file upload API (#808)
Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-device-client:1.8.3)
Bug fixes
- Fix issue where HTTP requests didn't send content-length header (#833)
Java Provisioning Service Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-service-client:1.6.2)
Bug fixes
- Fix issue where HTTP requests didn't send content-length header (#833)
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.24.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.24.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.10.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-device-client/1.8.3/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-service-client/1.6.2/jar
Azure IoT SDK for Java Release 2020-06-12
Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.23.0)
- Make all service client APIs use new Service API Version (#788)
- Add support for fully qualified error codes in service client HTTP exceptions (#782)
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.23.0)
- Add Client Options to enable users to supply model id on MQTT (#791)
Bug Fixes:
- Fix issue where creationTimeUTC used local timezone during stringification (#784)
Java SDK Dependency (com.microsoft.azure.sdk.iot:iot-deps:0.9.5)
- Add support for fully qualified error codes in service client HTTP exceptions (#782)
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.23.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.23.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.9.5/jar
Azure IoT SDK for Java Release 2020-5-15
Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.22.0)
- Add proxy support for registry manager (#768)
- Add proxy support for service client operations (#773)
- Add Twin Array Support
Bug Fixes
- Fix issue where amqp layer didn't recognize an ack to a subscription message that it sent (#778)
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.22.0)
- Support Twin Array properties (#770)
Bug Fixes
- Fix issue where amqp layer didn't recognize an ack to a subscription message that it sent (#778)
- Fix issue where MQTT didn't url encode application properties correctly (#775)
- Fix bug in amqpws, raise max message size from 1 kb to 16 kb (#767)
Java SDK Dependency (com.microsoft.azure.sdk.iot:iot-deps:0.9.4)
- Update proton-j extension to 1.2.3
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.22.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.22.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.9.4/jar
Azure IoT SDK for Java Release 2020-4-22
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.21.1)
Bug Fixes
- Fix bug where setOption API for setting https read and connect timeouts ("SetHttpsReadTimeout", "SetHttpsConnectTimeout") threw an exception
Pull Requests
#762
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.21.1/jar
Azure IoT SDK for Java Release 2020-4-14
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.21.0)
- Add setOption API setting https read and connect timeouts ("SetHttpsReadTimeout", "SetHttpsConnectTimeout")
- Add setOption API setting how frequently the SDK spawns threads to handle incoming messages ("SetReceiveInterval")
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.21.0/jar
Azure IoT Hub SDK for java Release 2020-3-31
Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.21.1)
- Improve API documentation for key-based authentication for jobs APIs
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.20.3)
- Add support for CA signed X509 over MQTT_WS, and HTTPS
Bug Fixes
- Fix incorrect logging in AMQP session manager (#730)
- Fix issue where SDK didn't validate application properties in Messages properly
Java SDK Dependency (com.microsoft.azure.sdk.iot:iot-deps:0.9.3)
- Add better logging to amqp layer used by provisioning device client
Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-device-client:1.8.2)
- Add better logging to provisioning device client
Pull Requests
#746, #743, #736, #735, #733
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.20.3/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.21.1/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.9.3/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-device-client/1.8.2/jar
Azure IoT SDK for Java Release 2020-3-13
Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.21.0)
- Enables new security functionality to specify how hub should authenticate when working with a storage account when running import/export devices jobs. Initially, this feature has limited availability, starting with 3 public cloud Azure regions. Since it is not yet widely available, this functionality must be explicitly enabled by the user. See below (1) for details.
- New property
JobProperties.StorageAuthenticationType
for use in import/export devices jobs. - Added overloaded methods:
RegistryManager.importDevicesAsync
,RegistryManager.importDevices
,RegistryManager.exportDevicesAsync
andRegistryManager.exportDevices
. The overloads take aJobProperties
instance so the user can pass all required and any optional parameters. - Two factory methods to make it easier to call
importDevicesAsync
,importDevices
,exportDevicesAsync
andexportDevices
making it clear which properties are required and which are optional. They areJobProperties.createForImportJob
andJobProperties.createForExportJob
respectively.
- New property
- Updated reference to com.microsoft.azure.sdk.iot:iot-deps
(1) To enable this functionality, this version of the SDK will require setting an environment variable of
EnableStorageIdentity
to1
. Once this feature is widely available, another SDK version will be released with this requirement removed.
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.20.2)
- Upgraded version of Azure Storage dependency
- Updated reference to com.microsoft.azure.sdk.iot:iot-deps
Java SDK Dependency (com.microsoft.azure.sdk.iot:iot-deps:0.9.2)
- New enum
StorageAuthenticationType
to specify key-based or identity-based authentication. - Adding support for JobPropertiesParser for a new enum
StorageAuthenticationType
Java Provisioning Security x509 Provider (com.microsoft.azure.sdk.iot.provisioning.security:x509-provider:1.1.4)
- Upgraded version of bouncy castle dependency
Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-device-client:1.8.1)
- Updated reference to com.microsoft.azure.sdk.iot.provisioning.security:x509-provider
- Updated reference to com.microsoft.azure.sdk.iot:iot-deps
Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-service-client:1.6.1)
- Updated reference to com.microsoft.azure.sdk.iot.provisioning.security:x509-provider
- Updated reference to com.microsoft.azure.sdk.iot:iot-deps
Merge Pull Request
#717, #725, #726, #723
Maven packages
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.20.2/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.21.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.9.2/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning.security/x509-provider/1.1.4/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-device-client/1.8.1/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-service-client/1.6.1/jar
Azure IoT SDK for Java Release 2020-2-28
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.20.1)
Bug Fixes
• Adjust which amqp exceptions are retryable to improve retry logic
• Fix bug where device client using mqtt_ws failed to tunnel through http proxy if proxy response used Http/1.0 (#715)
Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.20.1)
• Added better logging to feedback receiver, cloud to device sender, and file upload notification receiver
Bug Fixes
• Fixed bug where file upload notification receiver did not clean up its sockets if connection failed (#549)
• Fixed bug where file upload notification receiver and feedback receiver both silently swallowed messages occasionally (#720)
Java SDK Dependency (com.microsoft.azure.sdk.iot:iot-deps:0.9.1)
• Add better logging to amqp layer, and better cleanup logic for error cases
• Upgrade qpid proton-j extensions library to latest version
Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-device-client:1.8.0)
• Add better logging to amqp layer, and better cleanup logic for error cases
Merge Pull Request
Maven packages
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.20.1/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.20.1/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.9.1/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-device-client/1.8.0/jar
Azure IoT SDK for Java Release 2020-2-12
(Note that this release is after an LTS release, so all bumped versions are minor bumps)
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.20.0)
Bug Fixes
• Removed SDK side validation of max twin depth (#699)
Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.12.0)
Bug Fixes
• Removed SDK side validation of max twin depth (#699)
Java SDK Dependency (com.microsoft.azure.sdk.iot:iot-deps:0.9.0)
Bug Fixes
• Removed SDK side validation of max twin depth (#699)
Java Provisioning Service Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-service-client:1.6.0)
Bug Fixes
• Removed SDK side validation of max twin depth (#699)
Merge Pull Request
Maven packages
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.20.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.20.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.9.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-service-client/1.6.0/jar