New Features
- Add
oras manifest get
as an alias fororas manifest fetch
Preview Features
- Improve tree view in
oras discover
- Annotations are displayed by default
- Trees are colorized 🌈
- BREAKING CHANGE Remove the global
--no-tty
flag- The
--no-tty
flag is kept for TTY-capable commands
- The
Experimental Features
- Refine the output of
oras discover
- BREAKING CHANGE Rename the
manifests
field toreferrers
- Add subject manifest details for the
json
format
- BREAKING CHANGE Rename the
oras discover
displays referrers recursively by default- Add a
--depth
flag to control the maximum depth of referrers discovered
- Add a
Deprecation
- Mark the
table
option for the--format
flag inoras discover
as deprecated
Bug Fixes
- Fix #1659, #1694, #1695: Unexpected error "compare and swap of inconsistently typed value into Value" was returned
- Fix #1640: The
--verbose
flag was removed inv1.3.0-beta.1
- Minor fixes
Other Changes
- Upgrade to Go
1.24.2
- Update dependencies
- Improve documentation
- Optimize code structure
Detailed Commits
- refactor: add manifest delete metadata handler by @wangxiaoxuan273 in #1633
- bump: tag and release ORAS CLI v1.3.0-beta.2 by @Wwwsylvia in #1635
- refactor: use iter for cleaner code by @shizhMSFT in #1637
- build(deps): bump github.com/opencontainers/image-spec from 1.1.0 to 1.1.1 in /test/e2e by @dependabot in #1643
- build(deps): bump github.com/opencontainers/image-spec from 1.1.0 to 1.1.1 by @dependabot in #1642
- docs: add goreportcard to README by @TerryHowe in #1641
- build(deps): bump golang.org/x/sync from 0.11.0 to 0.12.0 by @dependabot in #1645
- build(deps): bump github.com/onsi/ginkgo/v2 from 2.22.2 to 2.23.0 in /test/e2e by @dependabot in #1647
- build(deps): bump golang.org/x/term from 0.29.0 to 0.30.0 by @dependabot in #1646
- feat: add alias for
manifest fetch
by @wangxiaoxuan273 in #1644 - refactor: split a run and main function so defers Execute by @chrisguitarguy in #1658
- build(deps): bump golang.org/x/net from 0.35.0 to 0.36.0 in /test/e2e by @dependabot in #1655
- docs(spec): multi-arch image management by @FeynmanZhou in #1514
- refactor: deprecate table format by @wangxiaoxuan273 in #1656
- fix: bring back
--verbose
flag by @wangxiaoxuan273 in #1660 - build(deps): bump github.com/onsi/ginkgo/v2 from 2.23.0 to 2.23.1 in /test/e2e by @dependabot in #1662
- build(deps): bump github.com/onsi/ginkgo/v2 from 2.23.1 to 2.23.2 in /test/e2e by @dependabot in #1663
- fix: target NewReadonlyTarget comment by @TerryHowe in #1665
- build(deps): bump github.com/onsi/gomega from 1.36.2 to 1.36.3 in /test/e2e by @dependabot in #1667
- docs: improve formatted output for oras discover by @FeynmanZhou in #1625
- feat!: refine oras discover JSON format by @wangxiaoxuan273 in #1649
- build(deps): upgrade go crypto module to v0.36.0 by @kysucix in #1671
- feat!: support showing indirect referrers for all formats of
oras discover
by @wangxiaoxuan273 in #1653 - fix: Change receiver name for target by @TerryHowe in #1666
- fix: use test Setenv during tests by @TerryHowe in #1675
- fix: staticcheck fails for embedded member by @TerryHowe in #1676
- fix: unneeded error check by @TerryHowe in #1680
- fix: staticcheck lint failures of embedded member by @TerryHowe in #1679
- build(deps): bump github.com/onsi/gomega from 1.36.3 to 1.37.0 in /test/e2e by @dependabot in #1685
- fix: blob file close handling for lint by @TerryHowe in #1687
- build(deps): bump github.com/onsi/ginkgo/v2 from 2.23.3 to 2.23.4 in /test/e2e by @dependabot in #1690
- build(deps): bump golang.org/x/term from 0.30.0 to 0.31.0 by @dependabot in #1692
- build(deps): bump golang.org/x/sync from 0.12.0 to 0.13.0 by @dependabot in #1691
- fix: explicitly ignore return for newest lint by @TerryHowe in #1683
- docs: update the help doc for
oras manifest index create
by @RohanMishra315 in #1650 - feat: show annotations in default discovery output by @Horiodino in #1602
- build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 in /test/e2e by @dependabot in #1697
- docs: update help doc for oras manifest index update by @wangxiaoxuan273 in #1698
- build(deps): bump oras-go to the latest commit which fixes the "compare and swap" error by @Wwwsylvia in #1702
- build(go): upgrade go version to 1.24.2 by @Wwwsylvia in #1703
- refactor: move
--no-tty
out ofoption.Common
by @wangxiaoxuan273 in #1699
New Contributors
- @chrisguitarguy made their first contribution in #1658
- @kysucix made their first contribution in #1671
- @RohanMishra315 made their first contribution in #1650
Full Changelog: v1.3.0-beta.2...v1.3.0-beta.3
Notes
This release was signed with 73C7 F42E 8F0B 4493 115A BED6 4F72 3223 E9DF 0185
(@shizhMSFT's GPG key) which can be found here.