Skip to content

chore(deps): bump kube from 4.2.0 to 5.0.0 - #617

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/kube-5.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/kube-5.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps kube from 4.2.0 to 5.0.0.

Release notes

Sourced from kube's releases.

5.0.0

New Major

As per the release schedule to match up with the latest Kubernetes Garhwal release. Lots of fixes and improvements. Thanks to everyone who contributed!

Kubernetes v1_37 support via k8s-openapi 0.29

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

Semver Breaking Upgrades

Upgrades to several other important libraries that we couldn't do until the major. These include tower-http@0.7, serde-saphyr@2, syn@3, base64@0.23 , pem@4,

Important Additions

A new Api::dynamic ctor has been added as well as Api::constrain* methods to change an Api's namespace. Simplifies Api handling when dealing with discovery;

// before
let api: Api<DynamicObject> = if caps.scope == Scope::Cluster {
    Api::all_with(client.clone(), &ar)
} else {
    Api::default_namespaced_with(client.clone(), &ar)
};
// after
let api: Api<DynamicObject> = Api::dynamic(client.clone(), &ar, &caps.scope).constrain_default();

Custom client can now use a customizable executor to deal with different lifestyle semantics of spans. Really hairy issue propagated through multiple repos.

Fixes

Many fixes this release worth checking below. Of particular importance;

Watcher Fixes

Two important ones; EOF recovery + missing init for the new (not-yet-default) StreamingList watch mode. Watcher also allows longer watches now.

Errors + Docs

Many smaller fixes to improve error handling; their accuracy, management of the Error size, and what to print.

Notable new docs on advanced finalizer pitfalls.

Internals

As usual there's a lot of ongoing work that improves internal ergonomics and maintainability that is normally hidden from the changelog.

In particular this release, a special thank you to @​daemonfire300 for the new test suite for advanced watcher specifics, which allows us to test more complicated watcher edge cases (including one of the fixes above).

... (truncated)

Changelog

Sourced from kube's changelog.

5.0.0 / 2026-11-01

New Major

As per the release schedule to match up with the latest Kubernetes Garhwal release. Lots of fixes and improvements. Thanks to everyone who contributed!

Kubernetes v1_37 support via k8s-openapi 0.29

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

Semver Breaking Upgrades

Upgrades to several other important libraries that we couldn't do until the major. These include tower-http@0.7, serde-saphyr@2, syn@3, base64@0.23 , pem@4,

Important Additions

A new Api::dynamic ctor has been added as well as Api::constrain* methods to change an Api's namespace. Simplifies Api handling when dealing with discovery;

// before
let api: Api<DynamicObject> = if caps.scope == Scope::Cluster {
    Api::all_with(client.clone(), &ar)
} else {
    Api::default_namespaced_with(client.clone(), &ar)
};
// after
let api: Api<DynamicObject> = Api::dynamic(client.clone(), &ar, &caps.scope).constrain_default();

Custom client can now use a customizable executor to deal with different lifestyle semantics of spans. Really hairy issue propagated through multiple repos.

Fixes

Many fixes this release worth checking below. Of particular importance;

Watcher Fixes

Two important ones; EOF recovery + missing init for the new (not-yet-default) StreamingList watch mode. Watcher also allows longer watches now.

Errors + Docs

Many smaller fixes to improve error handling; their accuracy, management of the Error size, and what to print.

Notable new docs on advanced finalizer pitfalls.

Internals

As usual there's a lot of ongoing work that improves internal ergonomics and maintainability that is normally hidden from the changelog.

In particular this release, a special thank you to @​daemonfire300 for the new test suite for advanced watcher specifics, which allows us to test more complicated watcher edge cases (including one of the fixes above).

... (truncated)

Commits
  • 54a3128 release 5.0.0
  • 4263e79 readme bumps
  • 212d718 Remove deprecated alias for EventFlated (#2124)
  • 28e3d13 Attach the event cache test to a different object (#2123)
  • 9cf4d06 Group proxy with the other transport features in cargo-hack (#2105)
  • b194763 update k8s-openapi to 0.29 (#2120)
  • 4610180 fix(config): populate missing impersonation headers (#2116)
  • 80de5bf Expose hyper-timeout's reset_reader_on_write config (#2111)
  • 1f316bb Drop redundant status field from AuthError::AuthExecRun (#2099)
  • debe79e fix: emit Event::Init when a StreamingList initial watch opens (#2118)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 5, 2026
Bumps [kube](https://github.com/kube-rs/kube) from 4.2.0 to 5.0.0.
- [Release notes](https://github.com/kube-rs/kube/releases)
- [Changelog](https://github.com/kube-rs/kube/blob/main/CHANGELOG.md)
- [Commits](kube-rs/kube@4.2.0...5.0.0)

---
updated-dependencies:
- dependency-name: kube
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/kube-5.0.0 branch from 2d96e2b to 81c562c Compare November 9, 2026 08:17

This branch has not been deployed

No deployments
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants