Repository navigation
v0.11.0
-
BREAKING CHANGE: This version partially reverts the change in v0.9.0 that made
k8s_openapi::apimachinery::pkg::apis::meta::v1::WatchEvent<T>requireT: k8s_openapi::Resource; now it only requiresT: serde::Deserialize<'de>once more. This has been done to make it possible to useWatchEventwith custom user-provided resource types that do not implementk8s_openapi::Resource.The
k8s_openapi::Resourcebound in v0.9.0 was added to be able to enforce that theWatchEvent::<T>::Bookmarkevents contain the correctapiVersionandkindfields for the specifiedTduring deserialization. Without the bound now, it is no longer possible to do that. So it is now possible to deserialize, say, aWatchEvent::<Pod>::Bookmarkas aWatchEvent::<Node>::Bookmarkwithout any runtime error. Take care to deserializewatch_*API responses into the rightk8s_openapi::WatchResponse<T>type, such as by relying on the returnedk8s_openapi::ResponseBody<T>as documented in the crate docs. -
BREAKING CHANGE: The
bytesdependency has been updated to match thetokiov1 ecosystem. -
FEATURE: Added support for Kubernetes 1.20 under the
v1_20feature.
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.15
- v1.19.7
- v1.20.2