Releases: Azure/azure-iot-sdk-csharp
Releases · Azure/azure-iot-sdk-csharp
Azure IoT SDK for .NET Release 2020-11-05
Microsoft.Azure.Devices.Client 1.33.1
Bug fixes:
- Fix bug where setting a callback for receiving C2D messages after having previously called
ReceiveAsync()
would not work on AMQP. - Fix incorrect connection status being reported if the client is disconnected immediately after initialization (#1646 ).
Microsoft.Azure.Devices 1.28.1
- Add logging to
RegistryManager
.
Azure IoT SDK for .NET Release 2020-11-03
Microsoft.Azure.Devices.Client 1.33.0
- Add support for disabling callbacks for receiving twin property updates and method invocations.
- Setting a
null
callback handler will result in unsubscription of the callback that the device was previously subscribed to. - Unsubscription over AMQP results in closure of the links. A subsequent subscription will result in opening of the links again. For this reason, frequent subscription-unsubscription should be avoided, as service might end up throttling your requests.
- Setting a
- Add a callback for receiving C2D messages over MQTT and AMQP.
- The polling
ReceiveAsync()
APIs will still be supported over MQTT, AMQP and HTTP. - The callback is not supported over HTTP, as any kind of "receiving" operation on HTTP would need to implement a polling call underneath anyway.
- Once you set a callback for receiving C2D messages over MQTT and AMQP, any subsequent call to
ReceiveAsync()
would always returnnull
. You can switch back to the pollingReceiveAsync()
API by unsubscribing to the callback (setting anull
callback handler will result in unsubscription of the callback). - Unsubscription over AMQP results in closure of the telemetry receiving link. A subsequent subscription/invocation of
ReceiveAsync()
will result in opening of the telemetry receiving link. For this reason, frequent subscription-unsubscription should be avoided, as service might end up throttling your requests.
- The polling
- Add an option to
ClientOptions
to configure if the device client should assign a random GUID forMessage.MessageId
by default in the event the user doesn't set theMessageId
. - Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Bug fixes:
- Add additional comments to
DeviceClient
public APIs. - Ensure
IDisposable
types used in the client library are disposed properly.
Microsoft.Azure.Devices 1.28.0
- Add
EventSource
logging toServiceClient
. EnableAzure.Amqp
logs to be written to our SDKs event provider. - Add an option to
ServiceClientOptions
to configure if the service client should assign a random GUID forMessage.MessageId
by default in the event the user doesn't set theMessageId
. - Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Bug fixes:
- Fix
Message
disposal behavior, which was preventing the SDK from being able to resend the same IoT Hub message multiple times (#1638)
Microsoft.Azure.Devices.Shared 1.26.0
- Add an enum for configuring if SDK should assign a value of
Message.MessageId
if user does not set one.
Microsoft.Azure.Devices.Provisioning.Client 1.16.2
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.13.3
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Transport.Http 1.12.2
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.13.2
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.12.2
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Service 1.16.2
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Azure IoT SDK for .NET Release 2020-10-15
Release notes:
Microsoft.Azure.Devices.Client 1.32.0
- Update Microsoft.Azure.Amqp version to 2.4.7.
- Set a default idle timeout of 2 minutes over AMQP (#1535)
Bug fixes:
- Added QuotaExeededException as an inner exception to the DeviceMaximumQueueDepthExceededException that is incorrectly being mapped to a 403002 AMQP error code.
Microsoft.Azure.Devices 1.27.3
- Update Microsoft.Azure.Amqp version to 2.4.7.
Bug fixes:
- Fix issue with AmqpServiceClient throwing NRE during C2D messages.
Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.13.2
- Update Microsoft.Azure.Amqp version to 2.4.7.
Microsoft Azure IoT Hub SDK for .NET Preview Release 2020-10-14
SDK updates from master
branch.
This release is bringing changes from the master release 2020-10-8.
Microsoft.Azure.Devices.Client 1.32.0-preview-001
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Bug Fixes:
- Fix issue with .NET Standard 5 preview throwing "Not Supported Exception" (#1592)
- Fix cross target framework dependency management (#1562)
Microsoft.Azure.Devices 1.28.0-preview-001
- Add a new client (DigitalTwinClient) to support operations against Digital Twin. Digital Twin APIs operate on high-level constructs in the Digital Twins Definition Language (DTDL) such as components, properties, and commands. The Digital Twin APIs make it easier for solution builders to create IoT Plug and Play solutions.
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Bug Fixes:
- Fix cross target framework dependency management (#1562)
- Fix issue where NullReference exceptions are missing full stack traces.
Microsoft.Azure.Devices.Shared 1.26.0-preview-001
- Bumping the version for the Shared package in order to conform to the new versioning guidelines agreed upon in the Managed SDK team.
Microsoft.Azure.Devices.Provisioning.Client 1.17.0-preview-001
- Add a PnpConvention helper class for formatting the DPS device registration payload, per plug and play convention.
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.14.0-preview-001
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Client.Transport.Http 1.13.0-preview-001
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.14.0-preview-001
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.13.0-preview-001
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Service 1.17.0-preview-001
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft Azure IoT Hub SDK for .NET Release 2020-10-08
Microsoft.Azure.Devices.Client 1.31.2
Bug Fixes:
- Fix issue with .NET Standard 5 preview throwing "Not Supported Exception" (#1592)
- Fix cross target framework dependency management (#1562)
Microsoft.Azure.Devices 1.27.2
Bug Fixes:
- Fix cross target framework dependency management (#1562)
- Fix issue where NullReference exceptions are missing full stack traces.
Microsoft Azure IoT Hub SDK for .NET Release 2020-10-2
Updated package versions to match previously released preview version:
- Microsoft.Azure.Devices.Client 1.31.1
- Microsoft.Azure.Devices 1.27.1
- Microsoft.Azure.Devices.Shared 1.25.1
- Microsoft.Azure.Devices.Provisioning.Client 1.16.1
- Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.13.1
- Microsoft.Azure.Devices.Provisioning.Transport.Http 1.12.1
- Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.13.1
- Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.12.1
- Microsoft.Azure.Devices.Provisioning.Service 1.16.1
Microsoft Azure IoT Hub SDK for .NET Release 2020-9-30
Microsoft.Azure.Devices.Client 1.31.0
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices 1.27.0
- Add a new client (DigitalTwinClient) to support operations against Digital Twin. Digital Twin APIs operate on high-level constructs in the Digital Twins Definition Language (DTDL) such as components, properties, and commands. The Digital Twin APIs make it easier for solution builders to create IoT Plug and Play solutions.
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Shared 1.25.0
- Add support for retrieving ModelId on Twin object.
Microsoft.Azure.Devices.Provisioning.Client 1.16.0
- Add a PnpConvention helper class for formatting the DPS device registration payload, per plug and play convention.
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.13.0
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Transport.Http 1.12.0
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.13.0
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.12.0
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft.Azure.Devices.Provisioning.Service 1.16.0
- Updated reference to
Microsoft.Azure.Devices.Shared
nuget.
Microsoft Azure IoT Hub SDK for .NET LTS patch Release 2020-09-23
This release is a patch for the 2020-8-19 LTS release. It contains a fix for GetFileUploadSasUriAsync
issues.
Microsoft.Azure.Devices.Client.1.28.1
Bug fixes:
- Fix GetFileUploadSasUriAsync API when using certificate authentication methods (#1527)
Azure IoT SDK for .NET Preview Release 2020-9-21
Release notes:
Microsoft.Azure.Devices.Client.1.29.1-preview-003
SDK updates from master
branch:
- Remove unreferenced exceptions and their mappings
DeviceAlreadyExistsException
DeviceDisabledException
IotHubNotFoundException
- Implement model Id support over Amqp.
- Add support for sending digital twin telemetry from components.
- Add additional logging, descriptions and code cleanup in Mqtt layer.
- Update doc for exception handling over amqp, add connection status change event descriptions.
Bug fixes:
SDK fixes from master branch:
- Fix issue where
SemaphoreFullException
was thrown unexpectedly (#1502) - Implement correct actions for each
ConnectReturnCode
returned (#1496) - Fix mqtt layer to monitor ping response (#1409)
- Fix GetFileUploadSasUriAsync API when using certificate authentication methods (#1527)
Microsoft.Azure.Devices.1.27.1-preview-003
SDK updates from master
branch:
- Expose the exception Code on the API surface- Addresses : (#629)
Microsoft.Azure.Devices.Provisioning.Service.1.16.0-preview-002
SDK updates from master
branch:
- Add APIs to get device attestation mechanism
Microsoft Azure IoT Hub SDK for .NET Release 2020-9-17
Release notes:
Microsoft.Azure.Devices.Client.1.30.0
- Remove unreferenced exceptions and their mappings
- DeviceAlreadyExistsException
- DeviceDisabledException
- IotHubNotFoundException
Bug fixes:
- Fix GetFileUploadSasUriAsync API when using certificate authentication methods (#1527)
Note: The bump for device client is from 1.28.x -> 1.30.x because the 1.29.x version range is being currently used for the preview packages.
Microsoft.Azure.Devices.Provisioning.Service 1.7.0
- Add APIs to get device attestation mechanism