Repository navigation
v0.8.0
-
BREAKING CHANGE: Support for v1.8, v1.9 and v1.10 API servers has been dropped. These versions became hard to test with
kubectlandkindare are not supported by major cloud providers. -
BREAKING CHANGE:
k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::JSONSchemaPropsOrArray,JSONSchemaPropsOrBoolandJSONSchemaPropsOrStringArraytypes now wrap thev1::JSONSchemaPropstype. Previously they incorrectly wrapped thev1beta1::JSONSchemaPropstype. -
BREAKING CHANGE: Turning the
apifeature off now also disables thek8s_openapi::{http,percent_encoding,url}re-exports, thek8s_openapi::percent_encoding2module, thek8s_openapi::{RequestError,ResponseError,ResponseBody}types, thek8s_openapi::Responsetrait, and thek8s_openapi::{Create,Delete,List,Patch,Replace,Watch}{Optional,Response}types. All of these were only used by the API functions which had been disabled by turning theapifeature off. -
BUGFIX:
k8s_openapi::apimachinery::pkg::apis::meta::v1::MicroTimeandTimeare now serialized with six and zero decimals in their seconds respectively, to match the API server's expectations. Previously they would be serialized with a variable number of decimals up to nine. -
FEATURE: Added support for Kubernetes 1.18 under the
v1_18feature. -
FEATURE:
k8s_openapi::ByteStringnow implsPartialOrdandOrd. -
FEATURE:
k8s_openapi::apimachinery::pkg::apis::meta::v1::MicroTimeandTimenow implEq,PartialOrdandOrd. -
FEATURE: If your crate has a dependency on
k8s-openapi, you can now use a build script to detect which version feature has been enabled on the crate. This is a more verbose but also more flexible alternative to using thek8s_if_*version detection macros in your crate code. -
FEATURE:
k8s-openapi-derive's#[derive(CustomResourceDefinition)]now supports emitting a subresources field in the generated CR type.
Corresponding Kubernetes API server versions:
- v1.11.10
- v1.12.10
- v1.13.12
- v1.14.10
- v1.15.11
- v1.16.9
- v1.17.5
- v1.18.2