diff --git a/CHANGELOG.md b/CHANGELOG.md index 00b130006..7c2aae81b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ 0.48.0 / 2021-01-XX =================== + * bump `k8s-openapi` to `0.11.0` - #388 * breaking: `kube`: no longer necessary to serialize patches yourself - #386 - `PatchParams` removes `PatchStrategy` - `Api::patch*` methods now take an enum `Patch` type diff --git a/README.md b/README.md index 51451701f..4b039fb57 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github [dependencies] kube = "0.47.0" kube-runtime = "0.47.0" -k8s-openapi = { version = "0.9.0", default-features = false, features = ["v1_17"] } +k8s-openapi = { version = "0.11.0", default-features = false, features = ["v1_20"] } ``` [Features are available](https://github.com/clux/kube-rs/blob/master/kube/Cargo.toml#L18). @@ -151,7 +151,7 @@ Kube has basic support ([with caveats](https://github.com/clux/kube-rs/issues?q= [dependencies] kube = { version = "0.47.0", default-features = false, features = ["rustls-tls"] } kube-runtime = { version = "0.47.0", default-features = false, features = ["rustls-tls"] } -k8s-openapi = { version = "0.9.0", default-features = false, features = ["v1_17"] } +k8s-openapi = { version = "0.11.0", default-features = false, features = ["v1_20"] } ``` This will pull in the variant of `reqwest` that also uses its `rustls-tls` feature. diff --git a/examples/Cargo.toml b/examples/Cargo.toml index dc1e5f68d..47889928f 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -24,7 +24,7 @@ futures = "0.3.8" kube = { path = "../kube", version = "^0.47.0", default-features = false } kube-derive = { path = "../kube-derive", version = "^0.47.0", default-features = false } # only needed to opt out of schema kube-runtime = { path = "../kube-runtime", version = "^0.47.0", default-features = false } -k8s-openapi = { version = "0.10.0", features = ["v1_19"], default-features = false } +k8s-openapi = { version = "0.11.0", features = ["v1_19"], default-features = false } log = "0.4.11" serde = { version = "1.0.118", features = ["derive"] } serde_json = "1.0.61" diff --git a/kube-derive/Cargo.toml b/kube-derive/Cargo.toml index b9627617b..db8384c99 100644 --- a/kube-derive/Cargo.toml +++ b/kube-derive/Cargo.toml @@ -28,6 +28,6 @@ schema = [] [dev-dependencies] serde = { version = "1.0.118", features = ["derive"] } serde_yaml = "0.8.14" -k8s-openapi = { version = "0.10.0", default-features = false, features = ["v1_19"] } +k8s-openapi = { version = "0.11.0", default-features = false, features = ["v1_19"] } schemars = { version = "0.8.0", features = ["chrono"] } chrono = "0.4.19" diff --git a/kube-runtime/Cargo.toml b/kube-runtime/Cargo.toml index 35b42e5e9..419176b46 100644 --- a/kube-runtime/Cargo.toml +++ b/kube-runtime/Cargo.toml @@ -25,7 +25,7 @@ dashmap = "4.0.1" tokio-util = { version = "0.6.0", features = ["time"] } [dependencies.k8s-openapi] -version = "0.10.0" +version = "0.11.0" default-features = false [features] @@ -41,6 +41,6 @@ rand = "0.8.0" schemars = "0.8.0" [dev-dependencies.k8s-openapi] -version = "0.10.0" +version = "0.11.0" default-features = false features = ["v1_19"] diff --git a/kube/Cargo.toml b/kube/Cargo.toml index 4d45d3946..69781c5aa 100644 --- a/kube/Cargo.toml +++ b/kube/Cargo.toml @@ -73,7 +73,7 @@ default-features = false features = ["json", "gzip", "stream"] [dependencies.k8s-openapi] -version = "0.10.0" +version = "0.11.0" default-features = false features = [] @@ -83,6 +83,6 @@ tokio = { version = "1.0.1", features = ["full"] } schemars = "0.8.0" [dev-dependencies.k8s-openapi] -version = "0.10.0" +version = "0.11.0" default-features = false features = ["v1_19"] diff --git a/tests/Cargo.toml b/tests/Cargo.toml index af6e0a75c..e55d8df8e 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1.0.37" env_logger = "0.8.2" futures = "0.3.8" kube = { path = "../kube", version = "^0.47.0"} -k8s-openapi = { version = "0.10.0", features = ["v1_19"], default-features = false } +k8s-openapi = { version = "0.11.0", features = ["v1_19"], default-features = false } log = "0.4.11" serde_json = "1.0.61" tokio = { version = "1.0.1", features = ["full"] }