Skip to content

Releases: Azure/azure-iot-sdk-csharp

Azure IoT SDK for .NET Release 2020-11-03

03 Nov 20:16
Compare
Choose a tag to compare

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.
  • 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 return null. You can switch back to the polling ReceiveAsync() API by unsubscribing to the callback (setting a null 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.
  • Add an option to ClientOptions to configure if the device client should assign a random GUID for Message.MessageId by default in the event the user doesn't set the MessageId.
  • 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 to ServiceClient. Enable Azure.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 for Message.MessageId by default in the event the user doesn't set the MessageId.
  • 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

16 Oct 22:05
5a2d385
Compare
Choose a tag to compare

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

14 Oct 22:19
961f412
Compare
Choose a tag to compare

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

09 Oct 15:57
1af1694
Compare
Choose a tag to compare

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

05 Oct 23:52
e41a277
Compare
Choose a tag to compare

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

01 Oct 01:28
Compare
Choose a tag to compare

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

24 Sep 19:19
Compare
Choose a tag to compare

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

22 Sep 00:12
163f92d
Compare
Choose a tag to compare

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

17 Sep 16:22
Compare
Choose a tag to compare

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

Microsoft Azure IoT Hub SDK for .NET LTS Release 2020-08-19

19 Aug 18:10
Compare
Choose a tag to compare

Microsoft.Azure.Devices.Client.1.28.0

  • 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:

  • Fix issue where SemaphoreFullException was thrown unexpectedly (#1502)
  • Implement correct actions for each ConnectReturnCode returned (#1496)
  • Fix mqtt layer to monitor ping response (#1409)

The following nuget versions have been previously released, and are being marked as LTS:

  • Microsoft.Azure.Devices.1.22.0
  • Microsoft.Azure.Devices.Shared.1.20.1
  • Microsoft.Azure.Devices.Provisioning.Client.1.6.0
  • Microsoft.Azure.Devices.Provisioning.Transport.Amqp.1.3.1
  • Microsoft.Azure.Devices.Provisioning.Transport.Http.1.2.4
  • Microsoft.Azure.Devices.Provisioning.Transport.Mqtt.1.3.0
  • Microsoft.Azure.Devices.Provisioning.Security.Tpm.1.2.3
  • Microsoft.Azure.Devices.Provisioning.Service.1.6.3