Skip to content

Commit

Permalink
v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnavion committed Sep 8, 2019
1 parent 5936200 commit a42c1f9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "k8s-openapi"
version = "0.5.0"
version = "0.5.1"
license = "Apache-2.0"
authors = ["Arnavion <[email protected]>"]
categories = ["api-bindings", "web-programming::http-client"]
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.5.0"
version = "0.5.1"
license = "Apache-2.0"
authors = ["Arnavion <[email protected]>"]
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.5.0-beta.1"
version = "0.5.1-beta.1"
license = "Apache-2.0"
authors = ["Arnavion <[email protected]>"]
categories = ["api-bindings", "web-programming::http-client"]
Expand All @@ -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"] }
Expand Down

0 comments on commit a42c1f9

Please sign in to comment.