github oras-project/oras v1.2.0-rc.1

latest release: v1.2.0
pre-releaseone month ago

New Features

  • oras is compliant with OCI image-spec v1.1.0 and distribution-spec v1.1.0
  • Support X.509 mTLS authentication with OCI registries
  • PREVIEW Introduce --platform to oras attach for better multi-arch attaching experience, which allows adding referrer artifact to a specific sub-platform

Experimental Features

  • BREAKING CHANGE oras discover shows tree view output by default
  • BREAKING CHANGE Introduce new go templating experience to all commands support --format based on the spec
    • BREAKING CHANGE Require explicit type assertion --format go-template=TEMPLATE
    • BREAKING CHANGE Change field selectors from uppercased to lowercased
    • BREAKING CHANGE Rename digested reference selector to reference
    • Examples:
      • --format go-template="{{ .digest }}" to print the digest of the newly pushed manifest using Go template
    • Template can also be specified by --template
  • Introduce output control via --format to oras pull, oras manifest fetch, and oras discover

Deprecation

  • oras discover: --output is marked as deprecated and succeeded by --format

Bug Fixes

  • Fix #1079: snap build cannot read default credentials file
  • Fix #1268: oras blob fetch failed to output to stdout in terminal mode
  • Fix #1300: pushing with multiple tags will corrupt --format output
  • Minor fixes

Other Changes

  • Improve UX
    • oras discover: show placeholder when artifactType is not presented in an index referrer
    • oras push: show artifact type when pushing files
    • Improve error message based on ORAS CLI error handling guildline
    • Improve identity token input by a new flag --identity-token to replace --password without --username
  • Improve live progress output for terminal
    • Introduce colored output
    • Smooth download speed display with reduced fluctuation
  • Update dependencies
  • Update to Golang 1.22.3

Detailed Commits

New Contributors

Full Changelog: v1.2.0-beta.1...v1.2.0-rc.1

Notes

This release was signed with 46D3 369B 393F 6F82 71FD 1CE8 F86E C70D 2B0C 404F (@qweeah's GPG key) which can be found here.

Don't miss a new oras release

NewReleases is sending notifications on new releases.