fix(deps): update rust crate k8s-openapi to 0.26.0
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| k8s-openapi | dependencies | minor | 0.14.0 → 0.26.0 |
Release Notes
Arnavion/k8s-openapi (k8s-openapi)
v0.26.1
k8s-openapi
- BUGFIX:
apimachinery::pkg::api::resource::Quantitynow supports deserializing from a JSON integer, to match Kubernetes API server behavior.
Corresponding Kubernetes API server versions:
- v1.30.14
- v1.31.14
- v1.32.10
- v1.33.7
- v1.34.3
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
- No changes except to bump the
k8s-openapi-codegen-commondependency to the new version.
v0.26.0
k8s-openapi
-
BREAKING CHANGE: Added support for Kubernetes 1.34 under the
v1_34feature. -
BREAKING CHANGE:
schemars::JsonSchemaimpls are now generated for schemars v1.
Corresponding Kubernetes API server versions:
- v1.30.14
- v1.31.12
- v1.32.8
- v1.33.4
- v1.34.0
k8s-openapi-codegen-common
- BREAKING CHANGE:
schemars::JsonSchemaimpls are now generated for schemars v1.
k8s-openapi-derive
- No changes except to bump the
k8s-openapi-codegen-commondependency to the new version.
v0.25.0
k8s-openapi
-
BREAKING CHANGE: Added support for Kubernetes 1.33 under the
v1_33feature. -
BREAKING CHANGE: Dropped support for Kubernetes 1.28 and 1.29.
-
FEATURE: The crate now supports
no_stdby disabling itsstdfeature.
Corresponding Kubernetes API server versions:
- v1.30.12
- v1.31.8
- v1.32.4
- v1.33.0
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
- No changes except to bump the
k8s-openapi-codegen-commondependency to the new version.
v0.24.0
k8s-openapi
-
BREAKING CHANGE: Added support for Kubernetes 1.32 under the
v1_32feature. -
BREAKING CHANGE: Dropped support for Kubernetes 1.26 and 1.27.
Corresponding Kubernetes API server versions:
- v1.28.15
- v1.29.12
- v1.30.8
- v1.31.4
- v1.32.0
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
- No changes except to bump the
k8s-openapi-codegen-commondependency to the new version.
v0.23.0
k8s-openapi
-
BREAKING CHANGE: Added support for Kubernetes 1.31 under the
v1_31feature. -
BREAKING CHANGE: Dropped support for Kubernetes 1.24 and 1.25.
Corresponding Kubernetes API server versions:
- v1.26.15
- v1.27.16
- v1.28.14
- v1.29.9
- v1.30.5
- v1.31.1
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
- No changes except to bump the
k8s-openapi-codegen-commondependency to the new version.
v0.22.0
k8s-openapi
- BREAKING CHANGE: Added support for Kubernetes 1.30 under the
v1_30feature.
Corresponding Kubernetes API server versions:
- v1.24.17
- v1.25.16
- v1.26.15
- v1.27.13
- v1.28.9
- v1.29.4
- v1.30.0
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
- No changes except to bump the
k8s-openapi-codegen-commondependency to the new version.
v0.21.1
k8s-openapi
- BUGFIX: Fix
schemars::JsonSchemaimpl ofk8s_openapi::apimachinery::pkg::util::intstr::IntOrStringto be in line with what Kubernetes expects of int-or-string fields in CRDs.
Corresponding Kubernetes API server versions:
- v1.24.17
- v1.25.16
- v1.26.14
- v1.27.11
- v1.28.7
- v1.29.2
k8s-openapi-codegen-common
- BUGFIX: See the bugfix mentioned above.
k8s-openapi-derive
- No changes except to bump the
k8s-openapi-codegen-commondependency to the new version.
v0.21.0
k8s-openapi
-
BREAKING CHANGE: Added support for Kubernetes 1.29 under the
v1_29feature. -
BREAKING CHANGE: Dropped support for Kubernetes 1.22 and 1.23.
Corresponding Kubernetes API server versions:
- v1.24.17
- v1.25.16
- v1.26.13
- v1.27.10
- v1.28.6
- v1.29.1
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
- No changes.
v0.20.0
k8s-openapi
-
BREAKING CHANGE: This release removes all associated methods of resource types that mapped API operations. For example, there is no more
fn api::core::v1::Pod::list(), and all types related to API operations likeListOptionalandResponseBodyhave also been removed. See #149 for more details. -
BREAKING CHANGE: Added support for Kubernetes 1.28 under the
v1_28feature. -
BREAKING CHANGE: Dropped support for Kubernetes 1.20 and 1.21.
Corresponding Kubernetes API server versions:
- v1.22.17
- v1.23.17
- v1.24.17
- v1.25.13
- v1.26.8
- v1.27.5
- v1.28.1
k8s-openapi-codegen-common
- BREAKING CHANGE:
write_operationand other things related to emitting API operations have been removed.
k8s-openapi-derive
- BREAKING CHANGE: The generated resource type no longer has associated clientset methods for listing etc.
v0.19.0
k8s-openapi
-
BREAKING CHANGE: Added support for Kubernetes 1.27 under the
v1_27feature. -
FEATURE: The
k8s-openapinow has two additional Cargo featuresearliestandlatest, which select the earliest and latest supported version. For example, in this release,earliestis equivalent tov1_20andlatestis equivalent tov1_27.
Corresponding Kubernetes API server versions:
- v1.20.15
- v1.21.14
- v1.22.17
- v1.23.17
- v1.24.16
- v1.25.12
- v1.26.7
- v1.27.4
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
- No changes.
v0.18.0
k8s-openapi
-
BREAKING CHANGE: The
k8s_openapi::DeepMergetrait and its impls on this crate's types now have semantics in line with merge strategies in Kubernetes. Specifically, the code generator now takes thex-kubernetes-list-map-keys,x-kubernetes-list-type,x-kubernetes-map-type,x-kubernetes-patch-merge-keyandx-kubernetes-patch-strategyannotations into account when generating theDeepMergeimpls.For example, in v0.17.0,
PodSpec::merge_fromwould append entries intoself.containers, whereas now it does a "list-map" strategy to replace containers with the samename.
Corresponding Kubernetes API server versions:
- v1.20.15
- v1.21.14
- v1.22.17
- v1.23.17
- v1.24.12
- v1.25.8
- v1.26.3
k8s-openapi-codegen-common
- BREAKING CHANGE: As mentioned above, the generated code for
k8s_openapi::DeepMergeimpls now takes merge strategy annotations into account.
k8s-openapi-derive
- No changes.
v0.17.0
k8s-openapi
-
BREAKING CHANGE: Added support for Kubernetes 1.26 under the
v1_26feature. -
BREAKING CHANGE: Dropped support for Kubernetes 1.18 and 1.19.
-
FEATURE: Allow deserializing non-optional
ByteStrings from JSONnull. The API server is known to allow thesenulls in theConfigMap::binary_dataandSecret::datamaps. The deserialization results in an emptyByteString, to match the behavior of the API server when given anullvalue in theConfigMap::datamap.
Corresponding Kubernetes API server versions:
- v1.20.15
- v1.21.14
- v1.22.17
- v1.23.15
- v1.24.9
- v1.25.5
- v1.26.0
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
- No changes.
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.0 -
FEATURE: 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
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
- v1.21.12
- v1.22.9
- v1.23.6
- v1.24.0
k8s-openapi-codegen-common
- No changes.
k8s-openapi-derive
- No changes.
Configuration
📅 Schedule: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
Updating crates.io index
error: failed to select a version for `k8s-openapi`.
... required by package `kuby v0.0.0-development (/tmp/renovate/repos/github/smartive/kuby)`
versions that meet the requirements `^0.22.0` are: 0.22.0
the package `kuby` depends on `k8s-openapi`, with features: `v1_22` but `k8s-openapi` does not have these features.
failed to select a version for `k8s-openapi` which could resolve this conflict