Skip to content

Commit

Permalink
v0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnavion committed Oct 8, 2021
1 parent d612c83 commit 0e5de07
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 5 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
# v0.13.1 (2021-10-08)

## k8s-openapi

- BUGFIX: v0.13.0 added `schemars::JsonSchema` impls for resource types. For types like `k8s_openapi::apimachinery::pkg::apis::meta::v1::FieldsV1` that are objects with no defined structure, the impl incorrectly emitted the schema as `{}` instead of `{ "type": "object" }`. This has now been fixed.

Corresponding Kubernetes API server versions:

- v1.11.10
- v1.12.10
- v1.13.12
- v1.14.10
- v1.15.12
- v1.16.15
- v1.17.17
- v1.18.20
- v1.19.15
- v1.20.11
- v1.21.5
- v1.22.2

## k8s-openapi-codegen-common

- BUGFIX: See the bugfix mentioned above.

## k8s-openapi-derive

- No changes except to bump the `k8s-openapi-codegen-common` dependency to the new version.

---

# v0.13.0 (2021-08-09)

## k8s-openapi
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "k8s-openapi"
version = "0.13.0"
version = "0.13.1"
license = "Apache-2.0"
authors = ["Arnavion <me@arnavion.dev>"]
categories = ["api-bindings", "web-programming::http-client"]
Expand All @@ -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.13.0"
links = "k8s-openapi-0.13.1"

[dependencies]
base64 = "0.13"
Expand Down
2 changes: 1 addition & 1 deletion k8s-openapi-codegen-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "k8s-openapi-codegen-common"
version = "0.13.0"
version = "0.13.1"
license = "Apache-2.0"
authors = ["Arnavion <me@arnavion.dev>"]
categories = ["api-bindings", "web-programming::http-client"]
Expand Down
4 changes: 2 additions & 2 deletions k8s-openapi-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "k8s-openapi-derive"
version = "0.13.0"
version = "0.13.1"
license = "Apache-2.0"
authors = ["Arnavion <me@arnavion.dev>"]
categories = ["api-bindings", "web-programming::http-client"]
Expand All @@ -19,7 +19,7 @@ include = [

[dependencies]
http = "0.2"
k8s-openapi-codegen-common = { version = "=0.13.0", path = "../k8s-openapi-codegen-common" }
k8s-openapi-codegen-common = { version = "=0.13.1", path = "../k8s-openapi-codegen-common" }
proc-macro2 = "1"
quote = "1"
syn = { version = "1", features = ["extra-traits"] }
Expand Down

0 comments on commit 0e5de07

Please sign in to comment.