Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ORAS_VERSION from 0.16.0 to 1.2.0 #3

Open
wants to merge 2 commits into
base: test-workflow-update-oras
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jul 8, 2024

Bumps ORAS_VERSION from 0.16.0 to 1.2.0.

Release notes ## New Features
  • oras is compliant with OCI image-spec v1.1.0 and distribution-spec v1.1.0
  • Introduce brand-new default terminal experience
    • Show live progress for the following commands:
      • oras copy
      • oras pull
      • oras push
      • oras attach
      • oras blob fetch
      • oras blob push
    • The new terminal experience can be turned off via the preview flag --no-tty
  • Support deletion of manifests and blobs in OCI image layout
  • Support X.509 mTLS authentication with OCI registries

Preview Features

  • BREAKING CHANGE Registries supporting Referrers API prior to distribution-spec v1.1.0-rc4 will fall back to Referrers tag schema, causing unexpected results of oras attach and oras discover commands
  • Introduce --platform to oras attach for better multi-arch attaching experience, which allows adding referrer artifact to a specific sub-platform
  • Re-purpose the flag --recursive of oras cp from extended copy to copy an artifact or a multi-arch image and its referrers
  • Promote --image-spec to a preview flag from experimental

Experimental Features

  • BREAKING CHANGE oras discover shows tree view output by default
  • Introduce formatted output via --format by implementing the specification
    • Formatted output is available to the following commands:
      • oras pull
      • oras push
      • oras attach
      • oras discover
      • oras manifest fetch
    • Examples:
      • --format json to print operation result as a JSON object
      • --format "go-template={{ .digest }}" to print the digest of the manifest using Go template
        • Template can also be specified by --template
  • Introduce oras resolve to get the digest of an artifact

Deprecation

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

Bug 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 performance
    • Reduce authentication request count fororas copy, oras manifest delete, and oras blob delete
    • Support blob mounting across repositories in the same registry for oras copy
  • Update dependencies
  • Update to Golang 1.22.3
  • Minor security enhancements

What's Changed Since RC.1

Other Changes

  • Improve documentation
  • Update dependencies

Detailed Commits

Full Changelog: oras-project/oras@v1.2.0-rc.1...v1.2.0

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.

For more details, see the release page.

@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch 4 times, most recently from 122fe9c to ef3b92b Compare July 8, 2024 23:07
@github-actions github-actions bot force-pushed the update-oras-version-1.2.0 branch from 94b8762 to cac0a7d Compare July 8, 2024 23:07
@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch from ef3b92b to 7c87066 Compare July 8, 2024 23:09
@github-actions github-actions bot force-pushed the update-oras-version-1.2.0 branch from cac0a7d to 5fb91af Compare July 8, 2024 23:09
@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch from 7c87066 to c522b21 Compare July 8, 2024 23:12
@github-actions github-actions bot force-pushed the update-oras-version-1.2.0 branch from 5fb91af to bc2fa16 Compare July 8, 2024 23:13
@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch from c522b21 to 88fa228 Compare July 8, 2024 23:14
@github-actions github-actions bot force-pushed the update-oras-version-1.2.0 branch from bc2fa16 to 885797b Compare July 8, 2024 23:14
@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch from 88fa228 to fbbc57e Compare July 8, 2024 23:20
@github-actions github-actions bot force-pushed the update-oras-version-1.2.0 branch from 885797b to 852049c Compare July 8, 2024 23:21
@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch from fbbc57e to 0ab0331 Compare July 8, 2024 23:24
@github-actions github-actions bot force-pushed the update-oras-version-1.2.0 branch from 852049c to 3305d2c Compare July 8, 2024 23:24
@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch from 0ab0331 to 54f2bdc Compare July 8, 2024 23:28
@github-actions github-actions bot force-pushed the update-oras-version-1.2.0 branch from 3305d2c to 232ce09 Compare July 8, 2024 23:28
@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch from 54f2bdc to 7ab2b11 Compare July 8, 2024 23:30
@github-actions github-actions bot force-pushed the update-oras-version-1.2.0 branch from 232ce09 to db9bd35 Compare July 8, 2024 23:30
Copy link

@TerryHowe TerryHowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch 6 times, most recently from 43460cb to 923ae15 Compare July 9, 2024 00:25
@ColorfulRhino ColorfulRhino force-pushed the test-workflow-update-oras branch 17 times, most recently from 58b5d1e to 78e5ea1 Compare July 9, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants