Skip to content

Bump kube from 4.2.0 to 5.0.0 in the kube group - #4972

Merged
divviup-github-automation merged 2 commits into
mainfrom
dependabot/cargo/main/kube-a6f28fcbb4
Nov 16, 2026
Merged

divviup-github-automation merged 2 commits into
mainfrom
dependabot/cargo/main/kube-a6f28fcbb4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 11, 2026

Copy link
Copy Markdown
Contributor

Bumps the kube group with 1 update: kube.

Updates 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the kube group with 1 update: [kube](https://github.com/kube-rs/kube).


Updates `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
  dependency-group: kube
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 11, 2026 19:23
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Nov 11, 2026

@divviup-github-automation divviup-github-automation left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving dependabot PR.

also update the Kubernetes version feature to "earliest", which is
currently set to 1.33. This will save us the hassle of bumping this
value by hand in the future.
@divviup-github-automation
divviup-github-automation merged commit f5ddceb into main Nov 16, 2026
8 checks passed
@divviup-github-automation
divviup-github-automation deleted the dependabot/cargo/main/kube-a6f28fcbb4 branch November 16, 2026 18:20
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.

2 participants