v2.3.0
New Features
- Conform to
image-spec v1.1.0-rc4
anddistribution-spec v1.1.0-rc3
, while remaining compatible withimage-spec v1.1.0-rc2
anddistribution-spec v1.1.0-rc1
(see #494 for more details)- Support handling Image Index with a
subject
- Add
oras.PackManifest
that supports packing Image Manifest version1.0
and version1.1.0-rc4
, as well as media type validation - Add
Repository.HandleWarning
that can be used to handle warnings returned by the remote registry - Update the implementation of Referrers API to support the "OCI-Filters-Applied" response header
- Update the implementation of pushing manifests with
subject
to support the "OCI-Subject" response header
- Support handling Image Index with a
- Add
Repository.SkipReferrersGC
that allows skipping deleting dangling referrers index when referrers tag schema is utilized
Deprecation
oras.Pack
is deprecated and not recommended for future use. Useoras.PackManifest
instead.
Other Changes
- Improve documentation and examples
Detailed Commits
- feat: add option to skip referrers GC by @qweeah in #515
- feat: support Image Index with a subject by @Wwwsylvia in #548
- feat: add a PackOption to support packing image manifests that conform to image-spec v1.1.0-rc4 by @Wwwsylvia in #550
- feat: update Referrers API for distribution-spec v1.1.0-rc3 by @Wwwsylvia in #553
- feat: update the implementation of pushing manifest for distribution-spec v1.1.0-rc3 by @Wwwsylvia in #557
- feat: update the implementation of deleting manifest for distribution-spec v1.1.0-rc3 by @Wwwsylvia in #558
- docs: update links by @Wwwsylvia in #563
- feat: report warnings by @Wwwsylvia in #560
- docs: add e2e examples for oras-go by @wangxiaoxuan273 in #561
- docs: display larger example by @wangxiaoxuan273 in #564
- fix: pack should not set
artifactType
when config is specified by @Wwwsylvia in #565 - build(deps): bump apache/skywalking-eyes from 0.4.0 to 0.5.0 by @dependabot in #569
- refactor: add
PackManifest
and deprecatePack
by @Wwwsylvia in #570 - refactor: refactor unexported pack methods by @Wwwsylvia in #573
- feat: validate input media type for
oras.PackManifest
by @Wwwsylvia in #574
Full Changelog: v2.2.1...v2.3.0