-
Notifications
You must be signed in to change notification settings - Fork 970
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
Provide additional information about GoCD deprecated APIs #7713
Comments
@gocd/committers - Thoughts? |
ExampleConfig Repo API v2 will be deprecated in GoCD Release X-GoCD-API-Deprecated-In: v20.2.0 Description:As GoCD is a self-hosted tool, specifying Date values for deprecation header would be tough and confusing, because:
As the GoCD API deprecations are tied to GoCD versions and not to dates, use GoCD release version in the API deprecation headers. Header Description:
Resources: |
Deprecate following GoCD APIsRelease 20.2.0
Release 20.1.0
Release 19.12.0
|
this all looks reasonable, if all you want to communicate are versions. i'd like to suggest that adding timestamp information may be useful because that would tell people when to expect deprecation and sunsetting. in the end, what consumers need to know is how long they can expect the API to be current, and to work at all. |
Hi @dret, Thank you very much for the suggestion. We did consider adding a timestamps to the deprecations and sunsetting, but it has following complications:
Note: This point is true assuming users upgrade immediately as the new release is available.
Hence, for GoCD, the API deprecations and removal are based on the GoCD release versions and not dates. |
Issue Type
Summary
There is no way for the clients consuming GoCD APIs to know whether the API under use is deprecated or not.
Add following additional information for the deprecated GoCD APIs
Whether the API is deprecated or not (along with the time when api was deprecated)
When the API will be removed.
Possibly add the link to the newer API version?
Add a warning about the deprecated API
The text was updated successfully, but these errors were encountered: