Skip to content

Releases: google/go-containerregistry

v0.22.1

Choose a tag to compare

@Subserial Subserial released this 04 Sep 00:17
8a72a42

What's Changed

  • Reject non-canonical IP literals in all SSRF guards by @shaggyinsomniac in #2426
  • daemon: fix stale docker/docker reference in WithClient docs by @BobDu in #2428
  • build(deps): bump the go-deps group across 2 directories with 4 updates by @dependabot[bot] in #2422
  • authn: do not overwrite AuthConfig.Auth when username and password are empty by @nileshpatil6 in #2420
  • build(deps): bump the actions group across 1 directory with 8 updates by @dependabot[bot] in #2423
  • Support pulling images by sha512 digest by @BobDu in #2427
  • Allow empty label and annotation values in crane mutate by @theadsingh in #2418
  • fix(build): Use dependencies.gitSource in cloudbuild_v2.yaml by @tprussak in #2434
  • validate: support index attestation manifests and empty configs by @Subserial in #2414
  • name: improve error when parsing a reference with a URL scheme by @locker95 in #2431
  • fix(build): install binaries to /ko-app and add to PATH (#2424) by @tprussak in #2436
  • fix(release): honor declared Go toolchain by @rksharma-owg in #2435
  • remote: apply checkRedirectSSRF to writer-side HTTP clients by @locker95 in #2432
  • flatten: preserve config and layer media types when flattening by @Subserial in #2438
  • fix(mutate): make Time layer updates lazy by @amarkdotdev in #2429
  • build(deps): bump the go-deps group across 2 directories with 3 updates by @dependabot[bot] in #2439
  • remote: copy manifest annotations to referrers fallback tag descriptors by @codysoyland in #2441

New Contributors

Full Changelog: v0.22.0...v0.22.1

v0.22.0

Choose a tag to compare

@Subserial Subserial released this 25 Aug 18:26
3f4ff3c

What's Changed

  • mutate: let Time and Canonical take tarball.LayerOption by @mzihlmann in #2403
  • build: add multi-architecture Cloud Build configurations for crane, gcrane, and krane by @tprussak in #2412
  • remote: resolve push-check credentials against the repository by @mzihlmann in #2411
  • Allow single-character repository paths by @semx in #2407
  • fix: add missing substitutions and workspace cleanup to new build files by @tprussak in #2413
  • remote: retry failed Puller and Pusher initialization by @iahsanGill in #2406
  • build(deps): bump the actions group across 1 directory with 8 updates by @dependabot[bot] in #2405
  • build(deps): bump the go-deps group across 1 directory with 3 updates by @dependabot[bot] in #2415
  • go.mod: bump Go version + add toolchain directive to replace .go-version file by @Subserial in #2416
  • fix: Fix new build options and provenance by @tprussak in #2417
  • fix(build): unify new build flow into cloudbuild_v2.yaml by @tprussak in #2419

New Contributors

Full Changelog: v0.21.9...v0.21.10

v0.21.9

Choose a tag to compare

@Subserial Subserial released this 05 Aug 21:26
7b32099

What's Changed

Full Changelog: v0.21.8...v0.21.9

v0.21.8

Choose a tag to compare

@Subserial Subserial released this 31 Jul 18:30
2ea098f

The artifacts attached to this release are missing SLSA provenance, see #2390.

What's Changed

  • build(deps): bump the go-deps group across 1 directory with 3 updates by @dependabot[bot] in #2353
  • build(deps): bump golang.org/x/crypto from 0.45.0 to 0.52.0 in /cmd/krane by @dependabot[bot] in #2367
  • build(deps): bump golang.org/x/crypto from 0.50.0 to 0.52.0 in /pkg/authn/k8schain by @dependabot[bot] in #2368
  • build(deps): bump golang.org/x/net from 0.49.0 to 0.55.0 in /pkg/authn/kubernetes by @dependabot[bot] in #2363
  • build(deps): bump the go-deps group across 3 directories with 7 updates by @dependabot[bot] in #2377
  • build(deps): bump the actions group across 1 directory with 5 updates by @dependabot[bot] in #2375
  • Reject unsafe Windows archive paths in Extract by @Haihan-Jiang in #2330
  • feat(goreleaser): add loong64 build support for crane/gcrane/krane by @xuxiaowei-com-cn in #2358
  • Document tag and digest reference semantics by @Haihan-Jiang in #2325
  • remote: release pull limiter slot when body is read to EOF by @knQzx in #2373
  • tarball: bounds-check layer index in uncompressed LayerByDiffID by @arpitjain099 in #2370
  • authn: read Podman auth from XDG config by @vigneshakaviki in #2379
  • transport: per-host bearer token exchange on cross-host redirect by @amitzig in #2360
  • mutate: bounds-check layer index when building rebase addendums by @arpitjain099 in #2371
  • fix(daemon): copy ExposedPorts from source config in computeImageConfig by @x64vps in #2356
  • feat(remote): add WithReferrersTagFallback option by @kevinmdavis in #2366
  • mutate: apply opaque-directory whiteouts (.wh..wh..opq) in Extract by @sadmanf in #2372
  • tarball: use correct file extension for zstd/uncompressed by @milas in #2382
  • build(deps): bump github.com/moby/moby/client from 0.5.0 to 0.5.1 in the go-deps group across 1 directory by @dependabot[bot] in #2380
  • actions: update actions to be pinned by hash by @Subserial in #2384
  • Bump go version to 1.26.5 by @Subserial in #2388

New Contributors

Full Changelog: v0.21.7...v0.21.8

v0.21.7

Choose a tag to compare

@Subserial Subserial released this 17 Jun 22:25
c68d899

What's Changed

  • tarball: return error instead of panicking on missing rootfs.diff_ids by @iahsanGill in #2304
  • gcrane: honor --platform flag in copy by @iahsanGill in #2307
  • mutate: verify layer digests in Extract and Time by @momenashrafff in #2303
  • tarball: close layer readers during Write by @nandbhat in #2308
  • build(deps): bump the actions group across 1 directory with 2 updates by @dependabot[bot] in #2311
  • build(deps): bump github.com/docker/cli from 29.4.3+incompatible to 29.5.2+incompatible in the go-deps group across 1 directory by @dependabot[bot] in #2312
  • BUGFIX: Fail with error when read exceeds maximum by @inteon in #2328
  • build(deps): bump the actions group across 1 directory with 2 updates by @dependabot[bot] in #2327
  • fix(name): anchor loopback registry detection by @rohan-patnaik in #2314
  • Reject symlinks in OCI layout blobs by @mosskappa in #2306
  • fix(crane): avoid creating export tar on pull failure by @Haihan-Jiang in #2318
  • feat(kubernetes): allow ignoring pull secrets by @rohan-patnaik in #2315
  • fix(name): preserve localhost registry references by @rohan-patnaik in #2316
  • pkg/registry: export ErrNotFound by @malt3 in #2176
  • pkg/registry: export RedirectError by @malt3 in #2177
  • build(deps): bump the go-deps group across 1 directory with 2 updates by @dependabot[bot] in #2343
  • build(deps): bump the actions group across 1 directory with 2 updates by @dependabot[bot] in #2344
  • fix: prevent SSRF in google.List() pagination by @tufstraka in #2332
  • internal/gzip: fix goroutine leak in ReadCloserLevel by @amarkdotdev in #2347
  • fix(transport): apply refreshed bearer token after cross-host redirect by @64johnlee in #2337
  • build(deps): bump the go-deps group across 3 directories with 4 updates by @dependabot[bot] in #2348
  • fix(tarball): normalize paths when matching files by @bstoll in #2334
  • transport: do not re-attach bearer token after cross-host redirect by @evilgensec in #2349
  • Bump CI go version to 1.26.4 by @Subserial in #2350

New Contributors

Full Changelog: v0.21.6...v0.21.7

v0.21.6

Choose a tag to compare

@Subserial Subserial released this 18 May 19:37
53f7e39

What's Changed

  • fix: update dependencies to use new azure sdk components by @gaganhr94 in #2262
  • transport: restore resp.Body in retryError so CheckError can parse it by @alliasgher in #2264
  • pkg/registry: return 202 Accepted for PATCH chunk uploads by @alliasgher in #2265
  • Follow OCI distribution spec for artifactType and annotations by @malt3 in #2269
  • actions: attach Codecov token to coverage tests on main by @Subserial in #2270
  • remote: use DeleteScope (with "delete" action) for manifest deletion by @alliasgher in #2266
  • remote: limit concurrent layer pulls by @gnix0 in #2271
  • pkg/registry: reject corrupt disk blobs by @gnix0 in #2272
  • mutate: close layer readers during export by @gnix0 in #2277
  • crane/flatten: preserve image media type when flattening by @alliasgher in #2267
  • build(deps): bump goreleaser/goreleaser-action from 7.0.0 to 7.2.1 in the actions group across 1 directory by @dependabot[bot] in #2273
  • build(deps): bump go.opentelemetry.io/otel from 1.36.0 to 1.41.0 by @dependabot[bot] in #2278
  • build(deps): bump the go-deps group across 3 directories with 6 updates by @dependabot[bot] in #2280
  • Replace go-homedir with os.UserHomeDir by @jammie-jelly in #2282
  • pkg/name: only treat .localhost as non-HTTPS, not .local by @blackwell-systems in #2281
  • transport: block unspecified IPs (0.0.0.0, ::) in validateRealmURL by @marwan9696 in #2285
  • test(mutate): add Extract round-trip test for filesystem object preservation by @blackwell-systems in #2283
  • experiments: remove deprecated support for estargz by @thaJeztah in #2288
  • build(deps): bump aws-actions/configure-aws-credentials from 6.1.0 to 6.1.1 in the actions group by @dependabot[bot] in #2289
  • fix: limit HTTP response body reads to prevent OOM by @evilgensec in #2296
  • build(deps): bump the go-deps group across 3 directories with 6 updates by @dependabot[bot] in #2297
  • transport: block redirects from token server to private/link-local addresses (SSRF fix) by @evilgensec in #2292
  • pkg/v1/mutate: preserve relative symlinks that stay within rootfs in Extract by @anishesg in #2279
  • validate: skip non-layer layers by @imjasonh in #2298
  • remote: validate foreign layer URLs to prevent SSRF (fixes #2259) by @evilgensec in #2293
  • remote: block SSRF via private-IP Location headers in blob uploads by @adilburaksen in #2295
  • fix(mutate): preserve config blob and layers for non-Docker OCI artifacts by @blackwell-systems in #2286
  • fix: preserve per-occurrence layer identity in mutate.Image.Layers() by @iahsanGill in #2299
  • transport: retry HTTP 429 (Too Many Requests) by @iahsanGill in #2301
  • transport: allow bearer realm at same host:port as registry by @iahsanGill in #2302
  • Update go version to 1.26.3 by @Subserial in #2300

New Contributors

Full Changelog: v0.21.5...v0.21.6

v0.21.5

Choose a tag to compare

@Subserial Subserial released this 11 Apr 03:13
5b80281

What's Changed

  • Bump docker/cli v29.4.0, moby/api v1.54.1, moby/client v0.4.0 by @thaJeztah in #2254
  • update to Go 1.26.2 by @thaJeztah in #2255
  • Bump aws-actions/configure-aws-credentials from 6.0.0 to 6.1.0 in the actions group across 1 directory by @dependabot[bot] in #2257
  • build(deps): bump golang.org/x/tools from 0.43.0 to 0.44.0 in the go-deps group across 1 directory by @dependabot[bot] in #2260

Full Changelog: v0.21.4...v0.21.5

v0.21.4

Choose a tag to compare

@Subserial Subserial released this 06 Apr 18:34
e8813dd

What's Changed

New Contributors

Full Changelog: v0.21.3...v0.21.4

v0.21.3

Choose a tag to compare

@Subserial Subserial released this 17 Mar 23:24
3888fb8

What's Changed

New Contributors

Full Changelog: v0.21.2...v0.21.3

v0.21.2

Choose a tag to compare

@mattmoor mattmoor released this 02 Mar 22:12
9e0ccb0

What's Changed

Full Changelog: v0.21.1...v0.21.2