v2.0.0-rc.4
Pre-release
Pre-release
New Features
- BREAKING CHANGE: Migrate to OCI Artifact from ORAS Artifact
- Upgrade to image-spec v1.0.0-rc.2
- Support OCI Artifact Manifest
- Support Referrers API and its fallback Referrers Tag Schema
- Support indexing referrers when pushing and deleting manifests with the
subject
field
- Add package
registry/remote/errcode
to support checking the error code returned by theregistry/remote
package - Add
content.VerifyReader
for verifying the read content against the descriptor
Bug Fixes
- fix #303: Scrutinize references for digests posing as tags
Other Changes
- BREAKING CHANGE: Change the signature of
Repository.Referrers()
- BREAKING CHANGE: Merge
oras.PackArtifact()
intooras.Pack()
- Improve error message on platform mismatch
- Improve error message for
Repository.FetchReference()
- Increase test coverage
- Check license header in Github workflow
- Other minor fixes
Detailed Commits
- test: add interface tests for Repository, blobStore and manifestStore by @wangxiaoxuan273 in #313
- fix: add missing license headers by @jasminetMSFT in #315
- build: license header check in github workflows by @jasminetMSFT in #316
- feat: add read and verify utility method by @wangxiaoxuan273 in #324
- fix: fix data race in TagBytesN unit test by @Wwwsylvia in #329
- fix: improve oras manifest fetch --platform error message by @lizMSFT in #330
- fix: fix 404 error message for
manifestStore.FetchReference
by @Wwwsylvia in #331 - fix: add nil checks for some functions by @jasminetMSFT in #327
- feat!: support OCI artifact manifest with descriptor migration by @Wwwsylvia in #334
- fix: Scrutinize references for digests posing as tags by @nima in #326
- refactor: optimize extended copy filters by @Wwwsylvia in #335
- Update image-spec to v1.1.0-rc2 by @sajayantony in #339
- refactor: update implementation of
Referrers
API by @Wwwsylvia in #340 - refactor!: merge
oras.PackArtifact()
intooras.Pack()
by @Wwwsylvia in #343 - feat: index referrers on manifest push by @Wwwsylvia in #348
- feat: index referrers on manifest delete by @Wwwsylvia in #350
- feat: include error code in error response by @Wwwsylvia in #352
- refactor: refactor functions related to querying referrers by @Wwwsylvia in #353
New Contributors
- @jasminetMSFT made their first contribution in #315
Full Changelog: v2.0.0-rc.3...v2.0.0-rc.4