containerd 1.7.21
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
StopContaineridempotent (#10528) - Make
StopPodSandboxidempotent (#10527)
Go client
- Fix failed force deletion for tasks with PID 0 (#10523)
Runtime
- Fix packaged runc reporting incorrect version (#10559)
- Ensure
/run/containerdgets 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)
975f279eePrepare release notes for v1.7.21
- go.mod: keep minimum go version at go1.21 (#10633)
d63bd8464go.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)
09ca004deFix TestNewBinaryIOCleanup on Go 1.23 and Linux 5.4
- Borrow latest wsstream from k8s v1.31.x to 1.7 (#10575)
9269d97b1hide wsstream under internal/ to prevent external use59815fa44golangci-lint should only look for problems in new code1c431dc6fRun go mod tidy226f93d92Add copyright headers6f3252733switch over references to the new package0a85d476aFix up some constant references82bfa44d0Copy over wsstream from k8s v1.31.0-rc.1 release
- Ensure the CRIAPIV1Alpha2 warning's lastOccurrence is accurate (#10571)
52b79f337Update CRIAPIV1Alpha2 warning lastOccurrence every call
- pkg/userns: deprecate and migrate to github.com/moby/sys/userns (#10564)
- update to go1.21.13 / go1.22.6 (#10570)
228914a5eupdate to go1.21.13 / go1.22.6
- Fix TestNewBinaryIOCleanup failing with gotip (#10554)
3ff82ba0fFix TestNewBinaryIOCleanup failing with gotip
- Fix packaged runc reporting incorrect version (#10559)
d51143f6fscript/setup/install-runc: fix runc using incorrect version
- update auths code comment (#10536)
7bb1455d8update auths code comment
- Ensure
/run/containerdgets created with correct perms (#10534)16c5fc768Ensure /run/containerd is created with correct perms
- Make
StopContaineridempotent (#10528)6da4e40b2MakeStopContainerRPC idempotent
- Make
StopPodSandboxidempotent (#10527)b3b6f1507MakeStopPodSandboxRPC idempotent
- Fix failed force deletion for tasks with PID 0 (#10523)
0db46f664client: fix tasks with PID 0 cannot be forced to delete
- Update warnings for deprecated CRI config fields (#10512)
9afb8dcdfdeprecation: update warnings for CRI config fields
- Regenerate introspection UUID if state is empty (#10510)
b140792e4introspection: regenerate UUID if state is empty
- Set stderr to empty string when using terminal on Windows (#10499)
f9beac3dbSet 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