Releases: containerd/cgroups
Releases · containerd/cgroups
v3.0.5
What's Changed
- add InotifyInit err to custom err message by @akhilerm in #355
- cgroup2: Manager.Delete: handle both "threaded" and "domain threaded" by @thaJeztah in #358
New Contributors
Full Changelog: v3.0.4...v3.0.5
v3.0.4
What's Changed
- rename misspelling WithHiearchy to WithHierarchy by @blanet in #319
- chore: don't log ENOTSUP during parsing PSI files by @KimMachineGun in #321
- Add
EOPNOTSUPP
to err filter for PSI data by @mahendrapaipuri in #322 - cg2: Don't read cgroup.procs when deleting threaded cg by @dcantah in #318
- Added cgroup type by @yaoyinnan in #324
- Update golangci-lint action to v4 and linter to v1.57.1 by @austinvazquez in #330
- chore: fix function name by @sunxunle in #327
- build(deps): bump google.golang.org/protobuf from 1.27.1 to 1.33.0 by @austinvazquez in #332
- Add dependabot automation for GitHub Actions packages by @austinvazquez in #331
- fix(ci): fix broken dependabot by @HeRaNO in #334
- build(deps): bump actions/setup-go from 4 to 5 by @dependabot in #338
- build(deps): bump golangci/golangci-lint-action from 4 to 6 by @dependabot in #337
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #336
- switch to github.com/containerd/log, and use structured logs by @thaJeztah in #341
- go.mod: update to go1.19 as minimum, and add go1.22.x to GHA by @thaJeztah in #342
- rename/remove vars that collided with builtin, minor linting and cleanup by @thaJeztah in #340
- go.mod: github.com/docker/go-units v0.5.0 by @thaJeztah in #343
- group1: don't use deprecated ParseCgroupFileUnified internally by @thaJeztah in #339
- update minimum go version go go1.21 by @thaJeztah in #345
- deprecate RunningInUserNS(), migrate to github.com/moby/sys/userns by @thaJeztah in #346
- dont ignore failure to create cgroup after timeout by @jchorl in #349
- fix: use the specified go version in lint jobs by @AlbertoBarba in #352
- go.mod: bump up by @AkihiroSuda in #353
New Contributors
- @blanet made their first contribution in #319
- @KimMachineGun made their first contribution in #321
- @mahendrapaipuri made their first contribution in #322
- @sunxunle made their first contribution in #327
- @dependabot made their first contribution in #338
- @jchorl made their first contribution in #349
- @AlbertoBarba made their first contribution in #352
Full Changelog: v3.0.3...v3.0.4
v3.0.3
What's Changed
- NewSystemd handles UnitExists when starting units by @mmerkes in #290
- makefile fixes by @metux in #304
- cgroups2: export memory max usage and swap max usage by @HeRaNO in #305
- build(deps): bump github.com/cilium/ebpf from v0.9.1 to v0.11.0 by @wojiushixiaobai in #315
- support psi by @zouyee in #308
- feat: add Threads for cgroupv2 by @Rouzip in #312
- Linux.Swap is defined as memory+swap combined, while in cgroup v2 swap is a separate value by @zouyee in #314
- fix(): support re-enabling oom killer refs #307 by @kestrelcjx in #311
New Contributors
- @mmerkes made their first contribution in #290
- @metux made their first contribution in #304
- @HeRaNO made their first contribution in #305
- @wojiushixiaobai made their first contribution in #315
- @Rouzip made their first contribution in #312
- @kestrelcjx made their first contribution in #311
Full Changelog: v3.0.2...v3.0.3
v3.0.2
What's Changed
- gof(ump)t code and update some dependencies by @thaJeztah in #268
- cg2: syscall -> x/sys/unix by @dcantah in #269
- cg2: Add ability to set type by @dcantah in #270
- Add Go 1.20 support by @austinvazquez in #271
- Add Golangci-lint to CI by @austinvazquez in #272
- Docs: Add section on setting/getting cgroup2 type by @dcantah in #273
- Reduce allocs in ReadUint64 by pre-allocating byte buffer by @manugupt1 in #278
- cgroup2: rm/simplify some code by @kolyshkin in #283
- Cgroup2: Testify all tests by @dcantah in #285
- Cgroup2: Cleanup procs in TestKill by @dcantah in #286
- Upgrade actions/setup-go to v4 in CI workflow by @austinvazquez in #288
- cgroup2: only enable the cpuset controller if cpus or mems is specified by @zhuangqh in #293
- Cgroup2: Reduce allocations for
manager.Stat
by @dcantah in #281 - Cgroup2: Remove lingering cgroups after tests by @dcantah in #282
- Improve performance by for pid stats (cgroups1) re-using readuint by @manugupt1 in #291
- cgroup1 delete: proceed to the next subsystem when a cgroup is not found by @singholt in #296
New Contributors
- @manugupt1 made their first contribution in #278
- @zhuangqh made their first contribution in #293
- @singholt made their first contribution in #296
Full Changelog: v3.0.1...v3.0.2
v3.0.1
What's Changed
- move ParseCgroupFileUnified from v3/cgroup1 to v3 by @AkihiroSuda in #267
Full Changelog: v3.0.0...v3.0.1
v3.0.0
What's Changed
- Use google.golang.org/protobuf instead of github.com/gogo/protobuf by @kzys in #220
- Swap 'retryingWriteFile' for os.WriteFile by @dcantah in #252
- Retry on EINVAL like runc by @kzys in #250
- Rename the package to github.com/containerd/cgroups/v2 by @kzys in #251
- Add containerd project checks to CI by @austinvazquez in #256
- Add cgroup1/ to make cgroup1 and cgroup2 symmmetric by @kzys in #255
- Rename the package to github.com/containerd/cgroups/v3 by @kzys in #257
- Make cgroup1.Load and cgroup2.Load closer by @kzys in #259
- spelling: deault -> default by @dcantah in #264
- cgroup2: Don't retry on EINTR by @dcantah in #262
- cgroup2: Add Kill method to manager by @dcantah in #263
- cg1: Clarify MemoryEvent comments by @dcantah in #266
Full Changelog: v1.1.0...v3.0.0
v1.1.0
What's Changed
- Update README to include usage examples of v2 client by @sparrc in #233
- feat(v2): Support cgroup.MoveTo in cgroupv2 manager by @yaoyinnan in #235
- .github: use ubuntu-22.04 to test cgroupv2 by @fuweid in #237
- go.mod: github.com/stretchr/testify v1.8.0 by @AkihiroSuda in #240
- Upgrade github.com/cilium/ebpf from v0.4.0 to v0.9.1 by @kzys in #241
- typo shoulld -> should by @Abirdcfly in #236
- Support to handle more than 4 fields in cpuacct.stat by @jellor in #231
- Support cgroup.AddThread in cgroupv2 manager by @yaoyinnan in #243
- Check that cgroup is empty before deleting by @jseba in #228
- Don't use ioutil by @kzys in #246
- Upgrade Go compiler to 1.19 by @austinvazquez in #248
- Upgrade GitHub actions CI workflow by @austinvazquez in #249
New Contributors
- @yaoyinnan made their first contribution in #235
- @Abirdcfly made their first contribution in #236
- @jellor made their first contribution in #231
- @jseba made their first contribution in #228
Full Changelog: v1.0.4...v1.1.0
v1.0.4
What's Changed
- Fix panic in NewSystemd on nil values by @sparrc in #219
- Update Go version and fedora base by @estesp in #223
- Fix systemd full path by @sparrc in #221
- update readme for cpu cgroup demo by @busyboy-ws in #217
- modified the dereference null pointer value. by @xuegege5290 in #218
- feat: add memory.min param by @sergelogvinov in #211
- feat(v2): add Update method for v2.Manager by @cathaysia in #225
- make cmd/ a separate module (as it's only for testing) by @thaJeztah in #226
- Bump go version to 1.17 in go.mod by @pigletfly in #230
- ParseCgroupFile: fix wrong comment about unified hierarchy ; add ParseCgroupFileUnified to get the unified path by @AkihiroSuda in #232
New Contributors
- @sparrc made their first contribution in #219
- @busyboy-ws made their first contribution in #217
- @xuegege5290 made their first contribution in #218
- @sergelogvinov made their first contribution in #211
- @cathaysia made their first contribution in #225
- @pigletfly made their first contribution in #230
Full Changelog: v1.0.3...v1.0.4