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

latest releases: Azure.ResourceManager.Search_1.3.0-beta.3, Azure.Template_1.0.3-beta.3791706, Azure.Messaging.EventHubs.Processor_5.11.3...
2 years ago

1.23.0 (2022-03-21)

Features Added

  • Added the TelemetryDetails type which enables customization of UserAgent header values on a per-request basis based on a specified Assembly and an optional application Id string.
  • Added AddClassifier methods to RequestContext. These methods allow callers to change the response classification behavior for a given method invocation.
  • Added a new StatusCodeClassifier type that will be used as the default ResponseClassifier for some libraries.
  • Added an extension method to BinaryData called ToObjectFromJson which converts the json value represented by BinaryData to an object of a specific type.
  • Additional data center locations were added to AzureLocation.
  • Added WaitUntil enum to allow callers to set whether a method invoking a long running operation should return when the operation starts or once it has completed.

Breaking Changes

  • Cookies are no longer set on requests by default. Cookies can be re-enabled for HttpClientTransport by either setting an AppContext switch named "Azure.Core.Pipeline.HttpClientTransport.EnableCookies" to true or by setting the environment variable, "AZURE_CORE_HTTPCLIENT_ENABLE_COOKIES" to "true". Note: AppContext switches can also be configured via configuration like below:
  <ItemGroup>
    <RuntimeHostConfigurationOption Include="Azure.Core.Pipeline.HttpClientTransport.EnableCookies" Value="true" />
  </ItemGroup>

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

NewReleases is sending notifications on new releases.