Repository navigation
bump: tag and release ORAS CLI v1.4.0 - #2335
Merged
Merged
Conversation
Signed-off-by: Terry Howe <[email protected]>
TerryHowe
requested review from
Wwwsylvia,
sabre1041,
sajayantony and
shizhMSFT
as code owners
November 17, 2026 01:36
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2335 +/- ##
=======================================
Coverage 74.89% 74.89%
=======================================
Files 157 157
Lines 6584 6584
=======================================
Hits 4931 4931
Misses 1364 1364
Partials 289 289 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sajayantony
approved these changes
Nov 17, 2026
3 of 18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v1.4.0
This PR bumps the version to v1.4.0 for the upcoming release.
Checklist
internal/version/version.goDraft release notes
Changes since v1.3.6
Highlights
github.com/oras-project/oras-go/v3v3.0.0) instead oforas.land/oras-go/v2(feat: migrate from oras-go v2 to v3 #2002)oras copycan use different credentials for the source and destination when both are on the same registry. Authentication is now cached per repository, not per registry host (fixesoras copycan not handle separate authentication for same registry #1892)Experimental
ORAS_EXPERIMENTAL_CONTAINERS_CONFIG=1and ORAS reads the container ecosystem configuration files from their default locations, as podman and buildah do. It is off by default, and nothing changes unless the variable is set.registries.conf: aliases, blocked registries, location rewrites, mirrors,insecure,token-flow,referrers-api,blocked-realm-prefixescerts.d: per-registry CA and client certificates (refs Custom CA store #2118)auth.json: credentials, checked after the ORAS credential store (skipped when--registry-configis given)policy.jsonandregistries.d: pull policy withsignedByverification--plain-http,--insecure,--ca-file,--cert-file/--key-file,--distribution-specand-u/-poverride the filesBehavior changes
oras blob fetchandoras blob deletenow require a digest reference and reject tags (fix: require digests for blob fetch and delete #2304, fixes oras blob fetch and oras blob delete accept tags instead of digests #2303)--oci-layout-path,--from-oci-layout-pathor--to-oci-layout-path, as they already were for--oci-layout(fix: reject custom header flags for an OCI layout path target #2299, fixes --oci-layout-path accepts custom header flags that --oci-layout rejects #2298)oras push --format jsonno longer reports"referenceAsTags": ["<registry>/<repo>:"], and the go-template output no longer counts it as a tag (fix: report no referenceAsTags for an untagged push #2328)Bug fixes
oras manifest fetch-config --outputworks again with/dev/stdout,/dev/fd/N, FIFOs and devices. It also keeps symlinks and respects umask and the existing file's permissions (fix: allow fetch-config --output to special files #2227, fixes manifest fetch-config:--output /dev/stdoutand other special paths fail #2224, manifest fetch-config:--output <file>forces mode 0644, ignoring umask and existing mode #2226)ORAS_CACHEstore no longer keeps anindex.json, so several ORAS processes can safely share one cache directory (fix: use oci.NewStorage for the ORAS_CACHE backing store #2329, fixes cleanup: use oci.NewStorage() for the ORAS_CACHE backing store #2312)--from-password,--to-password,--from-identity-tokenand--to-identity-tokennow show the warning about secrets on the command line. Secrets read with--password-stdinand--identity-token-stdinnow come from the command's input (fix: warn on prefixed secret flags and read from cmd stdin #2331)oras copyTTY output now uses the right fetcher for successors (fix: guard unstarted TTY tracking and pass fetcher to TTYCopyHandler #2332)oras discover --outputdeprecation message now names the format to use, for example--format json(fix: print the format in the discover --output deprecation message #2297, fixes discover: --output deprecation message suggests an empty --format #2296)Release and packaging
ghcr.io/oras-project/orasimage now has OCI image labels (org.opencontainers.image.source,version,revision, ...), so tools such as Renovate can find the changelog (feat: add oci image metadata #2300)stablechannel only. Pre-releases are no longer published to the snap store but are still on GitHub Releases (fix(ci): release snaps to stable only #2295, fixes Snap release fails: store token cannot release to candidate channel #2294)Dependencies
oras.land/oras-go/v2v2.7.0 →github.com/oras-project/oras-go/v3v3.0.0 (feat: migrate from oras-go v2 to v3 #2002)github.com/spf13/pflagv1.0.10 → v1.1.0 (build(deps): bump github.com/spf13/pflag from 1.0.10 to 1.1.0 #2322)go.yaml.in/yaml/v4v4.0.0-rc.6 → v4.0.0 (build(deps): bump go.yaml.in/yaml/v4 from 4.0.0-rc.6 to 4.0.0-rc.7 #2307, build(deps): bump go.yaml.in/yaml/v4 from 4.0.0-rc.7 to 4.0.0-rc.9 #2318, build(deps): bump go.yaml.in/yaml/v4 from 4.0.0-rc.9 to 4.0.0 #2323)golang.org/x/syncv0.24.0 → v0.25.0 (build(deps): bump golang.org/x/sync from 0.24.0 to 0.25.0 #2326)golang.org/x/termv0.47.0 → v0.48.0 (build(deps): bump golang.org/x/term from 0.47.0 to 0.48.0 #2334)golang1.27.3-alpine (build(deps): bump library/golang from 1.27.2-alpine to 1.27.3-alpine #2309) andalpine3.24.3 (build(deps): bump library/alpine from 3.24.2 to 3.24.3 #2301)Other
Warningheaders are now logged with oras-go v3'sremote.NewWarningLogger(refactor: use remote.NewWarningLogger for registry warnings #2317, fixes cleanup: replace custom handleWarning() with remote.NewWarningLogger() #2314)Full changelog: v1.3.6...v1.4.0