1.52.0 (2026-03-23)
Features Added
- Added
IndonesiaCentral,NewZealandNorth, andMalaysiaWestlocations toAzureLocationstruct. - Added a JSON schema segment to the NuGet package that provides IntelliSense and validation for
AzureClientsconfiguration inappsettings.json, includingRetryandDiagnosticsoptions.
Bugs Fixed
- Fixed implicit conversion operators to not throw exceptions on null inputs per Framework Design Guidelines. Operators now return safe defaults:
nullfor reference types,defaultfor value types. - Fixed
RequestContent.Dispose()to be idempotent and thread-safe, preventingArrayPoolbuffers from being returned multiple times when disposed concurrently or repeatedly. - Fixed
HttpClientTransportto correctly set theHostheader on outgoing requests when explicitly specified, rather than falling through toTryAddWithoutValidation.
Breaking Changes
- Added nullability annotations to implicit conversion operator parameters for
Response<T>,AzureLocation,ContentType,ResourceType,RequestContent, andDynamicDatato indicate that null is a valid input. This change was made because throwing exceptions from implicit conversions violates the Framework Design Guidelines. - Updated
RequestContentimplicit conversion operators to return nullableRequestContent?to accurately reflect that null inputs produce null outputs.