k8s.io/apimachinery breaking changes
Updated December 4, 2026
On this page
Latest version v0.37.3, released November 25, 2026. Source repository
Packages on Go modules run on Go. Go end of life dates.
k8s.io/apimachinery v0.37.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/api/validate.DirectEqualPtr
k8s.io/apimachinery/pkg/api/validate.DirectEqualPtr was removed in k8s.io/apimachinery v0.37.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/validate.EachSliceVal
k8s.io/apimachinery/pkg/api/validate.EachSliceVal was removed in k8s.io/apimachinery v0.37.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/validate.MatchItemFn
k8s.io/apimachinery/pkg/api/validate.MatchItemFn was removed in k8s.io/apimachinery v0.37.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/validate.SliceItem
k8s.io/apimachinery/pkg/api/validate.SliceItem was removed in k8s.io/apimachinery v0.37.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/validate.Unique
k8s.io/apimachinery/pkg/api/validate.Unique was removed in k8s.io/apimachinery v0.37.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/runtime.JSONKeyMapper
k8s.io/apimachinery/pkg/runtime.JSONKeyMapper was removed in k8s.io/apimachinery v0.37.0 pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/operation.Operation.HasOption
Was func HasOption(string) bool; now func HasOption(string) (bool, bool). pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/operation.Operation.Options
Was Options []string; now Options map[string]bool. pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/validate.DirectEqual
Was func DirectEqual[T comparable](T, T) bool; now func DirectEqual[T comparable](*T, *T) bool. pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/validate.EachMapVal
Was func EachMapVal[K ~string, V any](context.Context, operation.Operation, *field.Path, map[K]V, map[K]V, MatchFunc[V], ValidateFunc[*V]) field.ErrorList; now func EachMapVal[K ~string, V any](context.Context, operation.Operation... pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/validate.IfOption
Was func IfOption[T any](context.Context, operation.Operation, *field.Path, *T, *T, string, bool, func(context.Context, operation.Operation, *field.Path, *T, *T) field.ErrorList) field.ErrorList; now func IfOption[T any](context.Context... pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/apis/meta/v1/validation.ValidateManagedFields
Was func ValidateManagedFields([]metav1.ManagedFieldsEntry, *field.Path) field.ErrorList; now func ValidateManagedFields([]metav1.ManagedFieldsEntry, *field.Path, ...ManagedFieldsValidationOption) field.ErrorList. pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/runtime.ParseDocumentationFrom
Was func ParseDocumentationFrom(string) []KubeTypes; now func ParseDocumentationFrom(string) ([]KubeTypes, error). pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/runtime.Scheme.Validate
Was func Validate(context.Context, []string, Object, ...string) field.ErrorList; now func Validate(context.Context, map[string]bool, Object, ...string) field.ErrorList. pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/runtime.Scheme.ValidateUpdate
Was func ValidateUpdate(context.Context, []string, Object, Object, ...string) field.ErrorList; now func ValidateUpdate(context.Context, map[string]bool, Object, Object, ...string) field.ErrorList. pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/runtime.UseNondeterministicEncoding
Was func UseNondeterministicEncoding(Encoder) Encoder; now func UseNondeterministicEncoding(Serializer) Encoder. pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/runtime/testing.RunUpdateValidationForEachVersion
Was func RunUpdateValidationForEachVersion(*testing.T, *runtime.Scheme, []string, runtime.Object, runtime.Object, VersionValidationRunner, bool, ...string); now func RunUpdateValidationForEachVersion(*testing.T, *runtime.Scheme... pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/runtime/testing.RunValidationForEachVersion
Was func RunValidationForEachVersion(*testing.T, *runtime.Scheme, []string, runtime.Object, VersionValidationRunner, bool, ...string); now func RunValidationForEachVersion(*testing.T, *runtime.Scheme, map[string]bool, runtime.Object... pkg.go.dev
k8s.io/apimachinery v0.36.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/api/resource.Quantity.ProtoMessage
k8s.io/apimachinery/pkg/api/resource.Quantity.ProtoMessage was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.QuantityValue.ProtoMessage
k8s.io/apimachinery/pkg/api/resource.QuantityValue.ProtoMessage was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/validation/path.NameMayNotBe
k8s.io/apimachinery/pkg/api/validation/path.NameMayNotBe was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/validation/path.NameMayNotContain
k8s.io/apimachinery/pkg/api/validation/path.NameMayNotContain was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup.ProtoMessage
k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup.ProtoMessage was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList.ProtoMessage
k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList.ProtoMessage was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/apis/meta/v1.APIResource.ProtoMessage
k8s.io/apimachinery/pkg/apis/meta/v1.APIResource.ProtoMessage was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList.ProtoMessage
k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList.ProtoMessage was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions.ProtoMessage
k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions.ProtoMessage was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions.ProtoMessage
k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions.ProtoMessage was removed in k8s.io/apimachinery v0.36.0 pkg.go.dev
And 68 more in this version. Sign up to see every change
k8s.io/apimachinery v0.35.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/api/resource.Quantity.Descriptor
k8s.io/apimachinery/pkg/api/resource.Quantity.Descriptor was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_DiscardUnknown
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_DiscardUnknown was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_Marshal
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_Marshal was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_Merge
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_Merge was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_Size
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_Size was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_Unmarshal
k8s.io/apimachinery/pkg/api/resource.Quantity.XXX_Unmarshal was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.QuantityValue.Descriptor
k8s.io/apimachinery/pkg/api/resource.QuantityValue.Descriptor was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.QuantityValue.XXX_DiscardUnknown
k8s.io/apimachinery/pkg/api/resource.QuantityValue.XXX_DiscardUnknown was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.QuantityValue.XXX_Marshal
k8s.io/apimachinery/pkg/api/resource.QuantityValue.XXX_Marshal was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/resource.QuantityValue.XXX_Merge
k8s.io/apimachinery/pkg/api/resource.QuantityValue.XXX_Merge was removed in k8s.io/apimachinery v0.35.0 pkg.go.dev
And 372 more in this version. Sign up to see every change
k8s.io/apimachinery v0.34.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/apis/meta/v1.InitialEventsListBlueprintAnnotationKey
k8s.io/apimachinery/pkg/apis/meta/v1.InitialEventsListBlueprintAnnotationKey was removed in k8s.io/apimachinery v0.34.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/runtime/testing.RunStatusValidationForEachVersion
k8s.io/apimachinery/pkg/runtime/testing.RunStatusValidationForEachVersion was removed in k8s.io/apimachinery v0.34.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/diff.IgnoreUnset
k8s.io/apimachinery/pkg/util/diff.IgnoreUnset was removed in k8s.io/apimachinery v0.34.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/diff.ObjectDiff
k8s.io/apimachinery/pkg/util/diff.ObjectDiff was removed in k8s.io/apimachinery v0.34.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/diff.ObjectGoPrintDiff
k8s.io/apimachinery/pkg/util/diff.ObjectGoPrintDiff was removed in k8s.io/apimachinery v0.34.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/diff.ObjectReflectDiff
k8s.io/apimachinery/pkg/util/diff.ObjectReflectDiff was removed in k8s.io/apimachinery v0.34.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/diff.StringDiff
k8s.io/apimachinery/pkg/util/diff.StringDiff was removed in k8s.io/apimachinery v0.34.0 pkg.go.dev - Renamed
k8s.io/apimachinery/pkg/api/validate.CompareFunc
Use k8s.io/apimachinery/pkg/api/validate.MatchFunc instead. pkg.go.dev - Renamed
k8s.io/apimachinery/pkg/api/validate.Immutable
Use k8s.io/apimachinery/pkg/api/validate.ImmutableByCompare instead. pkg.go.dev - Renamed
k8s.io/apimachinery/pkg/api/validate.ImmutableNonComparable
Use k8s.io/apimachinery/pkg/api/validate.ImmutableByReflect instead. pkg.go.dev
And 8 more in this version. Sign up to see every change
k8s.io/apimachinery v0.33.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime.Fuzz
k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime.Fuzz was removed in k8s.io/apimachinery v0.33.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/apis/meta/v1.Time.Fuzz
k8s.io/apimachinery/pkg/apis/meta/v1.Time.Fuzz was removed in k8s.io/apimachinery v0.33.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/intstr.IntOrString.Fuzz
k8s.io/apimachinery/pkg/util/intstr.IntOrString.Fuzz was removed in k8s.io/apimachinery v0.33.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/net/testing.TB
k8s.io/apimachinery/pkg/util/net/testing.TB was removed in k8s.io/apimachinery v0.33.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/validation.IsValidIPv4Address
k8s.io/apimachinery/pkg/util/validation.IsValidIPv4Address was removed in k8s.io/apimachinery v0.33.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/validation.IsValidIPv6Address
k8s.io/apimachinery/pkg/util/validation.IsValidIPv6Address was removed in k8s.io/apimachinery v0.33.0 pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/apitesting/fuzzer.FuzzerFor
Was func FuzzerFor(FuzzerFuncs, rand.Source, runtimeserializer.CodecFactory) *fuzz.Fuzzer; now func FuzzerFor(FuzzerFuncs, rand.Source, runtimeserializer.CodecFactory) *randfill.Filler. pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/apitesting/roundtrip.RoundTripExternalTypes
Was func RoundTripExternalTypes(*testing.T, *runtime.Scheme, runtimeserializer.CodecFactory, *fuzz.Fuzzer, map[schema.GroupVersionKind]bool); now func RoundTripExternalTypes(*testing.T, *runtime.Scheme, runtimeserializer.CodecFactory... pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/apitesting/roundtrip.RoundTripExternalTypesWithoutProtobuf
Was func RoundTripExternalTypesWithoutProtobuf(*testing.T, *runtime.Scheme, runtimeserializer.CodecFactory, *fuzz.Fuzzer, map[schema.GroupVersionKind]bool); now func RoundTripExternalTypesWithoutProtobuf(*testing.T, *runtime.Scheme... pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/apitesting/roundtrip.RoundTripSpecificKind
Was func RoundTripSpecificKind(*testing.T, schema.GroupVersionKind, *runtime.Scheme, runtimeserializer.CodecFactory, *fuzz.Fuzzer, map[schema.GroupVersionKind]bool); now func RoundTripSpecificKind(*testing.T, schema.GroupVersionKind... pkg.go.dev
And 4 more in this version. Sign up to see every change
k8s.io/apimachinery v0.32.0 breaking changes
- Signature changed
k8s.io/apimachinery/pkg/api/apitesting/roundtrip.RoundtripToUnstructured
Was func RoundtripToUnstructured(*testing.T, *runtime.Scheme, fuzzer.FuzzerFuncs, sets.Set[schema.GroupVersionKind]); now func RoundtripToUnstructured(*testing.T, *runtime.Scheme, fuzzer.FuzzerFuncs, sets.Set[schema.GroupVersionKind]... pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/util/managedfields.NewDefaultCRDFieldManager
Was func NewDefaultCRDFieldManager(TypeConverter, runtime.ObjectConvertor, runtime.ObjectDefaulter, runtime.ObjectCreater, schema.GroupVersionKind, schema.GroupVersion, string, map[fieldpath.APIVersion]*fieldpath.Set) (*FieldManager... pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/util/managedfields.NewDefaultFieldManager
Was func NewDefaultFieldManager(TypeConverter, runtime.ObjectConvertor, runtime.ObjectDefaulter, runtime.ObjectCreater, schema.GroupVersionKind, schema.GroupVersion, string, map[fieldpath.APIVersion]*fieldpath.Set) (*FieldManager, error)... pkg.go.dev
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
k8s.io/apimachinery v0.30.0 breaking changes
- Renamed
k8s.io/apimachinery/pkg/util/validation.IsValidSocketAddr
Use k8s.io/apimachinery/pkg/util/validation.IsRelaxedEnvVarName instead. pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/util/sets.List
Was func List[T ordered](Set[T]) []T; now func List[T cmp.Ordered](Set[T]) []T. pkg.go.dev
And 1 more in this version.
k8s.io/apimachinery v0.29.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/runtime/serializer/streaming.NewEncoderWithAllocator
k8s.io/apimachinery/pkg/runtime/serializer/streaming.NewEncoderWithAllocator was removed in k8s.io/apimachinery v0.29.0 pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/api/meta.RemoveStatusCondition
Was func RemoveStatusCondition(*[]metav1.Condition, string); now func RemoveStatusCondition(*[]metav1.Condition, string) (bool). pkg.go.dev
And 6 more in this version.
k8s.io/apimachinery v0.28.0 breaking changes
- Signature changed
k8s.io/apimachinery/pkg/util/strategicpatch/testing.Fake.OpenAPISchema
Was func OpenAPISchema() (*openapi_v2.Document, error); now func OpenAPISchema() (*openapi_v2.Document, error). pkg.go.dev
k8s.io/apimachinery v0.27.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/util/wait.WaitFor
k8s.io/apimachinery/pkg/util/wait.WaitFor was removed in k8s.io/apimachinery v0.27.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/util/wait.WaitForWithContext
k8s.io/apimachinery/pkg/util/wait.WaitForWithContext was removed in k8s.io/apimachinery v0.27.0 pkg.go.dev
And 5 more in this version.
k8s.io/apimachinery v0.26.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/util/sets/types
k8s.io/apimachinery/pkg/util/sets/types was removed in k8s.io/apimachinery v0.26.0 pkg.go.dev - Signature changed
k8s.io/apimachinery/pkg/apis/meta/v1/validation.ValidateLabelSelector
Was func ValidateLabelSelector(*metav1.LabelSelector, *field.Path) field.ErrorList; now func ValidateLabelSelector(*metav1.LabelSelector, LabelSelectorValidationOptions, *field.Path) field.ErrorList. pkg.go.dev
And 6 more in this version.
k8s.io/apimachinery v0.25.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/api/validation.ValidateZZZ_DeprecatedClusterName
k8s.io/apimachinery/pkg/api/validation.ValidateZZZ_DeprecatedClusterName was removed in k8s.io/apimachinery v0.25.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/apis/meta/v1.Object.GetZZZ_DeprecatedClusterName
k8s.io/apimachinery/pkg/apis/meta/v1.Object.GetZZZ_DeprecatedClusterName was removed in k8s.io/apimachinery v0.25.0 pkg.go.dev
And 18 more in this version.
k8s.io/apimachinery v0.24.0 breaking changes
- Removed
k8s.io/apimachinery/pkg/api/apitesting/roundtrip.CompatibilityTestFuzzer
k8s.io/apimachinery/pkg/api/apitesting/roundtrip.CompatibilityTestFuzzer was removed in k8s.io/apimachinery v0.24.0 pkg.go.dev - Removed
k8s.io/apimachinery/pkg/api/apitesting/roundtrip.CompatibilityTestOptions.FuzzedObjects
k8s.io/apimachinery/pkg/api/apitesting/roundtrip.CompatibilityTestOptions.FuzzedObjects was removed in k8s.io/apimachinery v0.24.0 pkg.go.dev
And 34 more in this version.
Related packages
- k8s.io/api
- k8s.io/apiextensions-apiserver
- k8s.io/apiserver
- k8s.io/client-go
- k8s.io/code-generator
- k8s.io/component-base
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.