Skip to content

v10.0.16

Latest

Choose a tag to compare

@maikebing maikebing released this 03 Oct 17:57

What's Changed

  • Upgrade Microsoft.SourceLink.GitHub from 10.0.300 to 10.0.401 to address a vulnerable build dependency, by @vidaritos in #42.
  • Migrate Azure Digital Twins health checks to Azure.ResourceManager.DigitalTwins 1.3.2, replacing the deprecated management and Fluent SDKs. Remove the explicit System.Text.RegularExpressions dependency. See #43 and 80fd11bb.

Breaking Change: Azure Digital Twins

  • Both AddAzureDigitalTwin overloads and the AzureDigitalTwinSubscriptionHealthCheck constructors now require the full Azure resourceId.
  • Replace Microsoft.Rest.ServiceClientCredentials with Azure.Core.TokenCredential, such as DefaultAzureCredential or ClientSecretCredential. The client ID/client secret/tenant ID overload also accepts the new required resourceId argument.
  • The liveness check now reads the specified Digital Twins resource through Azure Resource Manager. Grant the credential permission to read that resource, for example the Reader role at resource scope.
  • For custom derived health checks, ManagementClientConnections now stores ArmClient, CreateManagementClient() returns ArmClient, and the protected ServiceClientCredentials field has been removed.

Example registration:

using Azure.Identity;
using Microsoft.Extensions.DependencyInjection;

services.AddHealthChecks()
    .AddAzureDigitalTwin(
        new DefaultAzureCredential(),
        "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}");

See the migration guide and updated examples.

Test and CI Maintenance

  • Restore Minio functional tests using an available container image pinned to its digest after the official images became unavailable. See 3d4123bd.
  • Add manual runs to EventStore CI. See e9a14dd5.

New Contributors

Full Changelog: v10.0.15...v10.0.16