Skip to content
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 #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 23, 2022

This PR contains the following updates:

Package Type Update Change
k8s-openapi dependencies minor 0.14.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:

  • 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-common dependency to the new version.

v0.22.0

Compare Source

k8s-openapi

  • BREAKING CHANGE: Added support for Kubernetes 1.30 under the v1_30 feature.

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-common dependency to the new version.

v0.21.1

Compare Source

k8s-openapi

  • BUGFIX: Fix schemars::JsonSchema impl of k8s_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:

  • 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-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:

  • 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

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 like ListOptional and ResponseBody 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:

  • 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_operation and 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

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 features earliest and latest, which select the earliest and latest supported version. For example, in this release, earliest is equivalent to v1_20 and latest is equivalent to v1_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

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 the x-kubernetes-list-map-keys, x-kubernetes-list-type, x-kubernetes-map-type, x-kubernetes-patch-merge-key and x-kubernetes-patch-strategy annotations into account when generating the DeepMerge impls.

    For example, in v0.17.0, PodSpec::merge_from would append entries into self.containers, whereas now it does a "list-map" strategy to replace containers with the same name.

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::DeepMerge impls now takes merge strategy annotations into account.

k8s-openapi-derive

  • No changes.

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 ByteStrings from JSON null. The API server is known to allow these nulls in the ConfigMap::binary_data and Secret::data maps. The deserialization results in an empty ByteString, to match the behavior of the API server when given a null value in the ConfigMap::data map.

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

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 a fn 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 to struct FooSpec, previously the custom derive would generate pub 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::DeepMerge if the impl_deep_merge custom derive attribute is used. Note that this requires you to implement k8s_openapi::DeepMerge on the spec type yourself; the custom derive does not do that.


v0.15.0

Compare Source

k8s-openapi

  • BREAKING CHANGE: The pretty optional parameter has been removed from all operations. Setting this parameter to true would'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 exact and export parameters have been removed from all read operations (eg Pod::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_log had only these three optional parameters, so now that they've been removed such read operations don't have an optional: ReadFooOptional<'_> parameter at all.

  • BREAKING CHANGE: Operation names no longer include the _namespaced part and the resource type name. For example, Pod::read_namespaced_pod is now just Pod::read. The corresponding optional parameters type and response type no longer include the Namespaced part, eg ReadNamespacedPodResponse is now just ReadPodResponse.

  • BREAKING CHANGE: Added support for Kubernetes 1.24 under the v1_24 feature.

  • BREAKING CHANGE: Dropped support for Kubernetes 1.16 and 1.17.

  • FEATURE: The K8S_OPENAPI_ENABLED_VERSION env 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 run cargo 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.

@renovate renovate bot added the dependencies Dependency Upgrades from Renovate Bot label May 23, 2022
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from acb25e3 to 0476bf6 Compare May 23, 2022 23:47
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 3 times, most recently from 678e9e1 to fe2eae7 Compare June 16, 2022 00:00
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from fe2eae7 to 8836334 Compare June 21, 2022 23:23
@renovate renovate bot changed the title fix(deps): update rust crate k8s-openapi to 0.15.0 fix(deps): update Rust crate k8s-openapi to 0.15.0 Jun 27, 2022
@renovate renovate bot changed the title fix(deps): update Rust crate k8s-openapi to 0.15.0 fix(deps): update rust crate k8s-openapi to 0.15.0 Jun 28, 2022
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 4 times, most recently from 0a65307 to 4a2422e Compare July 2, 2022 22:57
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 5 times, most recently from 6e5a064 to 960e5db Compare July 16, 2022 02:24
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 4 times, most recently from 4a4c79a to 159d084 Compare July 25, 2022 22:31
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 3 times, most recently from 5f2569c to d103dcc Compare August 3, 2022 22:04
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 3 times, most recently from db40a8a to 79a8395 Compare August 12, 2022 21:58
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 79a8395 to c7643e6 Compare August 21, 2022 23:17
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 2 times, most recently from b681a77 to 116c6ac Compare August 31, 2022 02:25
@renovate renovate bot changed the title fix(deps): update rust crate k8s-openapi to 0.21.1 fix(deps): update rust crate k8s-openapi to 0.22.0 May 4, 2024
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 4b1b65c to 7a27444 Compare May 8, 2024 04:21
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 7a27444 to 2ac57b1 Compare May 16, 2024 02:24
Copy link
Contributor Author

renovate bot commented May 16, 2024

⚠️ 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
    Updating git repository `https://github.com/WirePact/rust-translator.git`
From https://github.com/WirePact/rust-translator
 * [new ref]         8cd4965caaf601223414132cf904366136998c20 -> refs/commit/8cd4965caaf601223414132cf904366136998c20
 * [new tag]         v1.0.1     -> v1.0.1
 * [new tag]         v1.0.0     -> v1.0.0
    Updating git submodule `https://github.com/envoyproxy/envoy.git`
From https://github.com/envoyproxy/envoy
 * [new ref]             e14f2d9321a8528c0220e6c3db6c34947559dc92 -> refs/commit/e14f2d9321a8528c0220e6c3db6c34947559dc92
 * [new tag]             v1.0.0     -> v1.0.0
 * [new tag]             v1.1.0     -> v1.1.0
 * [new tag]             v1.10.0    -> v1.10.0
 * [new tag]             v1.11.0    -> v1.11.0
 * [new tag]             v1.12.0    -> v1.12.0
 * [new tag]             v1.13.0    -> v1.13.0
 * [new tag]             v1.14.0    -> v1.14.0
 * [new tag]             v1.15.0    -> v1.15.0
 * [new tag]             v1.16.0    -> v1.16.0
 * [new tag]             v1.17.0    -> v1.17.0
 * [new tag]             v1.18.0    -> v1.18.0
 * [new tag]             v1.18.1    -> v1.18.1
 * [new tag]             v1.18.2    -> v1.18.2
 * [new tag]             v1.19.0    -> v1.19.0
 * [new tag]             v1.2.0     -> v1.2.0
 * [new tag]             v1.20.0    -> v1.20.0
 * [new tag]             v1.21.0    -> v1.21.0
 * [new tag]             v1.3.0     -> v1.3.0
 * [new tag]             v1.4.0     -> v1.4.0
 * [new tag]             v1.5.0     -> v1.5.0
 * [new tag]             v1.6.0     -> v1.6.0
 * [new tag]             v1.7.0     -> v1.7.0
 * [new tag]             v1.8.0     -> v1.8.0
 * [new tag]             v1.9.0     -> v1.9.0
    Updating git submodule `https://github.com/googleapis/googleapis`
From https://github.com/googleapis/googleapis
 * [new ref]             cef116753b4dd5f4f600b6dd0d0de5d54eeb384b -> refs/commit/cef116753b4dd5f4f600b6dd0d0de5d54eeb384b
 * [new tag]             common-protos-1_3_1 -> common-protos-1_3_1
    Updating git submodule `https://github.com/WirePact/k8s-pki.git`
From https://github.com/WirePact/k8s-pki
 * [new ref]         ea3d5f8309838bbb985072105a97e4fec6ad7b0d -> refs/commit/ea3d5f8309838bbb985072105a97e4fec6ad7b0d
 * [new tag]         v1.0.0     -> v1.0.0
 * [new tag]         v1.0.1     -> v1.0.1
 * [new tag]         v1.1.0     -> v1.1.0
 * [new tag]         v1.2.0     -> v1.2.0
 * [new tag]         v1.2.1     -> v1.2.1
 * [new tag]         v1.2.2     -> v1.2.2
 * [new tag]         v1.2.3     -> v1.2.3
 * [new tag]         v2.0.0     -> v2.0.0
 * [new tag]         v2.1.0     -> v2.1.0
 * [new tag]         v2.1.1     -> v2.1.1
    Updating git submodule `https://github.com/googleapis/googleapis`
From https://github.com/googleapis/googleapis
 * [new ref]           f8a290120b3a67e652742a221f73778626dc3081 -> refs/commit/f8a290120b3a67e652742a221f73778626dc3081
 * [new tag]           common-protos-1_3_1 -> common-protos-1_3_1
    Updating git submodule `https://github.com/envoyproxy/protoc-gen-validate.git`
From https://github.com/envoyproxy/protoc-gen-validate
 * [new ref]         dfcdc5ea103dda467963fb7079e4df28debcfd28 -> refs/commit/dfcdc5ea103dda467963fb7079e4df28debcfd28
 * [new tag]         v0.0.1     -> v0.0.1
 * [new tag]         v0.0.10    -> v0.0.10
 * [new tag]         v0.0.11    -> v0.0.11
 * [new tag]         v0.0.12    -> v0.0.12
 * [new tag]         v0.0.13    -> v0.0.13
 * [new tag]         v0.0.14    -> v0.0.14
 * [new tag]         v0.0.2     -> v0.0.2
 * [new tag]         v0.0.3     -> v0.0.3
 * [new tag]         v0.0.4     -> v0.0.4
 * [new tag]         v0.0.5     -> v0.0.5
 * [new tag]         v0.0.6     -> v0.0.6
 * [new tag]         v0.0.7     -> v0.0.7
 * [new tag]         v0.0.8     -> v0.0.8
 * [new tag]         v0.0.9     -> v0.0.9
 * [new tag]         v0.1.0     -> v0.1.0
 * [new tag]         v0.2.0-java -> v0.2.0-java
 * [new tag]         v0.3.0-java -> v0.3.0-java
 * [new tag]         v0.4.0     -> v0.4.0
 * [new tag]         v0.4.1     -> v0.4.1
 * [new tag]         v0.5.0     -> v0.5.0
 * [new tag]         v0.5.1     -> v0.5.1
 * [new tag]         v0.6.0     -> v0.6.0
 * [new tag]         v0.6.1     -> v0.6.1
 * [new tag]         v0.6.1-java -> v0.6.1-java
 * [new tag]         v0.6.2     -> v0.6.2
 * [new tag]         v0.6.2-java -> v0.6.2-java
 * [new tag]         v0.6.3     -> v0.6.3
 * [new tag]         v0.6.3-java -> v0.6.3-java
 * [new tag]         v0.6.4     -> v0.6.4
 * [new tag]         v0.6.5     -> v0.6.5
 * [new tag]         v0.6.6     -> v0.6.6
 * [new tag]         v0.6.7     -> v0.6.7
 * [new tag]         v0.6.7-java -> v0.6.7-java
    Updating git submodule `https://github.com/cncf/udpa.git`
From https://github.com/cncf/udpa
 * [new ref]         c52dc94e7fbe6449d8465faaeda22c76ca62d4ff -> refs/commit/c52dc94e7fbe6449d8465faaeda22c76ca62d4ff
 * [new tag]         v0.0.1     -> v0.0.1
error: failed to select a version for `k8s-openapi`.
    ... required by package `k8s-basic-auth-translator v0.0.0-development (/tmp/renovate/repos/github/WirePact/k8s-basic-auth-translator)`
versions that meet the requirements `^0.23.0` are: 0.23.0

the package `k8s-basic-auth-translator` 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

@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 2 times, most recently from 3d83f79 to 37d8a5e Compare May 26, 2024 00:36
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 37d8a5e to a270775 Compare May 31, 2024 01:59
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 2 times, most recently from e80be8c to 52163b1 Compare June 17, 2024 21:49
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 52163b1 to 9ab0ffe Compare June 28, 2024 23:11
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 9ab0ffe to e270a0c Compare July 7, 2024 00:39
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 4 times, most recently from 2c04817 to 3ca63a4 Compare July 24, 2024 00:38
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 3 times, most recently from a8ad3b7 to 1d86400 Compare July 27, 2024 22:52
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 3 times, most recently from 6616a43 to d2eee1a Compare August 13, 2024 00:59
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch 2 times, most recently from d64ed5f to fef281d Compare August 18, 2024 01:55
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from fef281d to 73c5bb1 Compare August 25, 2024 01:16
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 73c5bb1 to c8661fb Compare September 6, 2024 04:00
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from c8661fb to 4414687 Compare September 16, 2024 06:35
@renovate renovate bot changed the title fix(deps): update rust crate k8s-openapi to 0.22.0 fix(deps): update rust crate k8s-openapi to 0.23.0 Sep 16, 2024
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 4414687 to 6f72ca0 Compare September 16, 2024 21:05
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 6f72ca0 to 0b10f36 Compare September 17, 2024 01:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Dependency Upgrades from Renovate Bot
Development

Successfully merging this pull request may close these issues.

0 participants