Upgrading k8s.io/apimachinery 0.33 to 0.34
Unknownv0.33.13 → v0.34.13
Fetching 22 releases from GitHub…21 / 22
UnknownUpgrade verdict
DepDelta is still reading the notes for 1 of 22 releases, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Go source. Not mixed with prose notes.
- added:
func Close(TestingT, io.Closer) - added:
func CloseNoOp(TestingT, io.Closer) - added:
method TestingT.Errorf(string, ...interface{}) - added:
method TestingT.Helper() - added:
type TestingT: interface
- changed:
field Operation.Options: sets.Set[string] → field Operation.Options: []string - added:
field Operation.Request: Request - added:
field Request.Subresources: []string - added:
method Operation.HasOption(string) bool - added:
method Request.SubresourcePath() string - added:
type Request: struct
- added:
func Value[T any](*T, func() *T) *T
- removed:
func ImmutableNonComparable[T any](context.Context, operation.Operation, *field.Path, T, T) field.ErrorList - removed:
func Immutable[T comparable](context.Context, operation.Operation, *field.Path, *T, *T) field.ErrorList - removed:
type CompareFunc: [T any] func(T, T) bool - changed:
func EachMapVal[K ~string, V any](context.Context, operation.Operation, *field.Path, map[K]V, map[K]V, ValidateFunc[*V]) field.ErrorList → func EachMapVal[K ~string, V any](context.Context, operation.Operation, *field.Path, map[K]V, map[K]V, MatchFunc[V], ValidateFunc[*V]) field.ErrorList - changed:
func EachSliceVal[T any](context.Context, operation.Operation, *field.Path, []T, []T, CompareFunc[T], ValidateFunc[*T]) field.ErrorList → func EachSliceVal[T any](context.Context, operation.Operation, *field.Path, []T, []T, MatchFunc[T], MatchFunc[T], ValidateFunc[*T]) field.ErrorList - added:
field UnionValidationOptions.ErrorForEmpty: func(fldPath *field.Path, allFields []string) *field.Error - added:
field UnionValidationOptions.ErrorForMultiple: func(fldPath *field.Path, specifiedFields []string, allFields []string) *field.Error - added:
func DirectEqual[T comparable](T, T) bool - added:
func DiscriminatedUnion[T any, D ~string](context.Context, operation.Operation, *field.Path, T, T, *UnionMembership, ExtractorFn[T, D], ...ExtractorFn[T, bool]) (field.ErrorList) - added:
func Enum[T ~string](context.Context, operation.Operation, *field.Path, *T, *T, sets.Set[T]) field.ErrorList - added:
func ImmutableByCompare[T comparable](context.Context, operation.Operation, *field.Path, *T, *T) field.ErrorList - added:
func ImmutableByReflect[T any](context.Context, operation.Operation, *field.Path, T, T) field.ErrorList - added:
func NEQ[T comparable](context.Context, operation.Operation, *field.Path, *T, *T, T) field.ErrorList - added:
func NewDiscriminatedUnionMembership(string, ...[2]string) *UnionMembership - added:
func NewUnionMembership(...[2]string) *UnionMembership - added:
func SemanticDeepEqual[T any](T, T) bool - added:
func SliceItem[TList ~[]TItem, TItem any](context.Context, operation.Operation, *field.Path, TList, TList, MatchItemFn[TItem], MatchFunc[TItem], func(ctx context.Context, op operation.Operation, fldPath *field.Path, newObj, oldObj *TItem) field.ErrorList) field.ErrorList - added:
func Union[T any](context.Context, operation.Operation, *field.Path, T, T, *UnionMembership, ...ExtractorFn[T, bool]) field.ErrorList - added:
func Unique[T any](context.Context, operation.Operation, *field.Path, []T, []T, MatchFunc[T]) field.ErrorList - added:
func ZeroOrOneOfUnion[T any](context.Context, operation.Operation, *field.Path, T, T, *UnionMembership, ...ExtractorFn[T, bool]) field.ErrorList - added:
type ExtractorFn: [T, V any] func(obj T) V - added:
type MatchFunc: [T any] func(T, T) bool - added:
type MatchItemFn: [T any] func(*T) bool - added:
type UnionMembership: struct - added:
type UnionValidationOptions: struct
- added:
func NEQError[T any](T) string
- removed:
const InitialEventsListBlueprintAnnotationKey
- added:
field CarpInfo.A: int64 - added:
field CarpInfo.B: string - added:
field CarpInfo.C: *string - added:
field CarpInfo.Data: string - added:
field CarpStatus.Infos: []CarpInfo - added:
method CarpInfo.DeepCopy() *CarpInfo - added:
method CarpInfo.DeepCopyInto(*CarpInfo) - added:
type CarpInfo: struct
- added:
field CarpInfo.A: int64 - added:
field CarpInfo.B: string - added:
field CarpInfo.C: *string - added:
field CarpInfo.Data: string - added:
field CarpStatus.Infos: []CarpInfo - added:
func Convert_testapigroup_CarpInfo_To_v1_CarpInfo(*testapigroup.CarpInfo, *CarpInfo, conversion.Scope) error - added:
func Convert_v1_CarpInfo_To_testapigroup_CarpInfo(*CarpInfo, *testapigroup.CarpInfo, conversion.Scope) error - added:
method Carp.APILifecycleIntroduced() (int, int) - added:
method CarpInfo.DeepCopy() *CarpInfo - added:
method CarpInfo.DeepCopyInto(*CarpInfo) - added:
method CarpInfo.Descriptor() ([]byte, []int) - added:
method CarpInfo.Marshal() ([]byte, error) - added:
method CarpInfo.MarshalTo([]byte) (int, error) - added:
method CarpInfo.MarshalToSizedBuffer([]byte) (int, error) - added:
method CarpInfo.ProtoMessage() - added:
method CarpInfo.Reset() - added:
method CarpInfo.Size() (int) - added:
method CarpInfo.String() string - added:
method CarpInfo.Unmarshal([]byte) error - added:
method CarpInfo.XXX_DiscardUnknown() - added:
method CarpInfo.XXX_Marshal([]byte, bool) ([]byte, error) - added:
method CarpInfo.XXX_Merge(proto.Message) - added:
method CarpInfo.XXX_Size() int - added:
method CarpInfo.XXX_Unmarshal([]byte) error - added:
method CarpList.APILifecycleIntroduced() (int, int) - added:
type CarpInfo: struct
- added:
func MatchesNothing(Selector) bool - added:
method Labels.Lookup(string) (string, bool) - added:
method Set.Lookup(string) (string, bool)
- changed:
method Scheme.AddValidationFunc(Object, func(ctx context.Context, op operation.Operation, object, oldObject interface{}, subresources ...string) field.ErrorList) → method Scheme.AddValidationFunc(Object, func(ctx context.Context, op operation.Operation, object, oldObject interface{}) field.ErrorList) - changed:
method Scheme.Validate(context.Context, sets.Set[string], Object, ...string) field.ErrorList → method Scheme.Validate(context.Context, []string, Object, ...string) field.ErrorList - changed:
method Scheme.ValidateUpdate(context.Context, sets.Set[string], Object, Object, ...string) field.ErrorList → method Scheme.ValidateUpdate(context.Context, []string, Object, Object, ...string) field.ErrorList - added:
method ApplyConfiguration.IsApplyConfiguration() - added:
method Scheme.ToOpenAPIDefinitionName(schema.GroupVersionKind) (string, error) - added:
type ApplyConfiguration: interface
- changed:
func Marshal(interface{}) ([]byte, error) → func Marshal(any) ([]byte, error) - changed:
func Unmarshal([]byte, interface{}) error → func Unmarshal([]byte, any) error
- removed:
func RunStatusValidationForEachVersion(*testing.T, *runtime.Scheme, sets.Set[string], runtime.Object, runtime.Object, VersionValidationRunner) - changed:
func RunUpdateValidationForEachVersion(*testing.T, *runtime.Scheme, sets.Set[string], runtime.Object, runtime.Object, VersionValidationRunner) → func RunUpdateValidationForEachVersion(*testing.T, *runtime.Scheme, []string, runtime.Object, runtime.Object, VersionValidationRunner, ...string) - changed:
func RunValidationForEachVersion(*testing.T, *runtime.Scheme, sets.Set[string], runtime.Object, VersionValidationRunner) → func RunValidationForEachVersion(*testing.T, *runtime.Scheme, []string, runtime.Object, VersionValidationRunner, ...string)
- added:
field ExternalSimple.TestString: string - added:
field ExternalSimple.TypeMeta: embedded runtime.TypeMeta - added:
method ExternalSimple.DeepCopy() *ExternalSimple - added:
method ExternalSimple.DeepCopyInto(*ExternalSimple) - added:
method ExternalSimple.DeepCopyObject() runtime.Object - added:
type ExternalSimple: struct
- removed:
func IgnoreUnset() cmp.Option - removed:
func ObjectDiff(interface{}, interface{}) string - removed:
func ObjectGoPrintDiff(interface{}, interface{}) string - removed:
func ObjectReflectDiff(interface{}, interface{}) string - removed:
func StringDiff(string, string) string - added:
func Diff(any, any) string
- added:
func NewSchemeTypeConverter(*runtime.Scheme, *typed.Parser) TypeConverter