github Azure/azure-iot-sdk-csharp 2021-01-21
Azure IoT SDK for .NET Release 2021-01-21

latest releases: 2024-03-28, lts_2024-03-29_patch10, lts_2021-03-18_patch10...
3 years ago

Microsoft.Azure.Devices.Client 1.34.0

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.
  • Provide a way to pass in list of certificates in a chain for authentication while creating the device client while using MQTT_TCP and AMQP_TCP protocols (#1742).
  • Added logging to MQTT transport layer (#1694, #1709)
  • Documented a NullReferenceException instead of fixing it, avoid breaking change (#1734, Addresses #1667)
  • Added/improved doc comments on public types
  • Removal of unreferenced code

Bug fixes

  • Relaxed validation on host name from the device connection string for when using Edge as a transparent gateway (#1552, #1650)
  • Dispose all disposable objects (#1689, #1699, #1708, #1710, #1728, #1704)
  • Await asynchronous calls (#1714, #1729)
  • Use CultureInvariant for validating device connection string values (#1716)
  • Avoid System.NullReferenceException (#1735)
  • C2D messages sent while disconnected are now delivered after reconnect (when subscribed to receive C2D messages via callback) (#1686)
  • Pass down the cancellation token in places where cancellation tokens were not being passed down to underlying API calls.
  • Assembly neutral language specified (#1696)
  • Project warnings clean up

Microsoft.Azure.Devices 1.29.0

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.
  • Added logging to AMQP and HTTP transport layers (#1652)
  • Added/improved doc comments on public types
  • Improved parameter error handling:
    • UrlEncodedDictionarySerializer.Deserialize will now throw System.ArgumentNullException when parameter value is null.
    • ClientWebSocketChannel.DoWrite will now throw System.ArgumentNullException when parameter channelOutboundBuffer is null.
    • ClientWebSocketChannelConfig.SetOption will now throw System.ArgumentNullException when parameter option is null.
    • DictionaryExtensions.GetValueOrAdd<TKey, TValue> will now throw System.ArgumentNullException when parameter valueProvider is null.
    • DictionaryExtensions.GetOrAddNonNull<TKey, TValue> will now throw System.ArgumentNullException when parameter valueFactory is null.
    • PerfectHash.HashToLong and HashToShort will now throw System.ArgumentNullException when parameters data are null.
    • SharedAccessSignature.Authenticate will now throw System.ArgumentNullException when parameter sasAuthorizationRule is null.
    • TrackingHelper.GetErrorCodeFromAmqpError will now throw System.ArgumentNullException when parameter ex is null.
    • RegistryManager.CreateFromConnectionString will now throw System.ArgumentNullException when parameter transportSettings is null.
  • Dispose all disposable objects (#1656)
  • Assembly neutral language specified (#1696)
  • Project warnings clean up
  • Removal of unreferenced code

Microsoft.Azure.Devices.Shared 1.27.0

  • Fixed issue where retrieving a twin array returned null (this affected twin property retrieval calls made from Microsoft.Azure.Devices.RegistryManager) (#1736)
  • Project warnings clean up

Microsoft.Azure.Devices.Provisioning.Client 1.16.3

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.
  • Reduce sustained memory footprint when using certificates (#1679, #1676)

Microsoft.Azure.Devices.Provisioning.Transport.Amqp 1.13.4

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.
  • Dispose all disposable objects (#1699)

Microsoft.Azure.Devices.Provisioning.Transport.Http 1.12.3

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.
  • Dispose all disposable objects (#1699)

Microsoft.Azure.Devices.Provisioning.Transport.Mqtt 1.14.0

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.
  • Project warnings clean up

Microsoft.Azure.Devices.Provisioning.Security.Tpm 1.12.3

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.
  • Project warnings clean up

Microsoft.Azure.Devices.Provisioning.Service 1.16.3

  • Updated reference to Microsoft.Azure.Devices.Shared nuget.
  • Project warnings clean up

Don't miss a new azure-iot-sdk-csharp release

NewReleases is sending notifications on new releases.