diff --git a/CHANGELOG.md b/CHANGELOG.md index ef5c261b7..69c726b29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `CleanPath`, `StripRoot`, and `WithProcfd` from `libcontainer/utils`. Note that `WithProcfdFile` has not been removed (due to import cycle issues) but is instead marked as internal in its godoc comment. (#5051) + - All of the cgroup-related types and functions from `libcontainer/configs` + which are now maintained in `github.com/opencontainers/cgroups` (#5141): + - `libcontainer/configs.Cgroup` + - `libcontainer/configs.Resources` + - `libcontainer/configs.FreezerState` + - `libcontainer/configs.LinuxRdma` + - `libcontainer/configs.BlockIODevice` + - `libcontainer/configs.WeightDevice` + - `libcontainer/configs.ThrottleDevice` + - `libcontainer/configs.HugepageLimit` + - `libcontainer/configs.IfPrioMap` + - `libcontainer/configs.Undefined` + - `libcontainer/configs.Frozen` + - `libcontainer/configs.Thawed` + - `libcontainer/configs.NewWeightDevice` + - `libcontainer/configs.NewThrottleDevice` ## [1.4.0] - 2025-11-27 diff --git a/libcontainer/configs/cgroup_deprecated.go b/libcontainer/configs/cgroup_deprecated.go deleted file mode 100644 index 7836b240a..000000000 --- a/libcontainer/configs/cgroup_deprecated.go +++ /dev/null @@ -1,29 +0,0 @@ -package configs - -import "github.com/opencontainers/cgroups" - -// Deprecated: use [github.com/opencontainers/cgroups]. -type ( - Cgroup = cgroups.Cgroup - Resources = cgroups.Resources - FreezerState = cgroups.FreezerState - LinuxRdma = cgroups.LinuxRdma - BlockIODevice = cgroups.BlockIODevice - WeightDevice = cgroups.WeightDevice - ThrottleDevice = cgroups.ThrottleDevice - HugepageLimit = cgroups.HugepageLimit - IfPrioMap = cgroups.IfPrioMap -) - -// Deprecated: use [github.com/opencontainers/cgroups]. -const ( - Undefined = cgroups.Undefined - Frozen = cgroups.Frozen - Thawed = cgroups.Thawed -) - -// Deprecated: use [github.com/opencontainers/cgroups]. -var ( - NewWeightDevice = cgroups.NewWeightDevice - NewThrottleDevice = cgroups.NewThrottleDevice -)