Skip to content

v2.4.0

Compare
Choose a tag to compare
@Wwwsylvia Wwwsylvia released this 30 Jan 05:43
850a247

Breaking Changes

Warning

There are no API changes in oras-go.
However, when pushing and deleting manifests with a subject field, as well as querying the Referrers API, registries that implement older versions of distribution-spec may be considered as not supporting the Referrers API. In such cases, the Referrers tag schema will be used instead.

Known compatible registries:

New Features

Performance Improvements

  • Improve authorization token caching
    • Support per-host scope hints, fixing #581
    • Introduce auth.NewSingleContextCache that creates a host-based cache for optimizing the auth flow for non-compliant registries
  • Optimize Copy efficiency

Bug Fixes

  • Fix #692: index or manifest list without the OPTIONAL field platform cause panic (#695)

Other Changes

  • Improve error messages and examples
  • Include changes in v2.3.1

Detailed Commits

New Contributors

Full Changelog: v2.3.0...v2.4.0