From 17ebe10064cf7fcee4f5524b3c1daca27a8d2fdc Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Wed, 14 Aug 2019 21:50:19 -0700 Subject: [PATCH] document breaking changes from openapi-generator --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 323cd3923..514d6fa38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ **New Feature:** - Add dynamic client [kubernetes-client/python-base#56](https://github.com/kubernetes-client/python-base/pull/56) +**Breaking Change:** +- The Python client will be generated by openapi-generator, with the following breaking changes [kubernetes-client/gen#97](https://github.com/kubernetes-client/gen/pull/97) +- `kubernetes.client.apis` package is renamed to `kubernetes.client.api` +- `kubernetes` package code now uses absolute import instead of relative import +- API requests won't have `Content-Type` specified in HTTP headers +- The `swagger_types` attribute in all models is renamed to `openapi_types` + # v10.0.0 **Bug Fix:** - Fix base64 padding for kube config [kubernetes-client/python-base#79](https://github.com/kubernetes-client/python-base/pull/79)