Skip to content

Commit 6f8407f

Browse files
committed
sync update
Signed-off-by: clux <[email protected]>
1 parent 4ebeea9 commit 6f8407f

File tree

2 files changed

+38
-13
lines changed

2 files changed

+38
-13
lines changed

docs/changelog.md

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,55 @@
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/0.97.0...main
9+
* see https://github.com/kube-rs/kube/compare/0.98.0...main
10+
11+
## [0.98.0](https://github.com/kube-rs/kube/releases/tag/0.98.0) / 2024-12-23
12+
<!-- Release notes generated using configuration in .github/release.yml at 0.98.0 -->
13+
14+
## Highlights
15+
16+
- [Kubernetes `v1_32`](https://kubernetes.io/blog/2024/12/11/kubernetes-v1-32-release/) support via `k8s-openapi` [0.24](https://github.com/Arnavion/k8s-openapi/releases/tag/v0.24.0)
17+
* Please [upgrade k8s-openapi along with kube](https://kube.rs/upgrading/) to avoid conflicts.
18+
* New minimum versions: [MSRV](https://kube.rs/rust-version/) 1.81.0, [MK8SV](https://kube.rs/kubernetes-version/): 1.28
19+
- `kube-derive` additions:
20+
* A [`CELSchema`](https://docs.rs/kube/latest/kube/derive.CELSchema.html) derive macro wrapper around [`JsonSchema`](https://docs.rs/schemars/latest/schemars/trait.JsonSchema.html) for injecting [cel validations](https://kubernetes.io/docs/reference/using-api/cel/) into the schema [#1649](https://github.com/kube-rs/kube/pull/1649)
21+
* Allow overriding `served` and `storage` booleans for [multiple versions](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#specify-multiple-versions) of [`CustomResource`](https://docs.rs/kube/latest/kube/derive.CustomResource.html) derives: [#1644](https://github.com/kube-rs/kube/pull/1644)
22+
- `kube-runtime` event [`Recorder`](https://docs.rs/kube/latest/kube/runtime/events/struct.Recorder.html) now aggregates repeat events [#1655](https://github.com/kube-rs/kube/pull/1655) (some breaking changes, see [controller-rs#116](https://github.com/kube-rs/controller-rs/pull/116))
23+
- `kube-client` UTF-16 edge case handling for windows [#1654](https://github.com/kube-rs/kube/pull/1654)
24+
25+
## What's Changed
26+
### Added
27+
* Add `storage` and `served` argument to derive macro by @Techassi in https://github.com/kube-rs/kube/pull/1644
28+
* Implement `derive(CELSchema)` macro for generating cel validation on CRDs by @Danil-Grigorev in https://github.com/kube-rs/kube/pull/1649
29+
### Changed
30+
* Add series implementation for `runtime` event recorder by @pando85 in https://github.com/kube-rs/kube/pull/1655
31+
* Bump `k8s-openapi` for Kubernetes `v1_32` support and MSRV by @clux in https://github.com/kube-rs/kube/pull/1671
32+
* Update tokio-tungstenite requirement from 0.24.0 to 0.25.0 by @dependabot in https://github.com/kube-rs/kube/pull/1666
33+
### Fixed
34+
* Add support for UTF-16 encoded kubeconfig files by @goenning in https://github.com/kube-rs/kube/pull/1654
1035

1136
## [0.97.0](https://github.com/kube-rs/kube/releases/tag/0.97.0) / 2024-11-20
1237
<!-- Release notes generated using configuration in .github/release.yml at 0.97.0 -->
1338

1439
## Highlights
1540

1641
- [`CustomResource`](https://docs.rs/kube/latest/kube/derive.CustomResource.html) derive added features for crd yaml output:
17-
* selectable fields #1605 + #1610
18-
* annotations and labels #1631
42+
* selectable fields [#1605](https://github.com/kube-rs/kube/issues/1605) + [#1610](https://github.com/kube-rs/kube/issues/1610)
43+
* annotations and labels [#1631](https://github.com/kube-rs/kube/issues/1631)
1944
- Configuration edge cases:
20-
* Avoid double installations of `aws-lc-rs` (rustls crypto) provider #1617
21-
* Kubeconfig fix for `null` user; #1608
22-
* Default runtime watcher backoff alignment with `client-go` #1603
45+
* Avoid double installations of `aws-lc-rs` (rustls crypto) provider [#1617](https://github.com/kube-rs/kube/issues/1617)
46+
* Kubeconfig fix for `null` user; [#1608](https://github.com/kube-rs/kube/issues/1608)
47+
* Default runtime watcher backoff alignment with `client-go` [#1603](https://github.com/kube-rs/kube/issues/1603)
2348
- Feature use:
24-
* Client proxy feature-set misuse prevention #1626
25-
* Allow disabling `gzip` via `Config` #1627
49+
* Client proxy feature-set misuse prevention [#1626](https://github.com/kube-rs/kube/issues/1626)
50+
* Allow disabling `gzip` via `Config` [#1627](https://github.com/kube-rs/kube/issues/1627)
2651
- Depedency minors: `thiserror`, `hashbrown`, `jsonptr`, `json-patch`. Killed `lazy_static` / `once_cell`
2752

2853
## What's Changed
2954
### Added
3055
* Feature: Allow to pass selectableFields for CRD definition by @Danil-Grigorev in https://github.com/kube-rs/kube/pull/1605
3156
* add support for CRD annotations and labels in kube-derive by @verokarhu in https://github.com/kube-rs/kube/pull/1631
32-
* Feature: Add config setting to disable gzip compression #1627 by @markdingram in https://github.com/kube-rs/kube/pull/1628
57+
* Feature: Add config setting to disable gzip compression [#1627](https://github.com/kube-rs/kube/issues/1627) by @markdingram in https://github.com/kube-rs/kube/pull/1628
3358
### Changed
3459
* upgrade to hashbrown 0.15.0 by @rorosen in https://github.com/kube-rs/kube/pull/1599
3560
* update jsonptr + json-patch by @aviramha in https://github.com/kube-rs/kube/pull/1600

docs/getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github
66

77
```toml
88
[dependencies]
9-
kube = { version = "0.97.0", features = ["runtime", "derive"] }
10-
k8s-openapi = { version = "0.23.0", features = ["latest"] }
9+
kube = { version = "0.98.0", features = ["runtime", "derive"] }
10+
k8s-openapi = { version = "0.24.0", features = ["latest"] }
1111
```
1212

1313
See [features](https://kube.rs/features/) for a quick overview of default-enabled / opt-in functionality.
@@ -146,8 +146,8 @@ By default [rustls](https://github.com/rustls/rustls) is used for TLS, but `open
146146

147147
```toml
148148
[dependencies]
149-
kube = { version = "0.97.0", default-features = false, features = ["client", "openssl-tls"] }
150-
k8s-openapi = { version = "0.23.0", features = ["latest"] }
149+
kube = { version = "0.98.0", default-features = false, features = ["client", "openssl-tls"] }
150+
k8s-openapi = { version = "0.24.0", features = ["latest"] }
151151
```
152152

153153
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)