From 58d1b497c104803c2a07d1cfffe4fde9512fbd80 Mon Sep 17 00:00:00 2001 From: clux Date: Wed, 3 Apr 2024 17:38:40 +0100 Subject: [PATCH] sync 0.90 Signed-off-by: clux --- docs/changelog.md | 31 ++++++++++++++++++++++++++++++- docs/getting-started.md | 4 ++-- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 9c93749..d0ba008 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,8 +6,37 @@ ## Unreleased - * see https://github.com/kube-rs/kube/compare/0.89.0...main + * see https://github.com/kube-rs/kube/compare/0.90.0...main +## [0.90.0](https://github.com/kube-rs/kube/releases/tag/0.90.0) / 2024-04-03 + +## Highlights +### [`kube::client::Body`](https://docs.rs/kube/latest/kube/client/struct.Body.html) Improvements +- Unit testing helpers #1444 + #1445, +- Accuracy; `size_hint` and `is_end_stream` implemented in #1452 + internal cleanups #1453 and #1455 + +### Dependency Cleanups +- `rustls` to 0.23 in #1457 +- `once_cell` removed in #1447 (no longer needed) +- `futures` feature prune in #1442 +- `chrono` features prune in #1448, and bump its min version pin in #1458 + +## What's Changed +### Added +* Add proxy `Body::collect_bytes` for easier unit tests by @clux in https://github.com/kube-rs/kube/pull/1445 +### Changed +* update to `rustls` 0.23 by @tottoto in https://github.com/kube-rs/kube/pull/1457 +### Fixed +* disable unused `futures` feature by @tottoto in https://github.com/kube-rs/kube/pull/1442 +* Expose `Body::empty` for easier tests by @clux in https://github.com/kube-rs/kube/pull/1444 +* replace `once_cell` Lazy with ordinary static by @tottoto in https://github.com/kube-rs/kube/pull/1447 +* replace `chrono` feature `clock` with `now` by @tottoto in https://github.com/kube-rs/kube/pull/1448 +* implement `http_body` trait method by @tottoto in https://github.com/kube-rs/kube/pull/1452 +* Fix examples for custom clients not authenticating by @clux in https://github.com/kube-rs/kube/pull/1450 +* Set a compatible minimum `chrono` version by @clux in https://github.com/kube-rs/kube/pull/1458 + + +**Full Changelog**: https://github.com/kube-rs/kube/compare/0.89.0...0.90.0 ## [0.89.0](https://github.com/kube-rs/kube/releases/tag/0.89.0) / 2024-03-26 diff --git a/docs/getting-started.md b/docs/getting-started.md index 762de2c..d1ff519 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -6,7 +6,7 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github ```toml [dependencies] -kube = { version = "0.89.0", features = ["runtime", "derive"] } +kube = { version = "0.90.0", features = ["runtime", "derive"] } k8s-openapi = { version = "0.21.1", features = ["latest"] } ``` @@ -142,7 +142,7 @@ By default [rustls](https://github.com/ctz/rustls) is used for TLS, but `openssl ```toml [dependencies] -kube = { version = "0.89.0", default-features = false, features = ["client", "openssl-tls"] } +kube = { version = "0.90.0", default-features = false, features = ["client", "openssl-tls"] } k8s-openapi = { version = "0.21.0", features = ["latest"] } ```