github Azure/azure-sdk-for-net Azure.Core_1.52.0

latest releases: Azure.Template_1.0.3-beta.6059279, Azure.Analytics.Synapse.Artifacts_1.0.0-preview.23, Azure.Template_1.0.3-beta.6058783...
6 hours ago

1.52.0 (2026-03-23)

Features Added

  • Added IndonesiaCentral, NewZealandNorth, and MalaysiaWest locations to AzureLocation struct.
  • Added a JSON schema segment to the NuGet package that provides IntelliSense and validation for AzureClients configuration in appsettings.json, including Retry and Diagnostics options.

Bugs Fixed

  • Fixed implicit conversion operators to not throw exceptions on null inputs per Framework Design Guidelines. Operators now return safe defaults: null for reference types, default for value types.
  • Fixed RequestContent.Dispose() to be idempotent and thread-safe, preventing ArrayPool buffers from being returned multiple times when disposed concurrently or repeatedly.
  • Fixed HttpClientTransport to correctly set the Host header on outgoing requests when explicitly specified, rather than falling through to TryAddWithoutValidation.

Breaking Changes

  • Added nullability annotations to implicit conversion operator parameters for Response<T>, AzureLocation, ContentType, ResourceType, RequestContent, and DynamicData to indicate that null is a valid input. This change was made because throwing exceptions from implicit conversions violates the Framework Design Guidelines.
  • Updated RequestContent implicit conversion operators to return nullable RequestContent? to accurately reflect that null inputs produce null outputs.

Don't miss a new azure-sdk-for-net release

NewReleases is sending notifications on new releases.