Skip to content

Commit 2213b87

Browse files
committed
sync 3.0.1
Signed-off-by: clux <sszynrae@gmail.com>
1 parent feb70fb commit 2213b87

File tree

3 files changed

+32
-4
lines changed

3 files changed

+32
-4
lines changed

docs/changelog.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,21 @@
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/3.0.0...main
9+
* see https://github.com/kube-rs/kube/compare/3.0.1...main
10+
11+
## [3.0.1](https://github.com/kube-rs/kube/releases/tag/3.0.1) / 2026-01-30
12+
<!-- Release notes generated using configuration in .github/release.yml at 3.0.1 -->
13+
14+
## What's Changed
15+
Bugfix release for schemas, admission, and docs. Minor internal improvements listed in the [milestone](https://github.com/kube-rs/kube/milestone/53?closed=1). Important fixes below.
16+
17+
### Fixed
18+
* Update API version of [`AdmissionResponse`](https://docs.rs/kube/3.0.1/kube/core/admission/struct.AdmissionResponse.html) created via invalid call by @Magicloud in https://github.com/kube-rs/kube/pull/1905
19+
* Fix [`OptionalEnum`](https://docs.rs/kube/3.0.1/kube/core/schema/struct.OptionalEnum.html) transform skipping schemas with description by @doxxx93 in https://github.com/kube-rs/kube/pull/1908
20+
* Remove conflicting `additionalProperties: false` from schema by @doxxx93 in https://github.com/kube-rs/kube/pull/1920
21+
22+
23+
## 3.0.1 / 2026-01-30
1024

1125
## [3.0.0](https://github.com/kube-rs/kube/releases/tag/3.0.0) / 2026-01-12
1226
<!-- Release notes generated using configuration in .github/release.yml at 3.0.0 -->

docs/contributing.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@ Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
3232

3333
For a list of tooling that we glue together everything see [TOOLS.md](https://kube.rs/tools/).
3434

35+
## Pull Request Guidelines
36+
37+
1. **Please try to keep each PR small, and minimal for the relevant change.**
38+
39+
Each line has be reviewed, so unnecessary changes increase the difficulty threshold for maintainers (and decreases the likelyhood that your PR will be expedited).
40+
41+
I.e. try to not not move files, or reformat files while also changing the logic in those same files. Github does not highlight moved lines very well.
42+
43+
2. **Please do not force-push**
44+
45+
Github does not show history between force pushes very well, and if you rewrite commits that previously have been reviewed, those reviews will have to be re-verified.
46+
47+
There's no need to force-push / squash / rebase internally within a branch because each PR is set to squash merge.
48+
3549
## Testing
3650

3751
We have 3 classes of tests.

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 = "3.0.0", features = ["runtime", "derive"] }
9+
kube = { version = "3.0.1", features = ["runtime", "derive"] }
1010
k8s-openapi = { version = "0.27.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 = "3.0.0", default-features = false, features = ["client", "rustls-tls", "aws-lc-rs"] }
151+
kube = { version = "3.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 = "3.0.0", default-features = false, features = ["client", "openssl-tls"] }
157+
kube = { version = "3.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)