bottlerocket-update-operator
bottlerocket-update-operator copied to clipboard
Bump k8s-openapi from 0.14.0 to 0.16.0
Bumps k8s-openapi from 0.14.0 to 0.16.0.
Release notes
Sourced from k8s-openapi's releases.
v0.16.0
k8s-openapi
BREAKING CHANGE: Added support for Kubernetes 1.25 under the
v1_25feature.FEATURE: All spec types now implement a deep-merge API via a
DeepMergetrait impl with afn merge_from(&mut self, other: Self)method. This is useful for builder-like operations.Corresponding Kubernetes API server versions:
- v1.18.20
- v1.19.16
- v1.20.15
- v1.21.14
- v1.22.14
- v1.23.11
- v1.24.5
- v1.25.1
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
BREAKING CHANGE:
#[derive(CustomResourceDefinition)]no longer generates a list type alias. For example, when applied tostruct FooSpec, previously the custom derive would generatepub type FooList = k8s_openapi::List<Foo>;It no longer does this, in accordance with the main k8s-openapi crate where such aliases were removed back in v0.7.0FEATURE: The generated custom resource type will implement
k8s_openapi::DeepMergeif theimpl_deep_mergecustom derive attribute is used. Note that this requires you to implementk8s_openapi::DeepMergeon the spec type yourself; the custom derive does not do that.v0.15.0 (2022-05-22)
k8s-openapi
BREAKING CHANGE: The
prettyoptional parameter has been removed from all operations. Setting this parameter totruewould've made the API server pretty-print the JSON response, which is meaningless for a programmatic client.BREAKING CHANGE: In addition to the previous change, the
exactandexportparameters have been removed from all read operations (egPod::read_namespaced_pod). These parameters were removed in Kubernetes v1.21 and were known to be broken before that, and would've caused the server response to not be able to be parsed correctly via the operation's response type anyway.All read operations with the exception of
Pod::read_namespaced_pod_loghad only these three optional parameters, so now that they've been removed such read operations don't have anoptional: ReadFooOptional<'_>parameter at all.BREAKING CHANGE: Operation names no longer include the
_namespacedpart and the resource type name. For example,Pod::read_namespaced_podis now justPod::read. The corresponding optional parameters type and response type no longer include theNamespacedpart, egReadNamespacedPodResponseis now justReadPodResponse.BREAKING CHANGE: Added support for Kubernetes 1.24 under the
v1_24feature.BREAKING CHANGE: Dropped support for Kubernetes 1.16 and 1.17.
FEATURE: The
K8S_OPENAPI_ENABLED_VERSIONenv var can now be set at build time to enable a specific API version, just like enabling a specific version feature would've done. This is only meant to be used by library developers who want to runcargo check,cargo doc, etc commands, for which the previous advice of enabling a version feature via a dev dependency would not work.Corresponding Kubernetes API server versions:
- v1.18.20
- v1.19.16
- v1.20.15
... (truncated)
Changelog
Sourced from k8s-openapi's changelog.
v0.16.0 (2022-09-15)
k8s-openapi
BREAKING CHANGE: Added support for Kubernetes 1.25 under the
v1_25feature.FEATURE: All spec types now implement a deep-merge API via a
DeepMergetrait impl with afn merge_from(&mut self, other: Self)method. This is useful for builder-like operations.Corresponding Kubernetes API server versions:
- v1.18.20
- v1.19.16
- v1.20.15
- v1.21.14
- v1.22.14
- v1.23.11
- v1.24.5
- v1.25.1
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
BREAKING CHANGE:
#[derive(CustomResourceDefinition)]no longer generates a list type alias. For example, when applied tostruct FooSpec, previously the custom derive would generatepub type FooList = k8s_openapi::List<Foo>;It no longer does this, in accordance with the main k8s-openapi crate where such aliases were removed back in v0.7.0FEATURE: The generated custom resource type will implement
k8s_openapi::DeepMergeif theimpl_deep_mergecustom derive attribute is used. Note that this requires you to implementk8s_openapi::DeepMergeon the spec type yourself; the custom derive does not do that.
v0.15.0 (2022-05-22)
k8s-openapi
BREAKING CHANGE: The
prettyoptional parameter has been removed from all operations. Setting this parameter totruewould've made the API server pretty-print the JSON response, which is meaningless for a programmatic client.BREAKING CHANGE: In addition to the previous change, the
exactandexportparameters have been removed from all read operations (egPod::read_namespaced_pod). These parameters were removed in Kubernetes v1.21 and were known to be broken before that, and would've caused the server response to not be able to be parsed correctly via the operation's response type anyway.All read operations with the exception of
Pod::read_namespaced_pod_loghad only these three optional parameters, so now that they've been removed such read operations don't have anoptional: ReadFooOptional<'_>parameter at all.BREAKING CHANGE: Operation names no longer include the
_namespacedpart and the resource type name. For example,Pod::read_namespaced_podis now justPod::read. The corresponding optional parameters type and response type no longer include theNamespacedpart, egReadNamespacedPodResponseis now justReadPodResponse.BREAKING CHANGE: Added support for Kubernetes 1.24 under the
v1_24feature.BREAKING CHANGE: Dropped support for Kubernetes 1.16 and 1.17.
FEATURE: The
K8S_OPENAPI_ENABLED_VERSIONenv var can now be set at build time to enable a specific API version, just like enabling a specific version feature would've done. This is only meant to be used by library developers who want to runcargo check,cargo doc, etc commands, for which the previous advice of enabling a version feature via a dev dependency would not work.Corresponding Kubernetes API server versions:
... (truncated)
Commits
521ff73v0.16.0925f6adFix typo in doc comment.614f52bTest v1.25 in CI.f3b2245Update to v1.22.14, v1.25.12dd7dc1Update to v1.23.11, v1.24.5dff8e1cUpdate serde_yaml to v0.91a29d5eUpdate to kind v0.15.07901186Add v1.25.039ea204Replace somevec![...].into_iter().collect::\<BTreeMap>()with[...].into()a51089fUpdate to v1.24.4- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)