Skip to content

Commit

Permalink
release 0.87.1
Browse files Browse the repository at this point in the history
  • Loading branch information
clux committed Nov 1, 2023
1 parent 1c4294f commit f53c1dc
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 19 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
<!-- next-header -->
UNRELEASED
===================
* see https://github.com/kube-rs/kube/compare/0.86.0...main
* see https://github.com/kube-rs/kube/compare/0.87.1...main

0.87.1 / 2023-11-01
===================

[0.86.0](https://github.com/kube-rs/kube/releases/tag/0.86.0) / 2023-09-08
===================
Expand All @@ -20,7 +23,7 @@ As usual, [upgrade k8s-openapi along with kube](https://kube.rs/upgrading/) to a
With last year's upstream changes from rustls (closing all our existing rustls issues - see https://github.com/kube-rs/kube/issues/1192), this is now the better choice for security, features, and ease of building. The previous default openssl stack can still be used with `default-features = false` plus the `openssl-tls` feature.

### Controller Configuration
A controller [`Config`](https://docs.rs/kube/latest/kube/runtime/struct.Config.html) has been added to allow tweaking two behaviour parameters (debouncing in #1265 and concurrency limits in #1277) of the `Controller`. Huge thanks to @aryan9600 for his work.
A controller [`Config`](https://docs.rs/kube/latest/kube/runtime/struct.Config.html) has been added to allow tweaking two behaviour parameters (debouncing in [#1265](https://github.com/kube-rs/kube/issues/1265) and concurrency limits in [#1277](https://github.com/kube-rs/kube/issues/1277)) of the `Controller`. Huge thanks to @aryan9600 for his work.

### Streaming Lists
The `sendInitialEvents` [alpha feature](https://kubernetes.io/docs/reference/using-api/api-concepts/#streaming-lists) is now [supported](https://docs.rs/kube/latest/kube/runtime/watcher/struct.Config.html#structfield.initial_list_strategy), and is quickly testable in the [pod_watcher example](https://github.com/kube-rs/kube/blob/c8e98285362e1d0739c56baf27aaab703051dcd4/examples/pod_watcher.rs#L15-L21) when using the [feature gate](https://github.com/kube-rs/kube/blob/c8e98285362e1d0739c56baf27aaab703051dcd4/justfile#L91). This will help [optimise](https://kube.rs/controllers/optimization/) the memory profile of controllers when the feature becomes generally available. Amazing work by first time contributor @casualjim.
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.86.0", features = ["runtime", "derive"] }
kube = { version = "0.87.1", features = ["runtime", "derive"] }
k8s-openapi = { version = "0.20.0", features = ["latest"] }
```

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

```toml
[dependencies]
kube = { version = "0.86.0", default-features = false, features = ["client", "openssl-tls"] }
kube = { version = "0.87.1", default-features = false, features = ["client", "openssl-tls"] }
k8s-openapi = { version = "0.20.0", features = ["latest"] }
```

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.86.0", default-features = false, features = ["client", "runtime", "ws", "admission", "gzip"] }
kube = { path = "../kube", version = "^0.87.1", default-features = false, features = ["client", "runtime", "ws", "admission", "gzip"] }
k8s-openapi = { version = "0.20.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 @@ -31,8 +31,8 @@ garde = { version = "0.16.1", default-features = false, features = ["derive"] }
anyhow = "1.0.44"
futures = "0.3.17"
jsonpath_lib = "0.3.0"
kube = { path = "../kube", version = "^0.86.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.86.0", default-features = false } # only needed to opt out of schema
kube = { path = "../kube", version = "^0.87.1", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.87.1", default-features = false } # only needed to opt out of schema
k8s-openapi = { version = "0.20.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.86.0"
version = "0.87.1"
description = "Kubernetes client"
authors = [
"clux <[email protected]>",
Expand Down Expand Up @@ -55,7 +55,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.86.0" }
kube-core = { path = "../kube-core", version = "=0.87.1" }
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.86.0"
version = "0.87.1"
authors = [
"clux <[email protected]>",
"kazk <[email protected]>",
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.86.0"
version = "0.87.1"
authors = [
"clux <[email protected]>",
"kazk <[email protected]>",
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.86.0", feature = ["derive"] }
kube = { version = "0.87.1", 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.86.0"
version = "0.87.1"
description = "Kubernetes futures controller runtime"
authors = [
"Natalie Klestrup Röijezon <[email protected]>",
Expand Down Expand Up @@ -28,7 +28,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
futures = "0.3.17"
kube-client = { path = "../kube-client", version = "=0.86.0", default-features = false, features = ["jsonpatch", "client"] }
kube-client = { path = "../kube-client", version = "=0.87.1", 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.86.0"
version = "0.87.1"
description = "Kubernetes client and async controller runtime"
authors = [
"clux <[email protected]>",
Expand Down Expand Up @@ -44,10 +44,10 @@ features = ["client", "rustls-tls", "openssl-tls", "derive", "ws", "oauth", "jso
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
kube-derive = { path = "../kube-derive", version = "=0.86.0", optional = true }
kube-core = { path = "../kube-core", version = "=0.86.0" }
kube-client = { path = "../kube-client", version = "=0.86.0", default-features = false, optional = true }
kube-runtime = { path = "../kube-runtime", version = "=0.86.0", optional = true}
kube-derive = { path = "../kube-derive", version = "=0.87.1", optional = true }
kube-core = { path = "../kube-core", version = "=0.87.1" }
kube-client = { path = "../kube-client", version = "=0.87.1", default-features = false, optional = true }
kube-runtime = { path = "../kube-runtime", version = "=0.87.1", 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 f53c1dc

Please sign in to comment.