You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ACR] Add upload/download code for blobs and manifests (Azure#27383)
* new branch for OCI Blobs additions
* add ContentDescriptor and swagger transfrom to set manifest Content-Type
* more swagger transforms
* make OciManifest a public type
* Add UploadManifest(Manifest) overload
* add generated API listing
* remove unused options types. add strongly-typed overload for stream. support only OCI manifest format
* update api
* API tweaks
* make upload artifact succeed
* record the successful test run
* Support Upload and Download manifest
* api updates
* remove abstract base Manifest class from public API
* change approach to validation for blob download
* light tidy
* more tidy up
* test cleanup
* remove unused type
* update docstrings
* combine file paths differently
* make test data available
* pr fb
* remove manifest stream upload methods
* update changelog and project version
* update API listing
* update changelog
* Increment version for containerregistry releases (Azure#23836)
Increment package version after release of Azure.Containers.ContainerRegistry
* [ACR] Add an overload for `UploadManifest()` that takes a `Stream` as input (Azure#24685)
* Add an overload for `UploadManifest()` that takes a `Stream` as input
* Add an overload for `DownloadManifest()` that takes a tag or a digest as input
* Remove `DownloadManifest()` overload that takes a digest parameter
* Implement `IDisposable` on `Stream` containing result types
Validate manifest digest in `UploadManifest` methods
* Update Changelog
* Ensure that `Digest` is always populated in `DownloadManifestResult`
* Extract digest from response if needed for validation
* Use the `using` syntax to dispose objects
Remove an errant '.' in the README
* Avoid computing digest twice
Co-authored-by: Anne Thompson <[email protected]>
* Transform swagger to upload stream as manifest
* Copy stream locally to avoid working with a closed stream
Reset stream position when neeed
* Extract content digest from header for validation
Add test to upload manifest with tag and download by tag and digest
* Reset downloaded manifest stream before returning
Add test to validate that downloadStream.Position = 0
Co-authored-by: Anne Thompson <[email protected]>
* [ACR] Verify Audience must be set in Options (Azure#24889)
* Increment version for containerregistry releases (Azure#24910)
Increment package version after release of Azure.Containers.ContainerRegistry
* [ACR] Support anon access in ACR blob client (Azure#25087)
* Support anon access in ACR blob client
* Incorporate analyzer suggestions
* Use https for sparse checkout command (Azure#25067)
Co-authored-by: Ben Broderick Phillips <[email protected]>
* Update cspell.json from main
Co-authored-by: Azure SDK Bot <[email protected]>
Co-authored-by: Ben Broderick Phillips <[email protected]>
* [ACR] Mark version 1.1.0-beta.3 in release (Azure#25156)
* Increment version for containerregistry releases (Azure#25237)
Increment package version after release of Azure.Containers.ContainerRegistry
* Use `ResponseError` when creating `RequestFailedException`
* Add `GetTagPropertiesCollection()` on `RegistryArtifact`
* Update test session records
* Update test session records
* Temporarily mark `CanUploadBlob()` test as ignored
* Update test session records for `CanUploadOciManifest()`
* Sanitize 'access_token' and 'refresh_token' from request and response headers
* Clean-up `CanUploadBlob()` test session records
* Revert sanitizing the entire 'refresh_token' and 'access_token'
* Regenerate test session records after fix in Core test recording code
* Create test session record for `CanUploadBlob()` test
The test passes on .NET 6.0
* Remove download-blob step in the `CanUploadBlob()` test
* Undo temporary changes made to test service behavior
* Fix order of entries in Changelog
* Update session records for `CanUploadBlob()` test
* Add `Tag` as an optional param to `UploadManifestOptions`
* Update public API
* Ignore comparison of 'Accept' header values
* Update release date of preview package
Co-authored-by: Anne Thompson <[email protected]>
Co-authored-by: Azure SDK Bot <[email protected]>
Co-authored-by: Ben Broderick Phillips <[email protected]>
Copy file name to clipboardExpand all lines: sdk/containerregistry/Azure.Containers.ContainerRegistry/CHANGELOG.md
+28-7Lines changed: 28 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,32 +1,53 @@
1
1
# Release History
2
2
3
-
## 1.1.0-beta.1 (Unreleased)
3
+
## 1.1.0-beta.4 (2022-04-05)
4
4
5
5
### Features Added
6
6
7
-
### Breaking Changes
8
-
9
-
### Bugs Fixed
10
-
11
-
### Other Changes
7
+
- Unifies features from the earlier preview releases with the latest stable release.
12
8
13
9
## 1.0.0 (2022-01-11)
14
10
15
11
### Features Added
16
12
17
13
- Adds stable features and bug fixes from the earlier preview releases.
14
+
18
15
### Breaking Changes
19
16
20
17
- Renamed `ArtifactManifestOrderBy` to `ArtifactManifestOrder`.
21
18
- Renamed `ArtifactTagOrderBy` to `ArtifactTagOrder`.
22
19
23
-
24
20
## 1.0.0-beta.5 (2021-11-18)
25
21
26
22
### Features Added
27
23
- Updated the supported service version to "2021-07-01".
28
24
- Added support to create instances of `ArtifactManifestProperties` using the `ContainerRegistryModelFactory`.
29
25
26
+
## 1.1.0-beta.3 (2021-11-09)
27
+
28
+
### Features Added
29
+
30
+
- Added support for [anonymous pull access](https://docs.microsoft.com/azure/container-registry/anonymous-pull-access#configure-anonymous-pull-access) using the `ContainerRegistryBlobClient`
31
+
32
+
## 1.1.0-beta.2 (2021-10-13)
33
+
34
+
### Features Added
35
+
36
+
- Added an overload for `UploadManifest(Async) method that takes the manifest `Stream` as an input.
37
+
- Added methods in `ContainerRegistryModelFactory` that create instances of `DownloadBlobResult`, `DownloadManifestResult`, `UploadBlobResult` and `UploadManifestResult` for mocking.
38
+
- Added `DownloadManifestOptions` type to allow callers to pass-in either a tag or a digest in `DownloadManifest(Async)`.
39
+
- Added `ManifestStream` as a property in `DownloadManifestResult` that contains the raw manifest stream from the service response.
40
+
41
+
### Breaking Changes
42
+
43
+
- Changed `DownloadManifest(Async)` method to take `DownloadManifestOptions` as an input parameter. This allows callers to pass-in either a tag or a digest as the manifest identifier.
44
+
45
+
## 1.1.0-beta.1 (2021-09-07)
46
+
47
+
### Features Added
48
+
49
+
- Added `ContainerRegistryBlobClient` with methods to upload and download OCI Manifests and artifact blobs, to enable implementation of push/pull for OCI artifacts.
Copy file name to clipboardExpand all lines: sdk/containerregistry/Azure.Containers.ContainerRegistry/api/Azure.Containers.ContainerRegistry.netstandard2.0.cs
+102Lines changed: 102 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -160,6 +160,10 @@ public static partial class ContainerRegistryModelFactory
0 commit comments