From a42c1f9b94619d516d987bb52b31e1e1e4346b04 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Sun, 8 Sep 2019 16:25:00 -0700 Subject: [PATCH] v0.5.1 --- CHANGELOG.md | 17 +++++++++++++++++ Cargo.toml | 2 +- k8s-openapi-codegen-common/Cargo.toml | 2 +- k8s-openapi-derive/Cargo.toml | 4 ++-- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12350c55e6..68195177c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +# v0.5.1 (2019-09-08) + +- FEATURE: The `k8s-openapi` crate now has a default-enabled feature named `api`. If the library will only contain the resource types like [`api::core::v1::Pod`] and not the associated operation functions like [`api::core::v1::Pod::read_namespaced_pod`]. The corresponding `Response` and `Optional` types will also not be accessible. If your crate does not need the operation functions, you can disable this feature to save on compile time and resources. + +Corresponding Kubernetes API server versions: + +- v1.8.15 +- v1.9.11 +- v1.10.13 +- v1.11.10 +- v1.12.10 +- v1.13.10 +- v1.14.6 +- v1.15.3 + +--- + # v0.5.0 (2019-08-04) - BREAKING CHANGE: The optional parameters of delete, list, patch and watch operations are now emitted as a single common type - `k8s_openapi::DeleteOptional`, `k8s_openapi::ListOptional`, `k8s_openapi::PatchOptional` and `k8s_openapi::WatchOptional` respectively. For example, where an operation like `k8s_openapi::api::core::v1::Pod::list_namespaced_pod` used to have an `optional: k8s_openapi::api::core::v1::ListNamespacedPodOptional<'_>`, it now has an `optional: k8s_openapi::ListOptional<'_>` parameter instead. diff --git a/Cargo.toml b/Cargo.toml index 573fb1389d..779c5cbe00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "k8s-openapi" -version = "0.5.0" +version = "0.5.1" license = "Apache-2.0" authors = ["Arnavion "] categories = ["api-bindings", "web-programming::http-client"] diff --git a/k8s-openapi-codegen-common/Cargo.toml b/k8s-openapi-codegen-common/Cargo.toml index 47e03837c5..b5b7ba1373 100644 --- a/k8s-openapi-codegen-common/Cargo.toml +++ b/k8s-openapi-codegen-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "k8s-openapi-codegen-common" -version = "0.5.0" +version = "0.5.1" license = "Apache-2.0" authors = ["Arnavion "] categories = ["api-bindings", "web-programming::http-client"] diff --git a/k8s-openapi-derive/Cargo.toml b/k8s-openapi-derive/Cargo.toml index c8f2feb719..5b761af765 100644 --- a/k8s-openapi-derive/Cargo.toml +++ b/k8s-openapi-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "k8s-openapi-derive" -version = "0.5.0-beta.1" +version = "0.5.1-beta.1" license = "Apache-2.0" authors = ["Arnavion "] categories = ["api-bindings", "web-programming::http-client"] @@ -19,7 +19,7 @@ include = [ [dependencies] http = "0.1" -k8s-openapi-codegen-common = { version = "=0.5.0", path = "../k8s-openapi-codegen-common" } +k8s-openapi-codegen-common = { version = "=0.5.1", path = "../k8s-openapi-codegen-common" } proc-macro2 = "1" quote = "1" syn = { version = "1", features = ["extra-traits"] }