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.96.0 #242

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

Update Rust crate kube to 0.96.0 #242

wants to merge 1 commit into from

Conversation

noelbot
Copy link
Member

@noelbot noelbot commented Jan 21, 2024

This PR contains the following updates:

Package Type Update Change
kube dependencies minor 0.87.2 -> 0.96.0

Release Notes

kube-rs/kube (kube)

v0.96.0

Compare Source

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

Highlights

  • Features: webpki-roots added #​1323, and predicates no longer require unstable-runtime #​1578
  • Local auth: improve leniency/kubectl-alignment #​1595, remove http proxy vars #​1520
  • Dependencies: upgrades to tower and secrecy, and derivative swapped for educe

What's Changed

Added
Changed
Removed
Fixed

v0.95.0

Compare Source

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

Kubernetes v1_31 support via k8s-openapi 0.23

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

New minimum versions: MSRV 1.77.2, MK8SV: 1.26

What's Changed

Changed

v0.94.2

Compare Source

What's Changed

Fixes a runtime regression in watch_object.

Fixed

New Contributors

Full Changelog: kube-rs/kube@0.94.1...0.94.2

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

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

Highlights

Support for rustls's aws-lc-rs is available under a new kube/aws-lc-rs feature. Via https://github.com/kube-rs/kube/pull/1568 for https://github.com/kube-rs/kube/issues/1562

Furthermore, there are improvements to partial typing:

  1. Added a DeserializeGuard safety wrapper to lift deserialisation errors (to e.g. not break watchers). See the errorbound example and core module module. Wrapped type be used with e.g. Api::<DeserializeGuard<CaConfigMap>>. Via https://github.com/kube-rs/kube/pull/1556
  2. A derive macro for Resource; #[derive(Resource)] allows inheriting existing k8s-openapi resource implementations to avoid stepping down to the dynamic api. See the cert check example for usage. Via https://github.com/kube-rs/kube/pull/1565

What's Changed

Added
Changed

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: 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 has been generated by Renovate Bot.

@noelbot noelbot requested a review from auguwu as a code owner January 21, 2024 14:02
@noelbot noelbot force-pushed the renovate/kube-0.x branch 4 times, most recently from de236f8 to 6eb1f58 Compare January 26, 2024 03:02
@noelbot noelbot changed the title Update Rust crate kube to 0.88.0 Update Rust crate kube to 0.88.1 Jan 26, 2024
@noelbot noelbot force-pushed the renovate/kube-0.x branch 8 times, most recently from 49b3b52 to cff048b Compare February 2, 2024 14:02
@noelbot noelbot force-pushed the renovate/kube-0.x branch 4 times, most recently from 635c656 to f7b8358 Compare February 11, 2024 07:02
@noelbot noelbot force-pushed the renovate/kube-0.x branch 3 times, most recently from 6242fb4 to 9ceac6a Compare February 20, 2024 03:02
@noelbot noelbot force-pushed the renovate/kube-0.x branch 2 times, most recently from 94f1463 to c30585e Compare March 10, 2024 05:01
@noelbot noelbot force-pushed the renovate/kube-0.x branch 5 times, most recently from 2d80a79 to 9fc6e77 Compare March 21, 2024 22:02
@noelbot noelbot force-pushed the renovate/kube-0.x branch 2 times, most recently from b03b6ff to 580d929 Compare March 24, 2024 05:02
@noelbot noelbot force-pushed the renovate/kube-0.x branch 3 times, most recently from e55cd9d to 1c59536 Compare March 26, 2024 12:01
@noelbot noelbot changed the title Update Rust crate kube to 0.88.1 Update Rust crate kube to 0.89.0 Mar 26, 2024
@noelbot noelbot force-pushed the renovate/kube-0.x branch 3 times, most recently from 8b179ee to cd3340a Compare March 28, 2024 18:02
@noelbot noelbot changed the title Update Rust crate kube to 0.89.0 Update Rust crate kube to 0.90.0 Apr 3, 2024
@noelbot noelbot force-pushed the renovate/kube-0.x branch 3 times, most recently from 9c4e06b to cf20b33 Compare April 11, 2024 20:02
@noelbot noelbot force-pushed the renovate/kube-0.x branch 5 times, most recently from 4bd56c6 to 5c9a0da Compare April 21, 2024 19:01
@noelbot noelbot force-pushed the renovate/kube-0.x branch 2 times, most recently from 227d550 to e07775f Compare April 27, 2024 06:02
@noelbot noelbot force-pushed the renovate/kube-0.x branch 2 times, most recently from 2e66240 to 13bb257 Compare May 2, 2024 19:02
@noelbot noelbot changed the title Update Rust crate kube to 0.90.0 Update Rust crate kube to 0.93.0 Aug 20, 2024
@noelbot noelbot changed the title Update Rust crate kube to 0.93.0 Update Rust crate kube to 0.94.0 Sep 9, 2024
@noelbot noelbot changed the title Update Rust crate kube to 0.94.0 Update Rust crate kube to 0.95.0 Sep 16, 2024
@noelbot noelbot changed the title Update Rust crate kube to 0.95.0 Update Rust crate kube to 0.96.0 Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants