Skip to content

Commit c30b376

Browse files
committed
changelog for 0.81
Signed-off-by: clux <[email protected]>
1 parent 033bbe9 commit c30b376

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

CHANGELOG.md

+34-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,41 @@ UNRELEASED
77
===================
88
* see https://github.com/kube-rs/kube/compare/0.81.0...main
99

10-
0.81.0 / 2023-04-07
10+
[0.81.0](https://github.com/kube-rs/kube/releases/tag/0.81.0) / 2023-04-07
1111
===================
12+
<!-- Release notes generated using configuration in .github/release.yml at 0.81.0 -->
13+
## Highlights
14+
### List/Watch Changes
15+
One big change is the splitting of `ListParams` into `ListParams` and `WatchParams` in #1162 and #1171. If you were using `api.list` directly, this should not affect you, but `api.watch` calls will need a replace of `ListParams` to `WatchParams`. Apart from the resulting field splitting, the two structs still have a mostly compatible api.
16+
17+
If you were passing `ListParams` to `watcher`, you can change this for a new `watcher::Config` with a mostly compatible interface:
18+
19+
```diff
20+
- let stream = watcher(api, ListParams::default());
21+
+ let stream = watcher(api, watcher::Config::default());
22+
```
23+
24+
The reason for this change has been to add support for specific [version match strategies](https://kubernetes.io/docs/reference/using-api/api-concepts/#semantics-for-get-and-list) and has new builders on both `ListParams` and `watcher::Config` to control the strategy. Using the new `VersionMatch::NotOlderThan` can reduce strain on the apiserver for individual `api.list` calls. Watchers will benefit the most from this, and **should consider** using the semantic `Any` strategy (= `NotOlderThan` with version "0") on all relists by setting `watcher::Config::any_semantic()`.
25+
26+
### rustls
27+
This release closes [all our rustls issues](https://github.com/kube-rs/kube/labels/rustls) as a consequence of the long standing IP address incompatibility (#153) having been resolved upstream. All `rustls` specific overrides (such as using the deprecated `incluster_dns` strategy for configuration #1184) have been removed as a result.
28+
29+
### Controller streams
30+
Multiple new `runtime` features have been added to be able to more precisely control the input streams used by `Controller` a starting step towards stream sharing (#1080) and as a way to reduce excess input events. Because these interfaces are likely to remain in flux for some time, these are only available under [unstable feature flags](https://github.com/kube-rs/kube/blob/main/kube-runtime/Cargo.toml#L17-L21).
31+
32+
## What's Changed
33+
### Added
34+
* Add `predicates` to allow filtering `watcher` streams by @clux in https://github.com/kube-rs/kube/pull/911
35+
* Add `Controller::owns_stream` by @Dav1dde in https://github.com/kube-rs/kube/pull/1173
36+
* Add `Controller::for_stream` + `Controller::watches_stream` by @clux in https://github.com/kube-rs/kube/pull/1187
37+
### Changed
38+
* Split `ListParams` and `WatchParams` by @nabokihms in https://github.com/kube-rs/kube/pull/1162
39+
* Make `VersionMatch` follow upstream + configure list semantics in `watcher::Config` by @clux in https://github.com/kube-rs/kube/pull/1171
40+
* kube-derive: Disable `option_nullable` for CRD generation by @Dav1dde in https://github.com/kube-rs/kube/pull/1079
41+
### Fixed
42+
* Run `rustls` CI against IP cluster address by @clux in https://github.com/kube-rs/kube/pull/1183
43+
* Fix: tower buffer's worker closed unexpectedly by @divinerapier in https://github.com/kube-rs/kube/pull/1185
44+
* Avoid special `Config::incluster` behavior for `rustls` by @clux in https://github.com/kube-rs/kube/pull/1184
1245

1346
[0.80.0](https://github.com/kube-rs/kube/releases/tag/0.80.0) / 2023-03-02
1447
===================

0 commit comments

Comments
 (0)