Skip to content

v1.0.0-rc.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Mar 11:16
· 333 commits to main since this release
3c5e899

New Features

  • BREAKING CHANGE: The default value of --image-spec is set to v1.1-image for oras push and oras attach
    • Auto manifest type selection is disabled (#782)
  • BREAKING CHANGE: oras cp --recursive is re-designed to copy artifacts with attached artifacts (#826, #827)
  • oras repo ls supports listing repositories under a certain namespace
  • oras repo tags supports showing tags associated with a particular tag or digest
  • Support HTTP client retry on read operations for registry targets
  • Improve registry developer experience
    • Support specifying port in custom DNS flag --resolve
      • Example: debug and test local registry instances: oras push --resolve prod.registry.io:443:127.0.0.1:5000 prod.registry.io/hello:v1 hi.txt
    • Support custom HTTP header via flag -H, --header
      • Example: correlate operations for specific registry providers: oras repo ls -H X-Correlation-Id=$CORRELATION_ID prod.registry.io

Bug Fixes

  • Fix #782: root node's registry and repository are not shown in the tree view output of oras discover
  • Fix #812: oras cp copies extra index and referrer nodes even when a platform flag is specified
  • Fix #815: temp files remain after oras pull
  • Fix #842: custom DNS rules not working for destination registry in oras cp
  • Fix #846: credential config file is not working for destination registry in oras cp
  • Fix #849: multi tagging fails when extra tags are provided in oras push
  • Minor fixes

Other Changes

  • Improve UX
    • oras discover prints subject digest for root node in tree-view output
    • oras tag prints digest for oras tag command
  • Update to golang 1.20.1
  • Update dependencies to the latest versions
  • Add end-to-end test specs covering all registry-related cases

Detailed Commits

  • bump: bump to golang 1.20 by @wangxiaoxuan273 in #784
  • feat: suppport repo ls sub-namespace by @wangxiaoxuan273 in #768
  • build(deps): bump github.com/docker/cli from 20.10.23+incompatible to 23.0.0+incompatible by @dependabot in #783
  • chore: add vi and mac things to gitignore by @TerryHowe in #777
  • fix: Have make file fail with wrong go version by @TerryHowe in #785
  • feat!: show subject digest in oras discover by @qweeah in #798
  • build(deps): bump github.com/docker/cli from 23.0.0+incompatible to 23.0.1+incompatible by @dependabot in #795
  • feat: enable --header flag to specify headers with requests by @wangxiaoxuan273 in #794
  • test(e2e): add e2e specs for oras cp by @qweeah in #749
  • chore: add CODEOWNERS based on OWNERS.md by @shizhMSFT in #811
  • fix: fix CODEOWNERS by @shizhMSFT in #819
  • chore: move ParseRepoPath to internal package by @qweeah in #817
  • test(e2e): add e2e specs for oras attach by @qweeah in #805
  • chore: add Billy Zha as a maintainer by @shizhMSFT in #820
  • chore: add Terry Howe as a maintainer by @shizhMSFT in #821
  • fix: lazy close file store by @chi-qin in #831
  • test(e2e): take registry logs when e2e fails by @qweeah in #830
  • chore: Add basic PR template by @TerryHowe in #778
  • feat: allow user to specify destination port via resolve flag by @qweeah in #801
  • feat: Add ability query tags for oras repo tags command by @TerryHowe in #800
  • test(e2e): specs for filtered tag listing by @qweeah in #832
  • fix: fix bug when copying recursively with certain platforms by @qweeah in #818
  • build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0 in /test/e2e by @dependabot in #833
  • fix: flaky test on multi referrers by @qweeah in #835
  • test(e2e): add specs for oras discover by @qweeah in #828
  • docs: Add CONTRIBUTING.md file by @TerryHowe in #781
  • feat: add retry support to the auth client by @souleb in #838
  • fix: support binary target in oras cp by @qweeah in #843
  • fix!: support multiple config files in oras cp by @qweeah in #847
  • feat: support --header for oras cp by @wangxiaoxuan273 in #848
  • feat: return error when header flags used on oci layout by @qweeah in #841
  • fix: push bug when multi tagging by @qweeah in #850
  • refactor: clone default http transport for registry client by @qweeah in #840
  • fix: Improve error message on oras copy.go with non-existent tags by @khanjasir90 in #852
  • chore: add Billy Zha's GPG key by @qweeah in #844
  • feat!: disable auto type conversion for manifests by @qweeah in #797
  • feat: add digest hint in oras tag logs by @qweeah in #853
  • bump: update oras-go by @qweeah in #856
  • bump: update go to 1.20.1 by @qweeah in #857
  • test(e2e): add e2e specs for custom DNS rules by @qweeah in #855
  • bump: update version to rc.2 by @qweeah in #858

New Contributors

Full Changelog: v1.0.0-rc.1...v1.0.0-rc.2

Notes

This release was signed with BE6F A8DD A48D 4C23 0091 A0A9 276D 8A72 4CE1 C704 (@qweeah's GPG key) which can be found here.