- Added protected
Apply(PipelineMessage)
method toRequestOptions
so that derived types can extend its functionality. - Added
Create(Stream)
overload toBinaryContent
.
- Removed
[Serializable]
attribute and serialization constructor fromClientResultException
. - Made
value
parameter nullable inPipelineMessage.SetProperty
method. - Made
options
parameter toPipelineMessage.Apply
nullable.
- Added
ExtractResponse
method toPipelineMessage
to enable returning an undisposedPipelineResponse
from protocol methods. - Added
CreateAsync
factory method toClientResultException
to allow creating exceptions in an async context. - Added an implicit cast from
string
toApiKeyCredential
. - Added an implicit cast from
ClientResult<T>
toT
.
- Changed
HttpClientPipelineTransport.Shared
andClientRetryPolicy.Default
from static readonly fields to static properties. - Changed
PipelineResponse.Content
property from abstract to virtual. - Removed the
ResponseBufferingPolicy
and moved response buffering functionality intoPipelineTransport
.
- Made
CancellationToken
parameter passed toBinaryContent.WriteTo
optional.
- Initial preview release of convenience types in the System.ClientModel namespace, including
ClientResult<T>
,KeyCredential
, andClientResultException
. - Initial preview release of pipeline types, including
ClientPipeline
,PipelinePolicy
, andPipelineMessage
.
- Initial release of ModelReaderWriter APIs for reading and writing models in different formats.
ModelReaderWriter
andModelReaderWriterOptions
have moved to System.ClientModel.Primitives namespaceJsonModelConverter
was removed.
- ModelReaderWriter APIs for reading and writing models in different formats.