Skip to content

Upgrading k8s.io/apimachinery 0.36 to 0.37

Unknownv0.36.6 → v0.37.2

Fetching 10 releases from GitHub…9 / 10
UnknownUpgrade verdict

DepDelta is still reading the notes for 1 of 10 releases, so breaking changes can't be ruled out yet.

  • 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.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published Go source. Not mixed with prose notes.

  • added: field PriorityRESTMapperWithContext.Delegate: RESTMapperWithContext
  • added: field PriorityRESTMapperWithContext.KindPriority: []schema.GroupVersionKind
  • added: field PriorityRESTMapperWithContext.ResourcePriority: []schema.GroupVersionResource
  • added: func MaybeResetRESTMapperWithContext(context.Context, RESTMapperWithContext)
  • added: func ToMultiRESTMapperWithContext(MultiRESTMapper) MultiRESTMapperWithContext
  • added: func ToPriorityRESTMapperWithContext(PriorityRESTMapper) PriorityRESTMapperWithContext
  • added: func ToRESTMapperWithContext(RESTMapper) RESTMapperWithContext
  • added: func ToResettableRESTMapperWithContext(ResettableRESTMapper) ResettableRESTMapperWithContext
  • added: method DefaultRESTMapper.KindForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionKind, error)
  • added: method DefaultRESTMapper.KindsForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
  • added: method DefaultRESTMapper.RESTMappingWithContext(context.Context, schema.GroupKind, ...string) (*RESTMapping, error)
  • added: method DefaultRESTMapper.RESTMappingsWithContext(context.Context, schema.GroupKind, ...string) ([]*RESTMapping, error)
  • added: method DefaultRESTMapper.ResourceForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionResource, error)
  • added: method DefaultRESTMapper.ResourceSingularizerWithContext(context.Context, string) (string, error)
  • added: method DefaultRESTMapper.ResourcesForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
  • added: method MultiRESTMapperWithContext.KindForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionKind, error)
  • added: method MultiRESTMapperWithContext.KindsForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
  • added: method MultiRESTMapperWithContext.RESTMappingWithContext(context.Context, schema.GroupKind, ...string) (*RESTMapping, error)
  • added: method MultiRESTMapperWithContext.RESTMappingsWithContext(context.Context, schema.GroupKind, ...string) ([]*RESTMapping, error)
  • added: method MultiRESTMapperWithContext.ResetWithContext(context.Context)
  • added: method MultiRESTMapperWithContext.ResourceForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionResource, error)
  • added: method MultiRESTMapperWithContext.ResourceSingularizerWithContext(context.Context, string) (string, error)
  • added: method MultiRESTMapperWithContext.ResourcesForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
  • added: method MultiRESTMapperWithContext.String() string
  • added: method PriorityRESTMapperWithContext.KindForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionKind, error)
  • added: method PriorityRESTMapperWithContext.KindsForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
  • added: method PriorityRESTMapperWithContext.RESTMappingWithContext(context.Context, schema.GroupKind, ...string) (*RESTMapping, error)
  • added: method PriorityRESTMapperWithContext.RESTMappingsWithContext(context.Context, schema.GroupKind, ...string) ([]*RESTMapping, error)
  • added: method PriorityRESTMapperWithContext.ResetWithContext(context.Context)
  • added: method PriorityRESTMapperWithContext.ResourceForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionResource, error)
  • added: method PriorityRESTMapperWithContext.ResourceSingularizerWithContext(context.Context, string) (string, error)
  • added: method PriorityRESTMapperWithContext.ResourcesForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
  • added: method PriorityRESTMapperWithContext.String() string
  • added: method RESTMapperWithContext.KindForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionKind, error)
  • added: method RESTMapperWithContext.KindsForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
  • added: method RESTMapperWithContext.RESTMappingWithContext(context.Context, schema.GroupKind, ...string) (*RESTMapping, error)
  • added: method RESTMapperWithContext.RESTMappingsWithContext(context.Context, schema.GroupKind, ...string) ([]*RESTMapping, error)
  • added: method RESTMapperWithContext.ResourceForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionResource, error)
  • added: method RESTMapperWithContext.ResourceSingularizerWithContext(context.Context, string) (string, error)
  • added: method RESTMapperWithContext.ResourcesForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
  • added: method ResettableRESTMapperWithContext.KindForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionKind, error)
  • added: method ResettableRESTMapperWithContext.KindsForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
  • added: method ResettableRESTMapperWithContext.RESTMappingWithContext(context.Context, schema.GroupKind, ...string) (*RESTMapping, error)
  • added: method ResettableRESTMapperWithContext.RESTMappingsWithContext(context.Context, schema.GroupKind, ...string) ([]*RESTMapping, error)
  • added: method ResettableRESTMapperWithContext.ResetWithContext(context.Context)
  • added: method ResettableRESTMapperWithContext.ResourceForWithContext(context.Context, schema.GroupVersionResource) (schema.GroupVersionResource, error)
  • added: method ResettableRESTMapperWithContext.ResourceSingularizerWithContext(context.Context, string) (string, error)
  • added: method ResettableRESTMapperWithContext.ResourcesForWithContext(context.Context, schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
  • added: type MultiRESTMapperWithContext: []RESTMapperWithContext
  • added: type PriorityRESTMapperWithContext: struct
  • added: type RESTMapperWithContext: interface
  • added: type ResettableRESTMapperWithContext: interface{RESTMapperWithContext}
  • changed: field Operation.Options: []string → field Operation.Options: map[string]bool
  • changed: method Operation.HasOption(string) bool → method Operation.HasOption(string) (bool, bool)
  • added: func QuantityPtrEqual(*Quantity, *Quantity) bool
  • removed: func DirectEqualPtr[T comparable](*T, *T) bool
  • removed: func EachSliceVal[T any](context.Context, operation.Operation, *field.Path, []T, []T, MatchFunc[T], MatchFunc[T], ValidateFunc[*T]) field.ErrorList
  • removed: 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
  • removed: func Unique[T any](context.Context, operation.Operation, *field.Path, []T, []T, MatchFunc[T]) field.ErrorList
  • removed: type MatchItemFn: [T any] func(*T) bool
  • changed: func DirectEqual[T comparable](T, T) bool → func DirectEqual[T comparable](*T, *T) bool
  • changed: func EachMapVal[K ~string, V any](context.Context, operation.Operation, *field.Path, map[K]V, map[K]V, MatchFunc[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 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 → 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
  • added: const NoAddItem: UpdateConstraint
  • added: const NoRemoveItem: UpdateConstraint
  • added: func AllDeclarativeEnforced(context.Context) bool
  • added: func DependentForbidden[T any](context.Context, operation.Operation, *field.Path, *T, *T, string, ExtractorFn[*T, bool], string, ExtractorFn[*T, bool]) field.ErrorList
  • added: func DependentRequired[T any](context.Context, operation.Operation, *field.Path, *T, *T, string, ExtractorFn[*T, bool], string, ExtractorFn[*T, bool]) field.ErrorList
  • added: func EachPtrSliceVal[T any](context.Context, operation.Operation, *field.Path, []*T, []*T, MatchFunc[*T], MatchFunc[*T], ValidateFunc[*T]) field.ErrorList
  • added: func EachValSliceVal[T any](context.Context, operation.Operation, *field.Path, []T, []T, MatchFunc[*T], MatchFunc[*T], ValidateFunc[*T]) field.ErrorList
  • added: func FilterCoveredHandwrittenErrors(context.Context, field.ErrorList, field.ErrorList, bool, ...field.NormalizationRule) field.ErrorList
  • added: func FilterEnforcedDeclarativeErrors(context.Context, field.ErrorList, bool) field.ErrorList
  • added: func MaxProperties[K comparable, V any](context.Context, operation.Operation, *field.Path, map[K]V, map[K]V, int) field.ErrorList
  • added: func MinProperties[K comparable, V any](context.Context, operation.Operation, *field.Path, map[K]V, map[K]V, int) field.ErrorList
  • added: func Monotonic[T constraints.Integer](context.Context, operation.Operation, *field.Path, *T, *T) field.ErrorList
  • added: func PrefixedLabelKey[T ~string](context.Context, operation.Operation, *field.Path, *T, *T) field.ErrorList
  • added: func PtrSliceItem[TList ~[]*TItem, TItem any](context.Context, operation.Operation, *field.Path, TList, TList, MatchItemFunc[*TItem], MatchFunc[*TItem], func(ctx context.Context, op operation.Operation, fldPath *field.Path, newObj, oldObj *TItem) field.ErrorList) field.ErrorList
  • added: func PtrSliceNoNils[T any](context.Context, operation.Operation, *field.Path, []*T, []*T) (field.ErrorList)
  • added: func PtrSliceUnique[T any](context.Context, operation.Operation, *field.Path, []*T, []*T, MatchFunc[*T]) field.ErrorList
  • added: func PtrSliceUpdate[T any](context.Context, operation.Operation, *field.Path, []*T, []*T, MatchFunc[*T], ...UpdateConstraint) field.ErrorList
  • added: func UpdateMap[K comparable, V any](context.Context, operation.Operation, *field.Path, map[K]V, map[K]V, ...UpdateConstraint) field.ErrorList
  • added: func ValSliceItem[TList ~[]TItem, TItem any](context.Context, operation.Operation, *field.Path, TList, TList, MatchItemFunc[*TItem], MatchFunc[*TItem], func(ctx context.Context, op operation.Operation, fldPath *field.Path, newObj, oldObj *TItem) field.ErrorList) field.ErrorList
  • added: func ValSliceUnique[T any](context.Context, operation.Operation, *field.Path, []T, []T, MatchFunc[*T]) field.ErrorList
  • added: func ValSliceUpdate[T any](context.Context, operation.Operation, *field.Path, []T, []T, MatchFunc[*T], ...UpdateConstraint) field.ErrorList
  • added: func WithAllDeclarativeEnforcedForTest(context.Context) context.Context
  • added: type MatchItemFunc: [T any] func(T) bool
  • added: func IsPrefixedLabelKey(string) []string
  • added: func ValidateObjectMetaDeclaratively(context.Context, operation.Type, *metav1.ObjectMeta, *metav1.ObjectMeta, bool, ValidateNameFunc, *field.Path, bool) field.ErrorList
  • changed: func ValidateManagedFields([]metav1.ManagedFieldsEntry, *field.Path) field.ErrorList → func ValidateManagedFields([]metav1.ManagedFieldsEntry, *field.Path, ...ManagedFieldsValidationOption) field.ErrorList
  • added: const CoveredByDeclarative: ManagedFieldsValidationOption
  • added: func IsValidConditionReason(string) []string
  • added: func ValidateCustom_Condition_LastTransitionTime(context.Context, operation.Operation, *field.Path, *metav1.Time, *metav1.Time) field.ErrorList
  • added: func Validate_Condition(context.Context, operation.Operation, *field.Path, *v1.Condition, *v1.Condition) (field.ErrorList)
  • added: func Validate_ConditionStatus(context.Context, operation.Operation, *field.Path, *v1.ConditionStatus, *v1.ConditionStatus) (field.ErrorList)
  • added: func Validate_ManagedFieldsEntry(context.Context, operation.Operation, *field.Path, *v1.ManagedFieldsEntry, *v1.ManagedFieldsEntry) (field.ErrorList)
  • added: func Validate_ManagedFieldsOperationType(context.Context, operation.Operation, *field.Path, *v1.ManagedFieldsOperationType, *v1.ManagedFieldsOperationType) (field.ErrorList)
  • added: func Validate_ObjectMeta(context.Context, operation.Operation, *field.Path, *v1.ObjectMeta, *v1.ObjectMeta) (field.ErrorList)
  • added: func Validate_OwnerReference(context.Context, operation.Operation, *field.Path, *v1.OwnerReference, *v1.OwnerReference) (field.ErrorList)
  • added: type ManagedFieldsValidationOption: int
  • removed: func JSONKeyMapper(string, reflect.StructTag, reflect.StructTag) (string, string)
  • changed: func ParseDocumentationFrom(string) []KubeTypes → func ParseDocumentationFrom(string) ([]KubeTypes, error)
  • changed: func UseNondeterministicEncoding(Encoder) Encoder → func UseNondeterministicEncoding(Serializer) Encoder
  • changed: method Scheme.Validate(context.Context, []string, Object, ...string) field.ErrorList → method Scheme.Validate(context.Context, map[string]bool, Object, ...string) field.ErrorList
  • changed: method Scheme.ValidateUpdate(context.Context, []string, Object, Object, ...string) field.ErrorList → method Scheme.ValidateUpdate(context.Context, map[string]bool, Object, Object, ...string) field.ErrorList
  • added: method Scheme.HasValidationFunc(Object) bool
  • added: func StreamingCollectionsEncoding(bool) Option
  • changed: func RunUpdateValidationForEachVersion(*testing.T, *runtime.Scheme, []string, runtime.Object, runtime.Object, VersionValidationRunner, bool, ...string) → func RunUpdateValidationForEachVersion(*testing.T, *runtime.Scheme, map[string]bool, runtime.Object, runtime.Object, VersionValidationRunner, bool, ...string)
  • changed: func RunValidationForEachVersion(*testing.T, *runtime.Scheme, []string, runtime.Object, VersionValidationRunner, bool, ...string) → func RunValidationForEachVersion(*testing.T, *runtime.Scheme, map[string]bool, runtime.Object, VersionValidationRunner, bool, ...string)
  • added: method ExternalSimple.OpenAPIModelName() string
  • added: field Rule.ErrorType: string
  • added: field Rule.Origin: string
  • added: func AssertDeclarativeCoverage() error
  • added: func RecordObservedRules(schema.GroupVersionKind, field.ErrorList)
  • added: func RegisterDeclaredRules(schema.GroupVersionKind, FieldRules)
  • added: type FieldRules: map[string][]Rule
  • added: type Rule: struct
  • added: field Error.ShortCircuit: bool
  • added: field Error.ShortCircuitedInDeclarative: bool
  • added: method Error.MarkShortCircuitedInDV() *Error
  • added: method ErrorList.MarkShortCircuit() ErrorList
  • added: method ErrorMatcher.MatchAncestorShortCircuit() ErrorMatcher
  • added: method ErrorMatcher.MatchShortCircuit() ErrorMatcher