Skip to content

Commit

Permalink
release 0.82.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clux committed Apr 8, 2023
1 parent df52084 commit 221ebfa
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 20 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@
<!-- next-header -->
UNRELEASED
===================
* see https://github.com/kube-rs/kube/compare/0.81.0...main
* see https://github.com/kube-rs/kube/compare/0.82.0...main

0.82.0 / 2023-04-08
===================

[0.81.0](https://github.com/kube-rs/kube/releases/tag/0.81.0) / 2023-04-07
===================
<!-- Release notes generated using configuration in .github/release.yml at 0.81.0 -->
## Highlights
### List/Watch Changes
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.
One big change is the splitting of `ListParams` into `ListParams` and `WatchParams` in [#1162](https://github.com/kube-rs/kube/issues/1162) and [#1171](https://github.com/kube-rs/kube/issues/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.

If you were passing `ListParams` to `watcher`, you can change this for a new `watcher::Config` with a mostly compatible interface:

Expand All @@ -24,7 +27,7 @@ If you were passing `ListParams` to `watcher`, you can change this for a new `wa
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()`.

### rustls
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.
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](https://github.com/kube-rs/kube/issues/1184)) have been removed as a result.

### Controller streams
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).
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github

```toml
[dependencies]
kube = { version = "0.81.0", features = ["runtime", "derive"] }
kube = { version = "0.82.0", features = ["runtime", "derive"] }
k8s-openapi = { version = "0.18.0", features = ["v1_26"] }
```

Expand Down Expand Up @@ -152,7 +152,7 @@ By default `openssl` is used for TLS, but [rustls](https://github.com/ctz/rustls

```toml
[dependencies]
kube = { version = "0.81.0", default-features = false, features = ["client", "rustls-tls"] }
kube = { version = "0.82.0", default-features = false, features = ["client", "rustls-tls"] }
k8s-openapi = { version = "0.18.0", features = ["v1_26"] }
```

Expand Down
2 changes: 1 addition & 1 deletion e2e/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ anyhow = "1.0.44"
tracing = "0.1.36"
tracing-subscriber = "0.3.3"
futures = "0.3.17"
kube = { path = "../kube", version = "^0.81.0", default-features = false, features = ["client", "runtime", "ws", "admission", "gzip"] }
kube = { path = "../kube", version = "^0.82.0", default-features = false, features = ["client", "runtime", "ws", "admission", "gzip"] }
k8s-openapi = { version = "0.18.0", default-features = false }
serde_json = "1.0.68"
tokio = { version = "1.14.0", features = ["full"] }
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ validator = { version = "0.16.0", features = ["derive"] }
anyhow = "1.0.44"
futures = "0.3.17"
jsonpath_lib = "0.3.0"
kube = { path = "../kube", version = "^0.81.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.81.0", default-features = false } # only needed to opt out of schema
kube = { path = "../kube", version = "^0.82.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.82.0", default-features = false } # only needed to opt out of schema
k8s-openapi = { version = "0.18.0", default-features = false }
serde = { version = "1.0.130", features = ["derive"] }
serde_json = "1.0.68"
Expand Down
4 changes: 2 additions & 2 deletions kube-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kube-client"
version = "0.81.0"
version = "0.82.0"
description = "Kubernetes client"
authors = [
"clux <sszynrae@gmail.com>",
Expand Down Expand Up @@ -53,7 +53,7 @@ rustls = { version = "0.21.0", features = ["dangerous_configuration"], optional
rustls-pemfile = { version = "1.0.0", optional = true }
bytes = { version = "1.1.0", optional = true }
tokio = { version = "1.14.0", features = ["time", "signal", "sync"], optional = true }
kube-core = { path = "../kube-core", version = "=0.81.0" }
kube-core = { path = "../kube-core", version = "=0.82.0" }
jsonpath_lib = { version = "0.3.0", optional = true }
tokio-util = { version = "0.7.0", optional = true, features = ["io", "codec"] }
hyper = { version = "0.14.13", optional = true, features = ["client", "http1", "stream", "tcp"] }
Expand Down
2 changes: 1 addition & 1 deletion kube-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kube-core"
description = "Kube shared types, traits and client-less behavior"
version = "0.81.0"
version = "0.82.0"
authors = [
"clux <sszynrae@gmail.com>",
"kazk <kazk.dev@gmail.com>",
Expand Down
2 changes: 1 addition & 1 deletion kube-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kube-derive"
description = "Custom derives for the kube kubernetes crates"
version = "0.81.0"
version = "0.82.0"
authors = [
"clux <sszynrae@gmail.com>",
"kazk <kazk.dev@gmail.com>",
Expand Down
2 changes: 1 addition & 1 deletion kube-derive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Add the `derive` feature to `kube`:

```toml
[dependencies]
kube = { version = "0.81.0", feature = ["derive"] }
kube = { version = "0.82.0", feature = ["derive"] }
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions kube-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kube-runtime"
version = "0.81.0"
version = "0.82.0"
description = "Kubernetes futures controller runtime"
authors = [
"Natalie Klestrup Röijezon <nat@nullable.se>",
Expand All @@ -27,7 +27,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
futures = "0.3.17"
kube-client = { path = "../kube-client", version = "=0.81.0", default-features = false, features = ["jsonpatch", "client"] }
kube-client = { path = "../kube-client", version = "=0.82.0", default-features = false, features = ["jsonpatch", "client"] }
derivative = "2.1.1"
serde = "1.0.130"
smallvec = "1.7.0"
Expand Down
10 changes: 5 additions & 5 deletions kube/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kube"
version = "0.81.0"
version = "0.82.0"
description = "Kubernetes client and async controller runtime"
authors = [
"clux <sszynrae@gmail.com>",
Expand Down Expand Up @@ -36,10 +36,10 @@ features = ["client", "rustls-tls", "openssl-tls", "derive", "ws", "oauth", "jso
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
kube-derive = { path = "../kube-derive", version = "=0.81.0", optional = true }
kube-core = { path = "../kube-core", version = "=0.81.0" }
kube-client = { path = "../kube-client", version = "=0.81.0", default-features = false, optional = true }
kube-runtime = { path = "../kube-runtime", version = "=0.81.0", optional = true}
kube-derive = { path = "../kube-derive", version = "=0.82.0", optional = true }
kube-core = { path = "../kube-core", version = "=0.82.0" }
kube-client = { path = "../kube-client", version = "=0.82.0", default-features = false, optional = true }
kube-runtime = { path = "../kube-runtime", version = "=0.82.0", optional = true}

# Not used directly, but required by resolver 2.0 to ensure that the k8s-openapi dependency
# is considered part of the "deps" graph rather than just the "dev-deps" graph
Expand Down

0 comments on commit 221ebfa

Please sign in to comment.