Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate kube to 0.94.0 #232

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

Update Rust crate kube to 0.94.0 #232

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 21, 2024

This PR contains the following updates:

Package Type Update Change
kube dependencies minor 0.87.1 -> 0.94.0

Release Notes

kube-rs/kube (kube)

v0.94.1

Compare Source

===================

What's Changed

Convenience release. Adjusted a version bound to avoid possibility of running into version compatibility errors with hyper-rustls.

Fixed

v0.94.0

Compare Source

===================

v0.93.1

Compare Source

===================

What's Changed

Fixed

v0.93.0

Compare Source

===================

Highlights

Better query validation, better client header customisation, and two new modules:

  1. core::labels module for creating typed label selectors for ListParams or WatchParams. Can be constructed from a native LabelSelector, or directly from a Selector of Expressions. PR.
  2. prelude to simplify imports of extension traits. PR.

A big thank you to everyone who contributed to this release!

What's Changed

Added
Changed
Removed
Fixed

v0.92.1

Compare Source

===================

Bugfix Release

This release fixes #​1524; a regression from 0.92.0 causing watcher to skip pages on initial list. See #​1525.

It is recommended to upgrade from 0.92.0.

What's Changed

Fixed

v0.92.0

Compare Source

===================

Runtime: Decreased Memory Usage from watcher

Buffering of initial pages / init streams is no longer a mandatory process with watcher::Event gaining new Init, InitApply, and InitDone events. These events are read on the store side maintaining the atomicity/completeness guarantees for reflector and Store users.

This constitutes a significant memory decrease for all watcher users, and it has more details in a new kube.rs/blog post.

The downside is a breaking change to watcher::Event. Plain usage of watcher / reflector / Controller should generally not need to change anything, but custom stores / matches on watcher::Event will need an update. If you are writing custom stores, the new signals should be helpful for improved caching.

Thanks to @​fabriziosestito via Kubewarden for https://github.com/kube-rs/kube/pull/1494 . Follow-ups for this feature: https://github.com/kube-rs/kube/pull/1499 and https://github.com/kube-rs/kube/pull/1504.

Client: HTTP Proxy Support

Support is now introduced under the http-proxy feature pulling in hyper-http-proxy complementing the already existing socks5 proxy feature.

Thanks to @​aviramha via MetalBear for the support in https://github.com/kube-rs/kube/pull/1496, with follow-ups https://github.com/kube-rs/kube/pull/1501 + https://github.com/kube-rs/kube/pull/1502

What's Changed

Added
Changed
Fixed

v0.91.0

Compare Source

===================

Kubernetes v1_30 support via k8s-openapi 0.22

Please upgrade k8s-openapi along with kube to avoid conflicts.

Unstable Stream Sharing

A more complete implementation that allows sharing watcher streams between multiple Controllers (for https://github.com/kube-rs/kube/issues/1080) has been added under the unstable-runtime feature-flag in #​1449 and #​1483 by @​mateiidavid. This represents the first usable implementation of shared streams (and replaces the older prototype part in #​1470). While some changes are expected, you can check the shared_stream_controller example for a high-level overview.

What's Changed

Added
Changed
Removed
Fixed

v0.90.0

Compare Source

===================

Highlights

kube::client::Body Improvements
Dependency Cleanups

What's Changed

Added
Changed
Fixed

v0.89.0

Compare Source

Upgrading hyper and http to 1.0 and MSRV to 1.75.0

This release completes the hyper & http ecosystem upgrade #​1351 via #​1438. In particular, this change includes upgrades to http, http-body, tower-http, hyper, hyper-openssl, hyper-rustls, hyper-socks2, hyper-timeout, tame-oauth, tokio-tungstenite, tower-http, rustls, rustls-pemfile, as well as adopting the new hyper_util and http_body_util to make the change.

While this change constitutes significant internal churn (and a new kube::client::Body), our external api remains largely unchanged. Some minor changes are necessary for custom clients, and for integration testing using tower_mock. See the controller-rs upgrade pr or the examples folder in this commit for details.

What's Changed

Added
Changed
Fixed

New Contributors

Full Changelog: kube-rs/kube@0.88.1...0.89.0

v0.88.1

Compare Source

===================

What's Changed

This is a bug fix release for a deserialization issue introduced in 0.88.0.

Fixed

v0.88.0

Compare Source

===================

Kubernetes v1_29 support via k8s-openapi 0.21

Please upgrade k8s-openapi along with kube to avoid conflicts.

What's Changed

Added
Changed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 Pull requests that update a dependency file label Jan 21, 2024
@renovate renovate bot changed the title Update Rust crate kube to 0.88.0 Update Rust crate kube to 0.88.1 Jan 26, 2024
@renovate renovate bot changed the title Update Rust crate kube to 0.88.1 Update Rust crate kube to 0.89.0 Mar 26, 2024
Copy link
Contributor Author

renovate bot commented Mar 26, 2024

⚠ Artifact update problem

Renovate failed to update artifacts 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 sdp-injector/Cargo.toml --workspace
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Updating crates.io index
error: failed to select a version for `tokio`.
    ... required by package `hyper-timeout v0.5.1`
    ... which satisfies dependency `hyper-timeout = "^0.5.1"` of package `kube-client v0.91.0`
    ... which satisfies dependency `kube-client = "=0.91.0"` of package `kube v0.91.0`
    ... which satisfies dependency `kube = "^0.91.0"` of package `sdp-identity-service v1.2.5 (/tmp/renovate/repos/github/appgate/sdp-k8s-injector/sdp-identity-service)`
versions that meet the requirements `^1.35` are: 1.37.0, 1.36.0, 1.35.1, 1.35.0

all possible versions conflict with previously selected packages.

  previously selected package `tokio v1.34.0`
    ... which satisfies dependency `tokio = "~1.34.0"` of package `sdp-identity-service v1.2.5 (/tmp/renovate/repos/github/appgate/sdp-k8s-injector/sdp-identity-service)`

failed to select a version for `tokio` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path sdp-identity-service/Cargo.toml --workspace
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Updating crates.io index
error: failed to select a version for `tokio`.
    ... required by package `hyper-timeout v0.5.1`
    ... which satisfies dependency `hyper-timeout = "^0.5.1"` of package `kube-client v0.91.0`
    ... which satisfies dependency `kube-client = "=0.91.0"` of package `kube v0.91.0`
    ... which satisfies dependency `kube = "^0.91.0"` of package `sdp-identity-service v1.2.5 (/tmp/renovate/repos/github/appgate/sdp-k8s-injector/sdp-identity-service)`
versions that meet the requirements `^1.35` are: 1.37.0, 1.36.0, 1.35.1, 1.35.0

all possible versions conflict with previously selected packages.

  previously selected package `tokio v1.34.0`
    ... which satisfies dependency `tokio = "~1.34.0"` of package `sdp-identity-service v1.2.5 (/tmp/renovate/repos/github/appgate/sdp-k8s-injector/sdp-identity-service)`

failed to select a version for `tokio` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path sdp-common/Cargo.toml --workspace
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Updating crates.io index
error: failed to select a version for `tokio`.
    ... required by package `hyper-timeout v0.5.1`
    ... which satisfies dependency `hyper-timeout = "^0.5.1"` of package `kube-client v0.91.0`
    ... which satisfies dependency `kube-client = "=0.91.0"` of package `kube v0.91.0`
    ... which satisfies dependency `kube = "^0.91.0"` of package `sdp-identity-service v1.2.5 (/tmp/renovate/repos/github/appgate/sdp-k8s-injector/sdp-identity-service)`
versions that meet the requirements `^1.35` are: 1.37.0, 1.36.0, 1.35.1, 1.35.0

all possible versions conflict with previously selected packages.

  previously selected package `tokio v1.34.0`
    ... which satisfies dependency `tokio = "~1.34.0"` of package `sdp-identity-service v1.2.5 (/tmp/renovate/repos/github/appgate/sdp-k8s-injector/sdp-identity-service)`

failed to select a version for `tokio` which could resolve this conflict

@renovate renovate bot changed the title Update Rust crate kube to 0.89.0 Update Rust crate kube to 0.90.0 Apr 3, 2024
@renovate renovate bot changed the title Update Rust crate kube to 0.90.0 Update Rust crate kube to 0.91.0 May 6, 2024
@renovate renovate bot changed the title Update Rust crate kube to 0.91.0 Update Rust crate kube to 0.92.0 Jun 12, 2024
@renovate renovate bot changed the title Update Rust crate kube to 0.92.0 Update Rust crate kube to 0.93.0 Jul 22, 2024
@renovate renovate bot changed the title Update Rust crate kube to 0.93.0 Update Rust crate kube to 0.94.0 Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

0 participants