Skip to content

Releases: Azure/azure-iot-sdk-csharp

Microsoft Azure IoT SDKs for .NET Release 2022-07-26

03 Aug 20:12

Choose a tag to compare

Microsoft.Azure.Devices 1.38.0

  • Update API - enable import/expert of configuration (#2322)
  • Upgrade "Newtonsoft.Json" nuget from 12.0.3 to 13.0.1 (#2443)
  • Stop batching ack for C2D feedback messages (#2439)
  • Update Support for .NET Standard 2.1+ & .NET 5+ (#2422)
  • Update reference to Microsoft.Azure.Devices.Shared nuget

Microsoft.Azure.Devices.Client 1.41.1

  • Add logging for module client C2D respond (#2495)
  • Refector AMQP unit to update session references (#2468)
  • Upgrade "Newtonsoft.Json" nuget from 12.0.3 to 13.0.1 (#2443)
  • Improve logging in retry strategy (#2436)
  • Update Support for .NET Standard 2.1+ & .NET 5+ (#2422)
  • Add additional logging statement to disposal flow (#2414)
  • Refactor PipelineContext class for better understandability (#2403)
  • Consolidate ProductInfo helper methods into the ProductInfo class (#2402)
  • Update Support for .NET Standard 2.0+ & .NET 5+ (#2396)
  • Update reference to Microsoft.Azure.Devices.Shared nuget

Bug fixes

  • Fix bug where unsubscribing from twin/methods/c2d caused brief disconnection in AMQP (#2448)
  • Fix twin operations with MQTT to retry on throttling (#2416)

Microsoft.Azure.Devices.Provisioning.Client 1.19.2

  • Upgrade "Newtonsoft.Json" nuget from 12.0.3 to 13.0.1 (#2443)
  • Update Support for .NET Standard 2.1+ & .NET 5+ (#2422)
  • Update reference to Microsoft.Azure.Devices.Shared nuget

Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.14.1

  • Update Support for .NET Standard 2.1+ & .NET 5+ (#2422)
  • Update reference to Microsoft.Azure.Devices.Shared nuget

Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.16.1

  • Update Support for .NET Standard 2.1+ & .NET 5+ (#2422)
  • Update reference to Microsoft.Azure.Devices.Shared nuget

Microsoft.Azure.Devices.Provisioning.Client.Transport.Http 1.15.1

  • Update reference to Microsoft.Azure.Devices.Shared nuget

Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.16.

  • Update Support for .NET Standard 2.1+ & .NET 5+ (#2422)
  • Update reference to Microsoft.Azure.Devices.Shared nuget

Microsoft.Azure.Devices.Shared 1.30.1

  • Upgrade "Newtonsoft.Json" nuget from 12.0.3 to 13.0.1 (#2443)
  • Update Support for .NET Standard 2.1+ & .NET 5+ (#2422)
  • Update Support for .NET 5+ (#2384)

Microsoft Azure IoT SDKs for .NET LTS patch Release 2022-06-07

07 Jun 21:19

Choose a tag to compare

This release is a patch for the Microsoft Azure IoT Hub SDK for .NET LTS patch Release 2022-05-11 LTS release.

Microsoft.Azure.Devices.Client 1.36.6

  • Update Microsoft.Azure.Amqp version to 2.5.12 (#2427)

Microsoft.Azure.Devices 1.31.3

  • Update Microsoft.Azure.Amqp version to 2.5.12 (#2427)

Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.13.7

  • Update Microsoft.Azure.Amqp version to 2.5.12 (#2427)

Microsoft Azure IoT SDKs for .NET Release 2022-5-6

12 May 00:29
9fa0c80

Choose a tag to compare

Microsoft.Azure.Devices.Client 1.41.0

  • Update QoS settings to AtLeastOnce for mqtt layer subscriptions (#2302)
  • Use await instead of TaskCompletionSource in AsyncExecution (#2320)
  • Fix: file upload SAS URI operation requires certificate to be copied (#2350)
  • Allow users to configure websocket keep-alive (#2352)
  • Update to latest Microsoft.Azure.Amqp library version (#2367)

Microsoft.Azure.Devices 1.37.1

  • Update to Azure.Core 1.22.0 to update dependency on System.Text.Encodings.Web (#2309)
  • Add missing param validation to service client (#2324)
  • Update to latest Microsoft.Azure.Amqp library version (#2367)
  • Fix: remove default timeout (#2355)

Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.16.2

  • Update to latest Microsoft.Azure.Amqp library version (#2367)

Microsoft Azure IoT SDKs for .NET LTS patch Release 2022-05-11

11 May 21:15

Choose a tag to compare

This release is a patch for the Microsoft Azure IoT Hub SDK for .NET LTS patch Release 2022-01-18 LTS release.

Microsoft.Azure.Devices.Client 1.36.5

  • Update Microsoft.Azure.Amqp version to 2.5.10

Microsoft.Azure.Devices 1.31.2

  • Update Microsoft.Azure.Amqp version to 2.5.10

Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.13.6

  • Update Microsoft.Azure.Amqp version to 2.5.10

Microsoft Azure IoT SDKs for .NET Preview Release 2022-03-24

24 Mar 16:59
f68cdb8

Choose a tag to compare

Microsoft.Azure.Devices.Provisioning.Service 1.19.1-preview-001

  • Adding support for AAD authentication for the Provisioning Service Client (#2297)

Microsoft Azure IoT SDKs for .NET Preview Release 2022-02-18

19 Feb 02:25

Choose a tag to compare

SDK updates from main branch.

This release is bringing changes from the main release 2022-01-26.
The previous preview release was based on the main release 2021-08-11.

Microsoft.Azure.Devices.Client 1.41.0-preview-001

  • Updates from GA release 2022-01-26.
  • Update native Azure IoT Plug and Play (PnP) APIs:
    • Update the command and property callback APIs to no longer require users to pass a context object in the callback implementation.
      • Command callback function is updated from Func<CommandRequest, object, Task<CommandResponse>> callback to Func<CommandRequest, Task<CommandResponse>> callback. Since SubscribeToCommandsAsync callback is invoked for all command invocation requests,
        the user context passed in would be the same for all scenarios. This user context can be set at a class level instead.
      • Property callback function is updated from Func<ClientPropertyCollection, object, Task> callback to Func<ClientPropertyCollection, Task> callback. Since SubscribeToWritablePropertyUpdateRequestsAsync callback is invoked for all property update events, the user context passed in would be the same for all scenarios. This user context can be set at a class level instead.
    • .NET property private setters have been removed and the property has been made readonly instead.
    • Payload getters in CommandRequest have been simplified
      • public string DataAsJson { get; } has been updated to public string GetPayloadAsString().
      • public T GetData<T>() has been updated to public T GetPayload<T>().
      • public byte[] GetDataAsBytes() has been updated to public ReadOnlyCollection<byte> GetPayloadAsBytes().
    • Payload getter in CommandResponse has been simplified
      • public string ResultAsJson { get; } has been updated to public object Payload { get; }.

Microsoft.Azure.Devices 1.38.0-preview-001

Microsoft.Azure.Devices.Shared 1.31.0-preview-001

Microsoft.Azure.Devices.Provisioning.Client 1.20.0-preview-001

Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.18.0-preview-001

Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.17.0-preview-001

Microsoft.Azure.Devices.Provisioning.Client.Transport.Http 1.16.0-preview-001

Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.15.0-preview-001

Microsoft.Azure.Devices.Provisioning.Service 1.19.0-preview-001

Microsoft Azure IoT SDKs for .NET Release 2022-01-26

28 Jan 09:36
6cce47a

Choose a tag to compare

Microsoft.Azure.Devices.Shared 1.30.1

  • Miscellaneous code and documentation improvements

Microsoft.Azure.Devices.Client 1.40.0

  • Select correct AMQP link for a Module Twin (#2219)
  • Upgrade AMQP library to support and respect cancellation tokens while maintaining legacy behavior. (#2216)
  • Fix the concurrency issue in MQTT stack (#2234)
  • Fix the issue with hanging thread in DeviceClients configured with MQTT (#2272)
  • Fix issue with AMQP connection pool and TokenReferesher disposal. (#2260)
  • Fix the threading issue with MQTT stack (#2272)
  • Throw ObjectDisposedException instead of NullReferenceException on client API calls after the client has been dispose (#2286)
  • Update reference to Microsoft.Azure.Devices.Shared nuget.
  • Fix the debug exception assertion when authentication is performed via a user-supplied SAS token in MQTT

Microsoft.Azure.Devices 1.37.0

  • Upgrade AMQP library to support and respect cancellation tokens while maintaining legacy behavior. (#2216)
  • Update reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Client 1.19.1

  • Upgrade AMQP library to support and respect cancellation tokens while maintaining legacy behavior. (#2216)
  • Update reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Service 1.18.1

  • Improved xml docs
  • Update reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.16.1

  • Upgrade AMQP library to support and respect cancellation tokens while maintaining legacy behavior. (#2216)
  • Update reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.17.1

  • Fix the issue with hanging thread in ProvisioningDeviceClient configured with MQTT (#2272)
  • Update reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Transport.Http 1.15.1

  • Upgrade Microsoft.Rest.ClientRuntime dependency.
  • Update reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.14.1

  • Update reference to Microsoft.Azure.Devices.Shared nuget.

Microsoft Azure IoT SDKs for .NET LTS patch Release 2022-01-18

19 Jan 17:53
4515e44

Choose a tag to compare

This release is a patch for the Microsoft Azure IoT Hub SDK for .NET LTS patch Release 2021-10-19 LTS release.

Microsoft.Azure.Devices.Client 1.36.4

  • Fix bug where operations on a disposed Device Client would throw NullReferenceException. Operations on a disposed Device Client will now throw ObjectDisposedException (#2286)
  • Adding a reference to DotNetty.Common 0.7.1 to fix the threading issue introduced in 0.7.0. (#2272)

Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.14.2

  • Adding a reference to DotNetty.Common 0.7.1 to fix the threading issue introduced in 0.7.0. (#2272)

Microsoft Azure IoT SDKs for .NET Release 2021-11-01

28 Oct 23:10
a609daa

Choose a tag to compare

General

  • Rename master branch to main. (#2183)

Microsoft.Azure.Devices.Shared 1.30.0

  • Add support for .NET 5. (#2169)

Microsoft.Azure.Devices.Client 1.39.0

  • Add support for .NET 5. (#2169)
  • Add support for IAsyncDisposable in supported .NET versions; automatically calls CloseAsync on dispose. (#2192)
  • Add XML docs for exceptions that can be thrown by ModuleClient.SendEventAsync and DeviceClient.SendEventAsync, courtesy of @Marusyk. (#2178)

Bug fixes

  • Fix issue with hanging thread after dispose. (#2201)
  • Support standard x509=true for connection strings. (#2203)
  • Fix bug where client's retry policy applied n^2 times rather than n times. (#2209)
  • Fix params passed into ObjectDisposedException.

Microsoft.Azure.Devices 1.36.0

  • Add support for .NET 5. (#2169)
  • Helper code in CryptoKeyGenerator marked as obsolete. (#2187)

Bug fixes

  • Fix bug where device scope and parent scopes set to device weren't used in bulk add operations. (#2189)
  • Add missing moduleContent field to ConfigurationContent class. (#2208)

Microsoft.Azure.Devices.Provisioning.Client 1.19.0

  • Add support for .NET 5. (#2169)

Microsoft.Azure.Devices.Provisioning.Service 1.18.0

  • Add support for .NET 5. (#2169)

Bug fixes

  • Remove client side validation of x509 CA references format. (#2172)

Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.16.0

  • Add support for .NET 5. (#2169)

Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.17.0

  • Add support for .NET 5. (#2169)

Microsoft.Azure.Devices.Provisioning.Transport.Http 1.15.0

  • Add support for .NET 5. (#2169)

Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.14.0

  • Add support for .NET 5. (#2169)

Microsoft Azure IoT SDKs for .NET LTS patch Release 2021-10-19

20 Oct 20:44

Choose a tag to compare

This release is a patch for the Microsoft Azure IoT Hub SDK for .NET LTS patch Release 2021-08-12 LTS release.

Microsoft.Azure.Devices.Client 1.36.3

  • Fix bug where after disposing of the client when reconnection expires, outstanding API calls will not return and the thread will not exit. (#2201)