Skip to content

Commit 876debb

Browse files
committed
release 0.80.0
1 parent f4dec45 commit 876debb

File tree

10 files changed

+23
-20
lines changed

10 files changed

+23
-20
lines changed

CHANGELOG.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@
55
<!-- next-header -->
66
UNRELEASED
77
===================
8-
* see https://github.com/kube-rs/kube/compare/0.79.0...main
8+
* see https://github.com/kube-rs/kube/compare/0.80.0...main
9+
10+
0.80.0 / 2023-03-02
11+
===================
912

1013
[0.79.0](https://github.com/kube-rs/kube/releases/tag/0.79.0) / 2023-02-23
1114
===================
1215
<!-- Release notes generated using configuration in .github/release.yml at 0.79.0 -->
1316
## Watch Improvements
14-
A big feature this time around is the added support for the metadata api via #1137. This is a variant api that **only** returns the `ObjectMeta` and `TypeMeta` to reduce network load, and has a low-level watch analogue available at `Api::watch_metadata`. Most users will generally want an infinite watch stream rather than the low-level method, so `kube::runtime::metadata_watcher` has been added as a direct analogue of `watcher` via #1145. The [dynamic_watcher example](https://github.com/kube-rs/kube/blob/0f632eaa88b8eef2a232ca7c7dd1f841d32f6454/examples/dynamic_watcher.rs#L33-L54) shows how to switch between the two to get up and running.
17+
A big feature this time around is the added support for the metadata api via [#1137](https://github.com/kube-rs/kube/issues/1137). This is a variant api that **only** returns the `ObjectMeta` and `TypeMeta` to reduce network load, and has a low-level watch analogue available at `Api::watch_metadata`. Most users will generally want an infinite watch stream rather than the low-level method, so `kube::runtime::metadata_watcher` has been added as a direct analogue of `watcher` via [#1145](https://github.com/kube-rs/kube/issues/1145). The [dynamic_watcher example](https://github.com/kube-rs/kube/blob/0f632eaa88b8eef2a232ca7c7dd1f841d32f6454/examples/dynamic_watcher.rs#L33-L54) shows how to switch between the two to get up and running.
1518

1619
The `watcher` also [emits warnings](https://github.com/kube-rs/kube/pull/1134/files#diff-5078d84d257800c4fba86a30c501afa5fd4612473832bce7a02cd95099b1b474) now when HTTP `403`s are encountered from Kubernetes, as this usually indicates a non-transient misconfiguration that must be fixed on the administrator side with RBAC.
1720

18-
Finally, there is work in progress on shared streams via `WatchStreamExt` from #1131 under an unstable feature.
21+
Finally, there is work in progress on shared streams via `WatchStreamExt` from [#1131](https://github.com/kube-rs/kube/issues/1131) under an unstable feature.
1922

2023
## What's Changed
2124
### Added

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github
1616

1717
```toml
1818
[dependencies]
19-
kube = { version = "0.79.0", features = ["runtime", "derive"] }
19+
kube = { version = "0.80.0", features = ["runtime", "derive"] }
2020
k8s-openapi = { version = "0.17.0", features = ["v1_26"] }
2121
```
2222

@@ -152,7 +152,7 @@ Kube has basic support ([with caveats](https://github.com/kube-rs/kube/issues?q=
152152

153153
```toml
154154
[dependencies]
155-
kube = { version = "0.79.0", default-features = false, features = ["client", "rustls-tls"] }
155+
kube = { version = "0.80.0", default-features = false, features = ["client", "rustls-tls"] }
156156
k8s-openapi = { version = "0.17.0", features = ["v1_26"] }
157157
```
158158

e2e/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ anyhow = "1.0.44"
2828
tracing = "0.1.36"
2929
tracing-subscriber = "0.3.3"
3030
futures = "0.3.17"
31-
kube = { path = "../kube", version = "^0.79.0", default-features = false, features = ["client", "runtime", "ws", "admission", "gzip"] }
31+
kube = { path = "../kube", version = "^0.80.0", default-features = false, features = ["client", "runtime", "ws", "admission", "gzip"] }
3232
k8s-openapi = { version = "0.17.0", default-features = false }
3333
serde_json = "1.0.68"
3434
tokio = { version = "1.14.0", features = ["full"] }

examples/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ validator = { version = "0.16.0", features = ["derive"] }
2929
anyhow = "1.0.44"
3030
futures = "0.3.17"
3131
jsonpath_lib = "0.3.0"
32-
kube = { path = "../kube", version = "^0.79.0", default-features = false, features = ["admission"] }
33-
kube-derive = { path = "../kube-derive", version = "^0.79.0", default-features = false } # only needed to opt out of schema
32+
kube = { path = "../kube", version = "^0.80.0", default-features = false, features = ["admission"] }
33+
kube-derive = { path = "../kube-derive", version = "^0.80.0", default-features = false } # only needed to opt out of schema
3434
k8s-openapi = { version = "0.17.0", default-features = false }
3535
serde = { version = "1.0.130", features = ["derive"] }
3636
serde_json = "1.0.68"

kube-client/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kube-client"
3-
version = "0.79.0"
3+
version = "0.80.0"
44
description = "Kubernetes client"
55
authors = [
66
@@ -53,7 +53,7 @@ rustls = { version = "0.20.3", features = ["dangerous_configuration"], optional
5353
rustls-pemfile = { version = "1.0.0", optional = true }
5454
bytes = { version = "1.1.0", optional = true }
5555
tokio = { version = "1.14.0", features = ["time", "signal", "sync"], optional = true }
56-
kube-core = { path = "../kube-core", version = "=0.79.0" }
56+
kube-core = { path = "../kube-core", version = "=0.80.0" }
5757
jsonpath_lib = { version = "0.3.0", optional = true }
5858
tokio-util = { version = "0.7.0", optional = true, features = ["io", "codec"] }
5959
hyper = { version = "0.14.13", optional = true, features = ["client", "http1", "stream", "tcp"] }

kube-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "kube-core"
33
description = "Kube shared types, traits and client-less behavior"
4-
version = "0.79.0"
4+
version = "0.80.0"
55
authors = [
66
77

kube-derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "kube-derive"
33
description = "Custom derives for the kube kubernetes crates"
4-
version = "0.79.0"
4+
version = "0.80.0"
55
authors = [
66
77

kube-derive/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Add the `derive` feature to `kube`:
66

77
```toml
88
[dependencies]
9-
kube = { version = "0.79.0", feature = ["derive"] }
9+
kube = { version = "0.80.0", feature = ["derive"] }
1010
```
1111

1212
## Usage

kube-runtime/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kube-runtime"
3-
version = "0.79.0"
3+
version = "0.80.0"
44
description = "Kubernetes futures controller runtime"
55
authors = [
66
"Natalie Klestrup Röijezon <[email protected]>",
@@ -25,7 +25,7 @@ rustdoc-args = ["--cfg", "docsrs"]
2525

2626
[dependencies]
2727
futures = "0.3.17"
28-
kube-client = { path = "../kube-client", version = "=0.79.0", default-features = false, features = ["jsonpatch", "client"] }
28+
kube-client = { path = "../kube-client", version = "=0.80.0", default-features = false, features = ["jsonpatch", "client"] }
2929
derivative = "2.1.1"
3030
serde = "1.0.130"
3131
smallvec = "1.7.0"

kube/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kube"
3-
version = "0.79.0"
3+
version = "0.80.0"
44
description = "Kubernetes client and async controller runtime"
55
authors = [
66
@@ -36,10 +36,10 @@ features = ["client", "rustls-tls", "openssl-tls", "derive", "ws", "oauth", "jso
3636
rustdoc-args = ["--cfg", "docsrs"]
3737

3838
[dependencies]
39-
kube-derive = { path = "../kube-derive", version = "=0.79.0", optional = true }
40-
kube-core = { path = "../kube-core", version = "=0.79.0" }
41-
kube-client = { path = "../kube-client", version = "=0.79.0", default-features = false, optional = true }
42-
kube-runtime = { path = "../kube-runtime", version = "=0.79.0", optional = true}
39+
kube-derive = { path = "../kube-derive", version = "=0.80.0", optional = true }
40+
kube-core = { path = "../kube-core", version = "=0.80.0" }
41+
kube-client = { path = "../kube-client", version = "=0.80.0", default-features = false, optional = true }
42+
kube-runtime = { path = "../kube-runtime", version = "=0.80.0", optional = true}
4343

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

0 commit comments

Comments
 (0)