- General availability release of
ContainerRegistryContentClient
.
- Added sanity check for manifest size at download time: if the manifest is bigger than 4MB,
RequestFailedException
will be thrown.
- 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.
- 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
.
- Removed requirement to pass
Audience
property onContainerRegistryClientOptions
in order to create any client instance.
- Added
SizeInBytes
toUploadBlobResult
to prevent the need to check stream length on a possibly non-seekable stream.
- Renamed
OciBlobDescriptor
toOciDescriptor
.
- Added overloads to
ContainerRegistryBlobClient.DownloadManifest()
method that allow caller to specify multiple manifest media types in a collection. - Added overloads to
ContainerRegistryBlobClient
methodsUploadBlob()
andUploadManifest()
that take the content to upload as aBinaryData
.
- Removed
UploadBlobOptions
type and moved chunk size configuration into ClientOptions. - Reordered parameters in
ContainerRegistryBlobClient
constructor for consistency with other SDK clients. - Renamed
OciAnnotations.Size
toOciAnnotations.SizeInBytes
and removedSize
parameter fromUploadBlobResult
type. - Changed the name of
OciManifest
toOciImageManifest
.
- Added method
DownloadBlobTo()
toContainerRegistryBlobClient
. This method downloads a blob to a provided Stream, using multiple requests if the blob size exceeds the maximum chunk size. - Added an optional
ManifestMediaType
parameter toUploadManifest()
to enable uploading image manifests of any type. - Added
MediaType
property toDownloadManifestResult
to enable checking the media type prior to deserializing returned manifest.
- Changed signatures of
DownloadManifest()
andUploadManifest()
methods onContainerRegistryBlobClient
. - Removed
DownloadManifestOptions
andUploadManifestOptions
types. - Removed
ArtifactManifest
type. - Removed
Manifest
andManifestStream
properties fromDownloadManifestResult
.
ContainerRegistryBlobClient.UploadBlob()
method now uploads a blob using multiple requests if it exceeds the maximum chunk size. Chunk size defaults to 4MB and can be modified by passingUploadBlobOptions
.- Added
Pipeline
property toContainerRegistryClient
andContainerRegistryBlobClient
to enable advanced message processing scenarios.
- Changed type of
Manifest
property onDownloadManifestResult
fromOciManifest
toArtifactManfest
to accommodate non-OCI manifest types in the future. Callers must now downcastManifest
to the appropriate type.
- Unifies features from the earlier preview releases with the latest stable release.
- Adds stable features and bug fixes from the earlier preview releases.
- Renamed
ArtifactManifestOrderBy
toArtifactManifestOrder
. - Renamed
ArtifactTagOrderBy
toArtifactTagOrder
.
- Updated the supported service version to "2021-07-01".
- Added support to create instances of
ArtifactManifestProperties
using theContainerRegistryModelFactory
.
- Added support for anonymous pull access using the
ContainerRegistryBlobClient
- Added an overload for
UploadManifest(Async)
method that takes the manifestStream
as an input. - Added methods in
ContainerRegistryModelFactory
that create instances ofDownloadBlobResult
,DownloadManifestResult
,UploadBlobResult
andUploadManifestResult
for mocking. - Added
DownloadManifestOptions
type to allow callers to pass-in either a tag or a digest inDownloadManifest(Async)
. - Added
ManifestStream
as a property inDownloadManifestResult
that contains the raw manifest stream from the service response.
- Changed
DownloadManifest(Async)
method to takeDownloadManifestOptions
as an input parameter. This allows callers to pass-in either a tag or a digest as the manifest identifier.
- Added
ContainerRegistryBlobClient
with methods to upload and download OCI Manifests and artifact blobs, to enable implementation of push/pull for OCI artifacts.
- Replaced
AuthenticationScope
property onContainerRegistryClientOptions
withAudience
.Audience
is of typeContainerRegistryAudience
, a statically typed string, which allows customers to select from available audiences or provide their own audience string. All calls to client constructors now require passingContainerRegistryClientOptions
with theAudience
property set.
- Updated documentation comments.
- Added
ContainerRegistryModelFactory
for use in mocking library types. - Added
AuthenticationScope
option onContainerRegistryClientOptions
to allow setting the AAD scope for national clouds.
- Removed
ContentProperties
type in favor of per resource property types such asArtifactManifestProperties
. - Renamed
Pageable
APIs with theCollection
suffix. - Removed
LoginServer
,Name
, andRegistryUri
fromContainerRegistryClient
. - Removed
TagOrDigest
fromRegistryArtifact
and renamedFullyQualifiedName
toFullyQualifiedReference
. - Removed
DeleteRepositoryResult
type and returnResponse
fromDeleteRepository
methods. - Various other renames for consistency and clarity.
- Added support for accessing ACR anonymously via two new constructors on
ContainerRegistryClient
. - Added caching of the ACR refresh token during the authentication token exchange to reduce per operation network calls to the service.
- Updated API to have a single client as an entry point,
ContainerRegistryClient
, with two helper classes,ContainerRepository
andRegistryArtifact
, for resource-specific service calls. - Added strongly typed string constants for
ArtifactArchitecture
andArtifactOperatingSystem
. - Renamed methods operating on a manifest to have
Manifest
in their names.
- Removed
ContainerRepositoryClient
. - Renamed
GetRepositories
toGetRepositoryNames
onContainerRegistryClient
.
- Started changelog to capture release notes.