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
kubectl
andkind
are are not supported by major cloud providers. -
BREAKING CHANGE:
k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::JSONSchemaPropsOrArray
,JSONSchemaPropsOrBool
andJSONSchemaPropsOrStringArray
types now wrap thev1::JSONSchemaProps
type. Previously they incorrectly wrapped thev1beta1::JSONSchemaProps
type. -
BREAKING CHANGE: Turning the
api
feature off now also disables thek8s_openapi::{http,percent_encoding,url}
re-exports, thek8s_openapi::percent_encoding2
module, thek8s_openapi::{RequestError,ResponseError,ResponseBody}
types, thek8s_openapi::Response
trait, 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 theapi
feature off. -
BUGFIX:
k8s_openapi::apimachinery::pkg::apis::meta::v1::MicroTime
andTime
are 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_18
feature. -
FEATURE:
k8s_openapi::ByteString
now implsPartialOrd
andOrd
. -
FEATURE:
k8s_openapi::apimachinery::pkg::apis::meta::v1::MicroTime
andTime
now implEq
,PartialOrd
andOrd
. -
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