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 #101

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 15, 2022

This PR contains the following updates:

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

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



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 Sep 15, 2022
@renovate renovate bot changed the title fix(deps): update rust crate k8s-openapi to 0.16.0 fix(deps): update rust crate k8s-openapi to 0.17.0 Mar 16, 2023
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from 9ea21a6 to eccb4e1 Compare March 16, 2023 14:08
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from eccb4e1 to f051028 Compare June 4, 2023 23:35
@renovate renovate bot changed the title fix(deps): update rust crate k8s-openapi to 0.17.0 fix(deps): update rust crate k8s-openapi to 0.18.0 Jun 4, 2023
@renovate renovate bot changed the title fix(deps): update rust crate k8s-openapi to 0.18.0 fix(deps): update rust crate k8s-openapi to 0.19.0 Aug 5, 2023
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from f051028 to c922458 Compare August 5, 2023 21:14
@renovate renovate bot changed the title fix(deps): update rust crate k8s-openapi to 0.19.0 fix(deps): update rust crate k8s-openapi to 0.20.0 Sep 8, 2023
@renovate renovate bot changed the title fix(deps): update rust crate k8s-openapi to 0.20.0 fix(deps): update rust crate k8s-openapi to 0.21.0 Jan 20, 2024
Copy link
Contributor Author

renovate bot commented Jan 20, 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: api/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path api/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `k8s-openapi`.
    ... required by package `k8s-contract-repository v0.0.0-development (/tmp/renovate/repos/github/WirePact/k8s-contract-repository/api)`
versions that meet the requirements `^0.22.0` are: 0.22.0

the package `k8s-contract-repository` 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 changed the title fix(deps): update rust crate k8s-openapi to 0.21.0 fix(deps): update rust crate k8s-openapi to 0.21.1 Feb 18, 2024
@renovate renovate bot enabled auto-merge (squash) March 20, 2024 15:16
@renovate renovate bot force-pushed the renovate/k8s-openapi-0.x branch from e897aed to 19a7546 Compare May 4, 2024 22:41
@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 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
Copy link
Contributor Author

renovate bot commented Sep 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: api/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path api/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `k8s-openapi`.
    ... required by package `k8s-contract-repository v0.0.0-development (/tmp/renovate/repos/github/WirePact/k8s-contract-repository/api)`
versions that meet the requirements `^0.23.0` are: 0.23.0

the package `k8s-contract-repository` 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

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