v1.2.0-rc.1+test
Pre-release
Pre-release
github-actions
released this
10 May 02:59
·
119 commits
to main
since this release
Changes after v1.2.0-beta.1 are summarized as follows.
New Features
- x509 mTLS authentication with OCI registries: oras-project#491
- make
--identity-token
an alias of--password
Experimental Features
-
Better multi-arch image attaching experience: allow adding referrer artifact to a specific sub-platform: oras-project#813
-
BREAKING CHANGE
oras discover
by default shows tree view output -
Support new output control by specifying
--format
tooras pull
,oras manifest fetch
andoras discover
-
New go templating experience:
- Template specified
--format
now requires explicit type assertiongo-template
- Template can also be specified by
--template
- Field selectors changed from uppercased to lowercased
- Rename digested reference from
Ref
toreference
- Template specified
Deprecated Features
--output
is expected to be replaced byoras discover
, thus has been marked as deprecated
Bug Fixes
- Fix oras-project#1268:
blob fetch
failed to output to stdout in terminal mode - Fix oras-project#1300: pushing with multiple tags will corrupt
--format
output - Minor fixes
Other Changes
- Bump all GHA to Node 20
- UX improvement
- Improve error message: oras-project#1340
- Show placeholder when
artifactType
is not presented in an index referrer: oras-project#1108 - Show artifact type when pushing files: oras-project#1061
- Improved live progress output for terminal: oras-project#1344
- Colored output
- Soomth download speed display to reduce fluctuation
Detailed Commits
- bump: tag and release ORAS CLI v1.2.0-beta.1 by @qweeah in oras-project#1266
- doc (spec): add error message guideline by @FeynmanZhou in oras-project#1163
- build(deps): bump github.com/containerd/console from 1.0.3 to 1.0.4 by @dependabot in oras-project#1269
- build(deps): bump golang.org/x/term from 0.16.0 to 0.17.0 by @dependabot in oras-project#1270
- build(deps): bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.16.0 in /test/e2e by @dependabot in oras-project#1278
- build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc6 to 1.1.0 by @dependabot in oras-project#1272
- build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc6 to 1.1.0 in /test/e2e by @dependabot in oras-project#1271
- fix(e2e): update ZOT image by @qweeah in oras-project#1284
- build(deps): bump golang.org/x/term from 0.17.0 to 0.18.0 by @dependabot in oras-project#1279
- test(unit): exclude darwin from go build constraint by @wangxiaoxuan273 in oras-project#1289
- refactor: pass cobra.Command to all cmd exec functions by @TerryHowe in oras-project#1285
- fix: make --output - implies --no-tty by @wangxiaoxuan273 in oras-project#1286
- build(actions): update github actions for Node 20 by @TerryHowe in oras-project#1287
- fix: Revert github actions coverage until fixed by @TerryHowe in oras-project#1290
- feat: Use cobra.Command.OutOrStdout method for output by @TerryHowe in oras-project#1288
- build(deps): bump github.com/onsi/ginkgo/v2 from 2.16.0 to 2.17.0 in /test/e2e by @dependabot in oras-project#1296
- build(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0 in /test/e2e by @dependabot in oras-project#1297
- build(deps): bump github.com/onsi/ginkgo/v2 from 2.17.0 to 2.17.1 in /test/e2e by @dependabot in oras-project#1305
- refactor: add stdout to metadata handlers by @qweeah in oras-project#1312
- bump: bump
oras-go
to 2.5.0 by @wangxiaoxuan273 in oras-project#1303 - refactor: use command output in status output by @qweeah in oras-project#1314
- chore: using const to replace string by @LinuxSuRen in oras-project#1316
- refactor: make command accessible in option parser by @wangxiaoxuan273 in oras-project#1315
- bump: update golang to 1.22 by @TerryHowe in oras-project#1282
- build(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0 by @dependabot in oras-project#1323
- build(deps): bump golang.org/x/term from 0.18.0 to 0.19.0 by @dependabot in oras-project#1322
- bump(ci): update codecov gha to v4 by @qweeah in oras-project#1324
- bump(ci): update golangci-lint to v4 by @qweeah in oras-project#1325
- feat: support
--format
fororas pull
by @qweeah in oras-project#1293 - feat: support --platform for oras attach by @qweeah in oras-project#1309
- feat: show artifact type when pushing files by @wangxiaoxuan273 in oras-project#1320
- fix: oras push should return error when artifacttype is empty for spec 1.1 by @wangxiaoxuan273 in oras-project#1317
- build(ci): add dependabot to update ci version automatically by @qweeah in oras-project#1326
- build(deps): bump apache/skywalking-eyes from 0.4.0 to 0.6.0 by @dependabot in oras-project#1328
- build(deps): bump goreleaser/goreleaser-action from 2 to 5 by @dependabot in oras-project#1329
- build(deps): bump actions/setup-go from 4 to 5 by @dependabot in oras-project#1331
- build(deps): bump actions/stale from 8 to 9 by @dependabot in oras-project#1330
- build(deps): bump github/codeql-action from 2 to 3 by @dependabot in oras-project#1332
- feat: support
--format
inmanifest fetch
command by @qweeah in oras-project#1295 - ux: improve the usage doc of --image-spec by @wangxiaoxuan273 in oras-project#1334
- feat: support
--format
inoras discover
by @qweeah in oras-project#1299 - chore: add preview feature mark to platform-specific attaching by @qweeah in oras-project#1337
- feat: oras discover should show a placeholder of artifactType if it's not presented by @wangxiaoxuan273 in oras-project#1336
- feat: make image spec preview by @wangxiaoxuan273 in oras-project#1338
- feat: make --identity-token an alias of --password by @wangxiaoxuan273 in oras-project#1294
- fix: discard tagging output when pushing with formatted output by @qweeah in oras-project#1302
- feat: add color to progress mark and bar by @qweeah in oras-project#1344
- feat: make all go-template key lower-cased by @qweeah in oras-project#1343
- feat: improve error message when detecting conflicting flags by @wangxiaoxuan273 in oras-project#1345
- feat: add mTLS options by @sabre1041 in oras-project#1319
- chore: set go version to 1.22.0 in go.mod by @Amulyam24 in oras-project#1351
- fix: fix failed Windows unit test by @wangxiaoxuan273 in oras-project#1352
- chore(ux): optimize progress bar by @qweeah in oras-project#1349
- fix: fix error message when output is used before format for oras discover by @wangxiaoxuan273 in oras-project#1354
- fix: return error when --format and --pretty are both used by @wangxiaoxuan273 in oras-project#1359
- fix: ignore --pretty when --output is used for oras manifest fetch by @wangxiaoxuan273 in oras-project#1363
Full Changelog: v1.2.0-beta.1...v1.2.0-rc.1