Skip to content

Commit

Permalink
release 0.72.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clux committed May 13, 2022
1 parent 599cd5c commit da156cd
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 19 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Expand Up @@ -5,7 +5,10 @@
<!-- next-header -->
UNRELEASED
===================
* see https://github.com/kube-rs/kube-rs/compare/0.71.0...master
* see https://github.com/kube-rs/kube-rs/compare/0.72.0...master

0.72.0 / 2022-05-13
===================

[0.71.0](https://github.com/kube-rs/kube-rs/releases/tag/0.71.0) / 2022-04-12
===================
Expand All @@ -19,7 +22,7 @@ We highlight some **changes** here that you should be especially aware of.
Publishing events via [Recorder](https://docs.rs/kube/latest/kube/runtime/events/struct.Recorder.html) for cluster scoped resources (supported since `0.70.0`) now publish to `kube-system` rather than `default`, as all but the newest clusters struggle with publishing events in the `default` namespace.

### [Default TLS stack set to OpenSSL](https://github.com/kube-rs/kube-rs/pull/863)
The previous `native-tls` default was there because we used to depend on `reqwest`, but because we depended on openssl anyway the feature does not make much sense. Changing to `openssl-tls` also improves the situation on macOS where the Security Framework struggles with PKCS#12 certs from OpenSSL v3. The `native-tls` feature will still be available in this release in case of issues, but the plan is to decommission it shortly. Of course, we all ideally want to move to rustls, but we are still blocked by #153.
The previous `native-tls` default was there because we used to depend on `reqwest`, but because we depended on openssl anyway the feature does not make much sense. Changing to `openssl-tls` also improves the situation on macOS where the Security Framework struggles with PKCS#12 certs from OpenSSL v3. The `native-tls` feature will still be available in this release in case of issues, but the plan is to decommission it shortly. Of course, we all ideally want to move to rustls, but we are still blocked by [#153](https://github.com/kube-rs/kube-rs/issues/153).

## What's Changed
### Added
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -17,7 +17,7 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github

```toml
[dependencies]
kube = { version = "0.71.0", features = ["runtime", "derive"] }
kube = { version = "0.72.0", features = ["runtime", "derive"] }
k8s-openapi = { version = "0.14.0", features = ["v1_23"] }
```

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

```toml
[dependencies]
kube = { version = "0.71.0", default-features = false, features = ["client", "rustls-tls"] }
kube = { version = "0.72.0", default-features = false, features = ["client", "rustls-tls"] }
k8s-openapi = { version = "0.14.0", features = ["v1_23"] }
```

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.71.0", default-features = false, features = ["client", "rustls-tls"] }
kube = { path = "../kube", version = "^0.72.0", default-features = false, features = ["client", "rustls-tls"] }
k8s-openapi = { version = "0.14.0", features = ["v1_23"], 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 @@ -29,8 +29,8 @@ validator = { version = "0.15.0", features = ["derive"] }
anyhow = "1.0.44"
futures = "0.3.17"
jsonpath_lib = "0.3.0"
kube = { path = "../kube", version = "^0.71.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.71.0", default-features = false } # only needed to opt out of schema
kube = { path = "../kube", version = "^0.72.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.72.0", default-features = false } # only needed to opt out of schema
k8s-openapi = { version = "0.14.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
@@ -1,6 +1,6 @@
[package]
name = "kube-client"
version = "0.71.0"
version = "0.72.0"
description = "Kubernetes client"
authors = [
"clux <sszynrae@gmail.com>",
Expand Down Expand Up @@ -55,7 +55,7 @@ rustls = { version = "0.20.3", 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.71.0" }
kube-core = { path = "../kube-core", version = "=0.72.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
@@ -1,7 +1,7 @@
[package]
name = "kube-core"
description = "Kube shared types, traits and client-less behavior"
version = "0.71.0"
version = "0.72.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.71.0"
version = "0.72.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.71.0", feature = ["derive"] }
kube = { version = "0.72.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.71.0"
version = "0.72.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.71.0", default-features = false, features = ["jsonpatch", "client"] }
kube-client = { path = "../kube-client", version = "=0.72.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.71.0"
version = "0.72.0"
description = "Kubernetes client and async controller runtime"
authors = [
"clux <sszynrae@gmail.com>",
Expand Down Expand Up @@ -36,10 +36,10 @@ features = ["client", "native-tls", "rustls-tls", "openssl-tls", "derive", "ws",
rustdoc-args = ["--cfg", "docsrs"]

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

Please sign in to comment.