This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
fix(deps): update rust crate k8s-openapi to 0.23.0 #196
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.15.0
->0.23.0
Release Notes
Arnavion/k8s-openapi (k8s-openapi)
v0.23.0
Compare Source
BREAKING CHANGE: Added support for Kubernetes 1.31 under the
v1_31
feature.BREAKING CHANGE: Dropped support for Kubernetes 1.24 and 1.25.
Corresponding Kubernetes API server versions:
k8s-openapi-codegen-common
k8s-openapi-derive
k8s-openapi-codegen-common
dependency to the new version.v0.22.0
Compare Source
k8s-openapi
v1_30
feature.Corresponding Kubernetes API server versions:
k8s-openapi-codegen-common
k8s-openapi-derive
k8s-openapi-codegen-common
dependency to the new version.v0.21.1
Compare Source
k8s-openapi
schemars::JsonSchema
impl ofk8s_openapi::apimachinery::pkg::util::intstr::IntOrString
to be in line with what Kubernetes expects of int-or-string fields in CRDs.Corresponding Kubernetes API server versions:
k8s-openapi-codegen-common
k8s-openapi-derive
k8s-openapi-codegen-common
dependency to the new version.v0.21.0
Compare Source
k8s-openapi
BREAKING CHANGE: Added support for Kubernetes 1.29 under the
v1_29
feature.BREAKING CHANGE: Dropped support for Kubernetes 1.22 and 1.23.
Corresponding Kubernetes API server versions:
k8s-openapi-codegen-common
k8s-openapi-derive
v0.20.0
Compare Source
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 likeListOptional
andResponseBody
have also been removed. See https://github.com/Arnavion/k8s-openapi/issues/149 for more details.BREAKING CHANGE: Added support for Kubernetes 1.28 under the
v1_28
feature.BREAKING CHANGE: Dropped support for Kubernetes 1.20 and 1.21.
Corresponding Kubernetes API server versions:
k8s-openapi-codegen-common
write_operation
and other things related to emitting API operations have been removed.k8s-openapi-derive
v0.19.0
Compare Source
k8s-openapi
BREAKING CHANGE: Added support for Kubernetes 1.27 under the
v1_27
feature.FEATURE: The
k8s-openapi
now has two additional Cargo featuresearliest
andlatest
, which select the earliest and latest supported version. For example, in this release,earliest
is equivalent tov1_20
andlatest
is equivalent tov1_27
.Corresponding Kubernetes API server versions:
k8s-openapi-codegen-common
k8s-openapi-derive
v0.18.0
Compare Source
k8s-openapi
BREAKING CHANGE: The
k8s_openapi::DeepMerge
trait 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-key
andx-kubernetes-patch-strategy
annotations into account when generating theDeepMerge
impls.For example, in v0.17.0,
PodSpec::merge_from
would append entries intoself.containers
, whereas now it does a "list-map" strategy to replace containers with the samename
.Corresponding Kubernetes API server versions:
k8s-openapi-codegen-common
k8s_openapi::DeepMerge
impls now takes merge strategy annotations into account.k8s-openapi-derive
v0.17.0
Compare Source
k8s-openapi
BREAKING CHANGE: Added support for Kubernetes 1.26 under the
v1_26
feature.BREAKING CHANGE: Dropped support for Kubernetes 1.18 and 1.19.
FEATURE: Allow deserializing non-optional
ByteString
s from JSONnull
. The API server is known to allow thesenull
s in theConfigMap::binary_data
andSecret::data
maps. The deserialization results in an emptyByteString
, to match the behavior of the API server when given anull
value in theConfigMap::data
map.Corresponding Kubernetes API server versions:
k8s-openapi-codegen-common
k8s-openapi-derive
v0.16.0
Compare Source
k8s-openapi
BREAKING CHANGE: Added support for Kubernetes 1.25 under the
v1_25
feature.FEATURE: All spec types now implement a deep-merge API via a
DeepMerge
trait impl with afn merge_from(&mut self, other: Self)
method. This is useful for builder-like operations.Corresponding Kubernetes API server versions:
k8s-openapi-codegen-common
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::DeepMerge
if theimpl_deep_merge
custom derive attribute is used. Note that this requires you to implementk8s_openapi::DeepMerge
on the spec type yourself; the custom derive does not do that.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.
This PR was generated by Mend Renovate. View the repository job log.