-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[RFC] Major breaking changes in an upcoming release, python client generation #1943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for your contribution 👍 Definitely it's worth to use the latest version of openapi-generator but from our customers' perspective (people who use this library) each breaking change is always a headache. We should consider adding proxy classes/modules to allow to use old code with deprecation warnings. We used to have a similar problem with renaming modules and we added this: Also adding some examples to description of change would be useful. Some of them are not clear for me, for example: "So you will need to update how you pass data in to endpoints". Is it for all endpoints? Is my code affected? How can I fix it? |
Thanks for the feedback @tomplus |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Request for comments (rfc):
Hi Kubernetes Python client developers, this is a request for comment issue. Please leave comments if you have any opinion/suggestion. Thanks!
What happened:
A majority of the code base is generated code. This repo is switching from using openapi-generator v4.3.0 to v6.2.1. For more background:
#1887
This change updates the generated python client code from 4.3.0, March 2020 to 6.2.1, November 2022
The newer python client code
#1887
This new code has some breaking changes which will require code that uses the client to be updated.
The breaking changes are:
date-time, uuid, number etc then you will need to use accessor functions on the instance
keyword in one schema, and include a format constraint in another schema
and additionalProperty values
apis by tags and by paths
What versions are affected?:
TBD if this is accepted, then an impacted version would be decided.
The text was updated successfully, but these errors were encountered: