Skip to content

Commit 0493d99

Browse files
committed
sync 2.0.1
Signed-off-by: clux <[email protected]>
1 parent 4c27d96 commit 0493d99

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

docs/changelog.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,19 @@
66
<!-- DO NOT touch the headers, UNRELEAS'D line, or compare url manually - they are sed'd -->
77
<!-- next-header -->
88
## Unreleased
9-
* see https://github.com/kube-rs/kube/compare/2.0.0...main
9+
* see https://github.com/kube-rs/kube/compare/2.0.1...main
10+
11+
## [2.0.1](https://github.com/kube-rs/kube/releases/tag/2.0.1) / 2025-09-12
12+
<!-- Release notes generated using configuration in .github/release.yml at 2.0.1 -->
13+
14+
## What's Changed
15+
Fixes an accidental inclusion of a constraint added to `Api::log_stream` introduced in the 2.0.0 Rust 2024 upgrade.
16+
17+
### Fixed
18+
* Remove unused use<'_> from log_stream() by @pgerber in https://github.com/kube-rs/kube/pull/1824
19+
20+
21+
## 2.0.1 / 2025-09-12
1022

1123
## [2.0.0](https://github.com/kube-rs/kube/releases/tag/2.0.0) / 2025-09-08
1224
<!-- Release notes generated using configuration in .github/release.yml at 2.0.0 -->
@@ -22,7 +34,7 @@ Please [upgrade schemars along with kube](https://kube.rs/upgrading/) for this v
2234
Minimum versions: [MSRV](https://kube.rs/rust-version/) 1.85.0 (for [edition 2024](https://github.com/kube-rs/kube/pull/1785)), [MK8SV](https://kube.rs/kubernetes-version/): 1.30 ([unchanged](https://github.com/kube-rs/kube/pull/1756)).
2335

2436
## Highlights
25-
This version is contains fixes, dependency clearups, and dependency updates. Noteworthy additions are `TryFrom` impls for `Kubeconfig` users in #1801, and a namespace accessor in `Api` in #1788
37+
This version is contains fixes, dependency clearups, and dependency updates. Noteworthy additions are `TryFrom` impls for `Kubeconfig` users in [#1801](https://github.com/kube-rs/kube/issues/1801), and a namespace accessor in `Api` in [#1788](https://github.com/kube-rs/kube/issues/1788)
2638

2739
## New Major
2840
A new semver major for unstable, public facing dependency updates. As per the new [release cycle](https://kube.rs/stability/#major-release-cycle), it is aligned with the Kubernetes release.

docs/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Select a version of `kube` along matching versions of [k8s-openapi](https://gith
66

77
```toml
88
[dependencies]
9-
kube = { version = "2.0.0", features = ["runtime", "derive"] }
9+
kube = { version = "2.0.1", features = ["runtime", "derive"] }
1010
k8s-openapi = { version = "0.26.0", features = ["latest", "schemars"] }
1111
schemars = { version = "1" }
1212
```
@@ -148,13 +148,13 @@ Uses [rustls](https://github.com/rustls/rustls) with `ring` provider (default) o
148148
To switch [rustls providers](https://docs.rs/rustls/latest/rustls/crypto/struct.CryptoProvider.html), turn off `default-features` and enable the `aws-lc-rs` feature:
149149

150150
```toml
151-
kube = { version = "2.0.0", default-features = false, features = ["client", "rustls-tls", "aws-lc-rs"] }
151+
kube = { version = "2.0.1", default-features = false, features = ["client", "rustls-tls", "aws-lc-rs"] }
152152
```
153153

154154
To switch to `openssl`, turn off `default-features`, and enable the `openssl-tls` feature:
155155

156156
```toml
157-
kube = { version = "2.0.0", default-features = false, features = ["client", "openssl-tls"] }
157+
kube = { version = "2.0.1", default-features = false, features = ["client", "openssl-tls"] }
158158
```
159159

160160
This will pull in `openssl` and `hyper-openssl`. If `default-features` is left enabled, you will pull in two TLS stacks, and the default will remain as `rustls`.

0 commit comments

Comments
 (0)