1.1.0-beta.3 (2023-03-08)
Features Added
- Added support for blob upload and download from streams for content that does not fit into memory.
- Added support to upload and download custom manifest types.
- Added support ACR access token scopes.
Breaking Changes from version 1.1.0-beta.2
- Download blob changes:
ContainerRegistryBlobClient.downloadBlob
method was renamed todownloadStream
and now writes content to channel provided in parameters. It no longer returnsDownloadBlobResult
.ContainerRegistryBlobAsyncClient.downloadBlob
method was renamed todownloadStream
and now returnsDownloadBlobAsyncResult
.downloadBlobWithResponse
methods onContainerRegistryBlobClient
andContainerRegistryBlobAsyncClient
classes were removed.
- Upload blob changes:
uploadBlobWithResponse
methods onContainerRegistryBlobClient
andContainerRegistryBlobAsyncClient
were removed.
- Manifest changes:
DownloadManifestOptions
class was removed:downloadManifest
anddownloadManifestWithResponse
methods
(onContainerRegistryBlobAsyncClient
orContainerRegistryBlobClient
) now take tag or digest string value instead ofDownloadManifestOptions
DownloadManifestResult.getManifestStream
andgetManifest
methods were renamed togetContent
andasOciManifest
.OciBlobDescriptor
class was renamed toOciDescriptor
,getSize
andsetSize
methods on it were renamed togetSizeInBytes
andsetSizeInBytes
OciManifest
class was renamed toOciImageManifest
UploadManifestOptions(binaryData)
constructor was replaced withUploadManifestOptions(BinaryData, ManifestMediaType)
one.UploadManifestResult(string)
constructor was removed.
- Misc
- Default audience was changed from
https://management.azure.com
tohttps://containerregistry.azure.net
.
- Default audience was changed from
Other Changes
ContainerRegistryAudience.AZURE_RESOURCE_MANAGER_GERMANY
is deprecated following Azure Germany cloud deprecation- Default constructors on following classes were deprecated:
ArtifactManifestPlatform
,ArtifactManifestOrder
,ArtifactOperatingSystem
,ArtifactTagOrder
.,ArtifactManifestPlatform
.
Dependency Updates
- Upgraded
azure-core
from1.35.0
to version1.37.0
. - Upgraded
azure-core-http-netty
from1.12.8
to version1.13.1
.