Skip to content

System.ClientModel_1.1.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 29 Feb 21:20
482895a

1.1.0-beta.2 (2024-02-29)

Features Added

  • Added ExtractResponse method to PipelineMessage to enable returning an undisposed PipelineResponse from protocol methods.
  • Added CreateAsync factory method to ClientResultException to allow creating exceptions in an async context.
  • Added an implicit cast from string to ApiKeyCredential.
  • Added an implicit cast from ClientResult<T> to T.

Breaking Changes

  • Changed HttpClientPipelineTransport.Shared and ClientRetryPolicy.Default from static readonly fields to static properties.
  • Changed PipelineResponse.Content property from abstract to virtual.
  • Removed the ResponseBufferingPolicy and moved response buffering functionality into PipelineTransport.

Other Changes

  • Made CancellationToken parameter passed to BinaryContent.WriteTo optional.