-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Deprecation process for the rest spec #38102
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
CCR is in beta in 6.5 and subject to breakage in a minor version. |
Pinging @elastic/es-core-infra |
100% agree that developers should be allowed to change features, especially for those in their infancy. However, the current specification does not sufficiently document that a feature is; Last count we are at 235 REST API specification documents. Can I please table the idea that such changes are best communicated through the specification itself, (perhaps with the adoption of an attribute?), as opposed to an out-of-band mechanism? |
Opened: #38413 to address your last point @codebrain. |
Closing this in favor of: #35262 |
A couple of breaking changes went into the 6.6.0 branch on the
rest-api-spec
folder:ccr.resume_follow.json
changed body from required to false._source_include
and_source_exclude
url parameters #33475 changed_source_include
to_source_includes
get.json
it added_source_includes
next to_source_include
Opening this issue to serve as a reminder that changes in
rest-api-spec
should be additive only.The other is to discuss how we should denote deprecation more structurally
e.g in
indices.clear_cache.json
suggestion:
Where an
""
empty string denotes a removed but still supportedparam
.This would allow us to more clearly support an deprecation such as made #33475 as additive change in the rest spec.
In 7.0 we will also have deprecated paths.
In some cases the deprecated urls are removed completely from the spec, which is more clear cut since it basically only drops a prefix (_xpack in e.g the machinelearning API's). Removing is totally the right thing to do here.
In others index.json
"/{index}/{type}/{id}"
is deprecated but still listed.I think clients should keep generating this url to support users migrating but the spec needs to be able to signal its a deprecated API.
The text was updated successfully, but these errors were encountered: