Azure.Containers.ContainerRegistry_1.1.0-beta.9
Pre-release
Pre-release
1.1.0-beta.9 (2023-04-11)
Features Added
- Added a
DownloadStreaming()
method toContainerRegistryContentClient
. This method returns a network stream in the returned result that the caller must dispose after use. - Added overloads to the
DownloadBlobTo()
method that take a file path instead of a Stream. - Exceptions returned from service methods will now have the ErrorCode value populated when it is available in the service's error response.
Breaking Changes
- Renamed
ContainerRegistryBlobClient
toContainerRegistryContentClient
. - Moved
ContainerRegistryContentClient
and related types into main namespace. - Removed
MaxChunkSize
property fromContainerRegistryClientOptions
. - Renamed
ContainerRegistryContentClient.DownloadBlob()
method toDownloadBlobContent()
. - Renamed
DownloadBlobResult
toDownloadRegistryBlobResult
. - Renamed
UploadBlobResult
toUploadRegistryBlobResult
. - Renamed
ContainerRegistryContentClient.DownloadManifest()
toGetManifest()
andDownloadManifestResult
toGetManifestResult
. - Renamed
ContainerRegistryContentClient.UploadManifest ()
toSetManifest()
andUploadManifestResult
toSetManifestResult
. - Renamed
GetManifestResult.Content
name toGetManifestResult.Manifest
. - Removed
GetManifestResult.AsOciManifest()
method in favor ofBinaryData.ToObjectFromJson<OciImageManifest>()
. - Changed
Url
,Source
andDocumentation
properties onOciAnnotations
type toUri
type. - Renamed
OciAnnotations.Config
toOciAnnotations.Configuration
.
Other Changes
- Removed requirement to pass
Audience
property onContainerRegistryClientOptions
in order to create any client instance.