From 789dfef4c4022d13a09a4d4c97067be7472db160 Mon Sep 17 00:00:00 2001 From: Arnav Singh Date: Sun, 15 Sep 2024 21:13:47 -0700 Subject: [PATCH] v0.23.0 --- CHANGELOG.md | 25 +++++++++++++++++++++++++ CONTRIBUTING.md | 4 ++-- Cargo.toml | 6 +++--- k8s-openapi-codegen-common/Cargo.toml | 4 ++-- k8s-openapi-derive/Cargo.toml | 6 +++--- 5 files changed, 35 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18797d21c9..4106d30286 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +# v0.23.0 (2024-09-15) + +- BREAKING CHANGE: Added support for Kubernetes 1.31 under the `v1_31` feature. + +- BREAKING CHANGE: Dropped support for Kubernetes 1.24 and 1.25. + +Corresponding Kubernetes API server versions: + +- v1.26.15 +- v1.27.16 +- v1.28.14 +- v1.29.9 +- v1.30.5 +- v1.31.1 + +## k8s-openapi-codegen-common + +- No changes. + +## k8s-openapi-derive + +- No changes except to bump the `k8s-openapi-codegen-common` dependency to the new version. + +--- + # v0.22.0 (2024-05-04) ## k8s-openapi diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e99b10d465..4ca8e4ec88 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -111,8 +111,8 @@ K8S_RECORD=1 ./test.sh all run-tests cargo rustdoc --features 'latest' -- -A 'rustdoc::bare_urls' -Z unstable-options --enable-index-page && CARGO_TARGET_DIR="$(realpath ./target)" cargo rustdoc --manifest-path ./k8s-openapi-codegen-common/Cargo.toml -- -Z unstable-options --enable-index-page && CARGO_TARGET_DIR="$(realpath ./target)" cargo rustdoc --manifest-path ./k8s-openapi-derive/Cargo.toml -- -Z unstable-options --enable-index-page && - rm -rf ../k8s-openapi-gh-pages/v0.22.x && - cp -R ./target/doc ../k8s-openapi-gh-pages/v0.22.x + rm -rf ../k8s-openapi-gh-pages/v0.23.x && + cp -R ./target/doc ../k8s-openapi-gh-pages/v0.23.x ``` 1. `../k8s-openapi-gh-pages/index.html`: Add new anchor if this is a new major release diff --git a/Cargo.toml b/Cargo.toml index 5928c97e59..577317a76d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "k8s-openapi" -version = "0.22.0" +version = "0.23.0" license = "Apache-2.0" authors = ["Arnav Singh "] categories = ["api-bindings", "web-programming::http-client"] description = "Bindings for the Kubernetes client API" -documentation = "https://arnavion.github.io/k8s-openapi/v0.22.x/k8s_openapi/" +documentation = "https://arnavion.github.io/k8s-openapi/v0.23.x/k8s_openapi/" edition = "2021" keywords = ["client", "kubernetes", "k8s", "http"] readme = "README.md" @@ -25,7 +25,7 @@ include = [ # to enumerate all env vars looking for one with `DEP_K8S_OPENAPI_` prefix and `_VERSION` suffix, instead of looking it up by its whole name. # # See https://github.com/rust-lang/cargo/issues/3544 for being able to pass metadata to downstream without setting this key. -links = "k8s-openapi-0.22.0" +links = "k8s-openapi-0.23.0" [dependencies] base64 = { version = "0.22", default-features = false, features = [ diff --git a/k8s-openapi-codegen-common/Cargo.toml b/k8s-openapi-codegen-common/Cargo.toml index a6efca9cbc..48dc7384fb 100644 --- a/k8s-openapi-codegen-common/Cargo.toml +++ b/k8s-openapi-codegen-common/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "k8s-openapi-codegen-common" -version = "0.22.0" +version = "0.23.0" license = "Apache-2.0" authors = ["Arnav Singh "] categories = ["api-bindings", "web-programming::http-client"] description = "Common code for the k8s-openapi code generator and k8s-openapi-derive" -documentation = "https://arnavion.github.io/k8s-openapi/v0.22.x/k8s_openapi_codegen_common/" +documentation = "https://arnavion.github.io/k8s-openapi/v0.23.x/k8s_openapi_codegen_common/" edition = "2021" keywords = ["client", "kubernetes", "k8s", "http"] readme = "README.md" diff --git a/k8s-openapi-derive/Cargo.toml b/k8s-openapi-derive/Cargo.toml index bba6c521f1..7aee4078a9 100644 --- a/k8s-openapi-derive/Cargo.toml +++ b/k8s-openapi-derive/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "k8s-openapi-derive" -version = "0.22.0" +version = "0.23.0" license = "Apache-2.0" authors = ["Arnav Singh "] categories = ["api-bindings", "web-programming::http-client"] description = "Custom derives for the Kubernetes client API" -documentation = "https://arnavion.github.io/k8s-openapi/v0.22.x/k8s_openapi_derive/" +documentation = "https://arnavion.github.io/k8s-openapi/v0.23.x/k8s_openapi_derive/" edition = "2021" keywords = ["client", "kubernetes", "k8s", "http"] readme = "README.md" @@ -18,7 +18,7 @@ include = [ ] [dependencies] -k8s-openapi-codegen-common = { version = "=0.22.0", path = "../k8s-openapi-codegen-common" } +k8s-openapi-codegen-common = { version = "=0.23.0", path = "../k8s-openapi-codegen-common" } proc-macro2 = { version = "1", default-features = false, features = ["proc-macro"] } quote = { version = "1", default-features = false } syn = { version = "2", default-features = false, features = [