Skip to content

Commit

Permalink
release 0.68.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clux committed Feb 1, 2022
1 parent 2d797dc commit 6cab0c5
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 20 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Expand Up @@ -5,11 +5,14 @@
<!-- next-header -->
UNRELEASED
===================
* see https://github.com/kube-rs/kube-rs/compare/0.67.0...master
* see https://github.com/kube-rs/kube-rs/compare/0.68.0...master

0.68.0 / 2022-02-01
===================

### Interface Changes

To reduce the amount of allocation done inside the `runtime` by reflectors and controllers, the following change via #786 is needed on the signature of your `reconcile` functions:
To reduce the amount of allocation done inside the `runtime` by reflectors and controllers, the following change via [#786](https://github.com/kube-rs/kube-rs/issues/786) is needed on the signature of your `reconcile` functions:

```diff
-async fn reconcile(myobj: MyK, ctx: Context<Data>) -> Result<ReconcilerAction>
Expand All @@ -20,7 +23,7 @@ This also affects the [finalizer helper](https://github.com/kube-rs/kube-rs/pull

### [Port-forwarding](https://github.com/kube-rs/kube-rs/pull/446)

As one of the last steps toward [gold level client requirements](https://github.com/kubernetes/design-proposals-archive/blob/main/api-machinery/csi-new-client-library-procedure.md#client-support-level), port-forwarding landed in #446. There are 3 examples `port_forward*.rs` that showcases how to use this websocket/attach based functionality.
As one of the last steps toward [gold level client requirements](https://github.com/kubernetes/design-proposals-archive/blob/main/api-machinery/csi-new-client-library-procedure.md#client-support-level), port-forwarding landed in [#446](https://github.com/kube-rs/kube-rs/issues/446). There are 3 examples `port_forward*.rs` that showcases how to use this websocket/attach based functionality.

0.67.0 / 2022-01-25
===================
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -16,7 +16,7 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github

```toml
[dependencies]
kube = { version = "0.67.0", features = ["runtime", "derive"] }
kube = { version = "0.68.0", features = ["runtime", "derive"] }
k8s-openapi = { version = "0.14.0", features = ["v1_22"] }
```

Expand Down Expand Up @@ -155,7 +155,7 @@ Kube has basic support ([with caveats](https://github.com/kube-rs/kube-rs/issues

```toml
[dependencies]
kube = { version = "0.67.0", default-features = false, features = ["client", "rustls-tls"] }
kube = { version = "0.68.0", default-features = false, features = ["client", "rustls-tls"] }
k8s-openapi = { version = "0.14.0", features = ["v1_22"] }
```

Expand Down
2 changes: 1 addition & 1 deletion e2e/Cargo.toml
Expand Up @@ -17,7 +17,7 @@ path = "dapp.rs"
anyhow = "1.0.44"
env_logger = "0.9.0"
futures = "0.3.17"
kube = { path = "../kube", version = "^0.67.0", default-features = false, features = ["client", "rustls-tls"] }
kube = { path = "../kube", version = "^0.68.0", default-features = false, features = ["client", "rustls-tls"] }
k8s-openapi = { version = "0.14.0", features = ["v1_22"], default-features = false }
log = "0.4.11"
serde_json = "1.0.68"
Expand Down
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Expand Up @@ -31,8 +31,8 @@ anyhow = "1.0.44"
env_logger = "0.9.0"
futures = "0.3.17"
jsonpath_lib = "0.3.0"
kube = { path = "../kube", version = "^0.67.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.67.0", default-features = false } # only needed to opt out of schema
kube = { path = "../kube", version = "^0.68.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.68.0", default-features = false } # only needed to opt out of schema
k8s-openapi = { version = "0.14.0", default-features = false }
log = "0.4.11"
serde = { version = "1.0.130", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions kube-client/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "kube-client"
version = "0.67.0"
version = "0.68.0"
description = "Kubernetes client"
authors = [
"clux <sszynrae@gmail.com>",
Expand Down Expand Up @@ -56,7 +56,7 @@ rustls = { version = "0.20.1", features = ["dangerous_configuration"], optional
rustls-pemfile = { version = "0.2.1", 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.67.0"}
kube-core = { path = "../kube-core", version = "^0.68.0"}
jsonpath_lib = { version = "0.3.0", optional = true }
tokio-util = { version = "0.6.8", 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
@@ -1,7 +1,7 @@
[package]
name = "kube-core"
description = "Kube shared types, traits and client-less behavior"
version = "0.67.0"
version = "0.68.0"
authors = [
"clux <sszynrae@gmail.com>",
"kazk <kazk.dev@gmail.com>",
Expand Down
2 changes: 1 addition & 1 deletion kube-derive/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "kube-derive"
description = "Custom derives for the kube kubernetes crates"
version = "0.67.0"
version = "0.68.0"
authors = [
"clux <sszynrae@gmail.com>",
"kazk <kazk.dev@gmail.com>",
Expand Down
2 changes: 1 addition & 1 deletion kube-derive/README.md
Expand Up @@ -6,7 +6,7 @@ Add the `derive` feature to `kube`:

```toml
[dependencies]
kube = { version = "0.67.0", feature = ["derive"] }
kube = { version = "0.68.0", feature = ["derive"] }
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions kube-runtime/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "kube-runtime"
version = "0.67.0"
version = "0.68.0"
description = "Kubernetes futures controller runtime"
authors = [
"Teo Klestrup Röijezon <teo@nullable.se>",
Expand All @@ -21,7 +21,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
futures = "0.3.17"
kube-client = { path = "../kube-client", version = "^0.67.0", default-features = false, features = ["jsonpatch", "client"] }
kube-client = { path = "../kube-client", version = "^0.68.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
@@ -1,6 +1,6 @@
[package]
name = "kube"
version = "0.67.0"
version = "0.68.0"
description = "Kubernetes client and async controller runtime"
authors = [
"clux <sszynrae@gmail.com>",
Expand Down Expand Up @@ -37,10 +37,10 @@ features = ["client", "native-tls", "rustls-tls", "openssl-tls", "derive", "ws",
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
kube-derive = { path = "../kube-derive", version = "^0.67.0", optional = true }
kube-core = { path = "../kube-core", version = "^0.67.0"}
kube-client = { path = "../kube-client", version = "^0.67.0", default-features = false, optional = true }
kube-runtime = { path = "../kube-runtime", version = "^0.67.0", optional = true}
kube-derive = { path = "../kube-derive", version = "^0.68.0", optional = true }
kube-core = { path = "../kube-core", version = "^0.68.0"}
kube-client = { path = "../kube-client", version = "^0.68.0", default-features = false, optional = true }
kube-runtime = { path = "../kube-runtime", version = "^0.68.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 6cab0c5

Please sign in to comment.