Skip to content

containerd 1.7.21

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Sep 23:26
· 203 commits to master since this release
v1.7.21
4727319

Welcome to the v1.7.21 release of containerd!

The twenty-first patch release for containerd 1.7 contains various fixes
and updates.

Highlights

  • Regenerate introspection UUID if state is empty (#10510)
  • Set stderr to empty string when using terminal on Windows (#10499)

Build and Release Toolchain

  • Move builds to Go 1.22 and add support for testing with 1.23 (#10596)

Container Runtime Interface (CRI)

  • Borrow latest wsstream from k8s v1.31.x to 1.7 (#10575)
  • Ensure the CRIAPIV1Alpha2 warning's lastOccurrence is accurate (#10571)
  • Make StopContainer idempotent (#10528)
  • Make StopPodSandbox idempotent (#10527)

Go client

  • Fix failed force deletion for tasks with PID 0 (#10523)

Runtime

  • Fix packaged runc reporting incorrect version (#10559)
  • Ensure /run/containerd gets created with correct perms (#10534)

Deprecations

  • Ensure the CRIAPIV1Alpha2 warning's lastOccurrence is accurate (#10571)
  • Update warnings for deprecated CRI config fields (#10512)

Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.

Contributors

  • Davanum Srinivas
  • Samuel Karp
  • Sebastiaan van Stijn
  • Phil Estes
  • Maksym Pavlenko
  • Akhil Mohan
  • Chris Henzie
  • Derek McGowan
  • Kazuyoshi Kato
  • Sascha Grunert
  • Akihiro Suda
  • Erikson Tung
  • Iceber Gu
  • Mauri de Souza Meneguzzo
  • Mike Brown
  • Shengjing Zhu
  • TinaMor
  • rongfu.leng

Changes

45 commits

  • Prepare release notes for v1.7.21 (#10632)
    • 975f279ee Prepare release notes for v1.7.21
  • go.mod: keep minimum go version at go1.21 (#10633)
    • d63bd8464 go.mod: keep minimum go version at go1.21
  • Move builds to Go 1.22 and add support for testing with 1.23 (#10596)
  • Fix TestNewBinaryIOCleanup on Go 1.23 and Linux 5.4 (#10590)
    • 09ca004de Fix TestNewBinaryIOCleanup on Go 1.23 and Linux 5.4
  • Borrow latest wsstream from k8s v1.31.x to 1.7 (#10575)
    • 9269d97b1 hide wsstream under internal/ to prevent external use
    • 59815fa44 golangci-lint should only look for problems in new code
    • 1c431dc6f Run go mod tidy
    • 226f93d92 Add copyright headers
    • 6f3252733 switch over references to the new package
    • 0a85d476a Fix up some constant references
    • 82bfa44d0 Copy over wsstream from k8s v1.31.0-rc.1 release
  • Ensure the CRIAPIV1Alpha2 warning's lastOccurrence is accurate (#10571)
    • 52b79f337 Update CRIAPIV1Alpha2 warning lastOccurrence every call
  • pkg/userns: deprecate and migrate to github.com/moby/sys/userns (#10564)
    • dce0b5a6d migrate to github.com/moby/sys/userns
    • 65f7d0740 pkg/userns: deprecate and migrate to github.com/moby/sys/user/userns
    • f21675c27 vendor: github.com/moby/sys/user v0.2.0
  • update to go1.21.13 / go1.22.6 (#10570)
  • Fix TestNewBinaryIOCleanup failing with gotip (#10554)
    • 3ff82ba0f Fix TestNewBinaryIOCleanup failing with gotip
  • Fix packaged runc reporting incorrect version (#10559)
    • d51143f6f script/setup/install-runc: fix runc using incorrect version
  • update auths code comment (#10536)
  • Ensure /run/containerd gets created with correct perms (#10534)
    • 16c5fc768 Ensure /run/containerd is created with correct perms
  • Make StopContainer idempotent (#10528)
    • 6da4e40b2 Make StopContainer RPC idempotent
  • Make StopPodSandbox idempotent (#10527)
    • b3b6f1507 Make StopPodSandbox RPC idempotent
  • Fix failed force deletion for tasks with PID 0 (#10523)
    • 0db46f664 client: fix tasks with PID 0 cannot be forced to delete
  • Update warnings for deprecated CRI config fields (#10512)
    • 9afb8dcdf deprecation: update warnings for CRI config fields
  • Regenerate introspection UUID if state is empty (#10510)
    • b140792e4 introspection: regenerate UUID if state is empty
  • Set stderr to empty string when using terminal on Windows (#10499)
    • f9beac3db Set stderr to empty string when using terminal on Windows.

Dependency Changes

  • github.com/moby/sys/userns v0.1.0 new

Previous release can be found at v1.7.20