Skip to content

bump: tag and release ORAS CLI v1.2.0-beta.1#1266

Merged
qweeah merged 1 commit into
oras-project:mainfrom
qweeah:bump-v1.2.0-beta.1
Feb 2, 2024
Merged

bump: tag and release ORAS CLI v1.2.0-beta.1#1266
qweeah merged 1 commit into
oras-project:mainfrom
qweeah:bump-v1.2.0-beta.1

Conversation

@qweeah

@qweeah qweeah commented Feb 1, 2024

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
This PR proposes to tag v1.2.0-beta.1 based on 9ffdb3e and release. At least 3 approvals are needed from the 5 owners.

Below is a summary of change notes since v1.1.0:

New Features

  • Introduce brand new terminal experience by showing live progress for the following commands:
    • oras copy
    • oras pull
    • oras push
    • oras attach
    • oras blob fetch
    • oras blob push
  • The new terminal experience is enabled by default and can be turned off by specifying --no-tty
  • Support deletion of manifests and blobs in OCI image layout

Experimental Features

  • BREAKING CHANGE oras is compliant with OCI image-spec v1.1.0-rc6 and distribution-spec v1.1.0-rc4
    • Registries supporting Referrers API of older version of distribution-spec will fall back to Referrers tag schema, causing unexpected results of oras attach and oras discover commands
    • Known registries supporting the distribution-spec v1.1.0-rc4:
  • Re-purpose the flag --recursive of oras cp from extended copy to copy an artifact or a multi-arch image and their referrer artifacts
  • Introduce oras resolve to get the digest of an artifact
  • Introduce output control by specifying --format to oras push and oras attach
    • Examples:
      • --format json to print operation result as a JSON object
      • --format "{{ .Digest }}" to print the digest of the newly pushed manifest using Go template
    • Known issue: pushing with multiple tags output unexcepted results and will be fixed in future versions

Bug Fixes

Other Changes

  • Enhance troubleshooting experience with improved error messages
  • 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.21.6
  • Minor security enhancements

What's Changed

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
@qweeah qweeah marked this pull request as ready for review February 1, 2024 17:48
@codecov

codecov Bot commented Feb 1, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (da03b23) 81.92% compared to head (9ffdb3e) 81.92%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1266   +/-   ##
=======================================
  Coverage   81.92%   81.92%           
=======================================
  Files          83       83           
  Lines        3995     3995           
=======================================
  Hits         3273     3273           
  Misses        499      499           
  Partials      223      223           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shizhMSFT shizhMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@sajayantony

Copy link
Copy Markdown
Contributor

LGTM

@TerryHowe TerryHowe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@qweeah qweeah merged commit ea36d48 into oras-project:main Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

oras cp -r fails if index has a child manifest as subject oras tries to use http instead of https Bug: Unexpected request number in --debug log

4 participants