-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] make deprecated paths public #175038
[Fleet] make deprecated paths public #175038
Conversation
Pinging @elastic/fleet (Team:Fleet) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀 Thanks for tracking this down.
/ci |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
## Summary Closes elastic#175031 Made deprecated APIs public instead of internal, to fix the accidental breaking change for customers who called these APIs before (internal APIs don't have a default version resolution yet, so require a version header) One caveat of this change is if someone already changed their deprecated API call to use 'elastic-api-version: 1' in 8.11, as it would have to be changed again to use the public version or remove the header. Though I don't think we have many usages like that, since the version usage is not very well documented and we only got one support question about it. (cherry picked from commit e31118a)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
# Backport This will backport the following commits from `main` to `8.12`: - [[Fleet] make deprecated paths public (#175038)](#175038) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julia Bardi","email":"90178898+juliaElastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-01-18T14:35:56Z","message":"[Fleet] make deprecated paths public (#175038)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/175031\r\n\r\nMade deprecated APIs public instead of internal, to fix the accidental\r\nbreaking change for customers who called these APIs before (internal\r\nAPIs don't have a default version resolution yet, so require a version\r\nheader)\r\n\r\nOne caveat of this change is if someone already changed their deprecated\r\nAPI call to use 'elastic-api-version: 1' in 8.11, as it would have to be\r\nchanged again to use the public version or remove the header. Though I\r\ndon't think we have many usages like that, since the version usage is\r\nnot very well documented and we only got one support question about it.","sha":"e31118abf9d3e312951f9184066242690c6a2ef5","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.12.1","v8.13.0"],"title":"[Fleet] make deprecated paths public","number":175038,"url":"https://github.com/elastic/kibana/pull/175038","mergeCommit":{"message":"[Fleet] make deprecated paths public (#175038)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/175031\r\n\r\nMade deprecated APIs public instead of internal, to fix the accidental\r\nbreaking change for customers who called these APIs before (internal\r\nAPIs don't have a default version resolution yet, so require a version\r\nheader)\r\n\r\nOne caveat of this change is if someone already changed their deprecated\r\nAPI call to use 'elastic-api-version: 1' in 8.11, as it would have to be\r\nchanged again to use the public version or remove the header. Though I\r\ndon't think we have many usages like that, since the version usage is\r\nnot very well documented and we only got one support question about it.","sha":"e31118abf9d3e312951f9184066242690c6a2ef5"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/175038","number":175038,"mergeCommit":{"message":"[Fleet] make deprecated paths public (#175038)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/175031\r\n\r\nMade deprecated APIs public instead of internal, to fix the accidental\r\nbreaking change for customers who called these APIs before (internal\r\nAPIs don't have a default version resolution yet, so require a version\r\nheader)\r\n\r\nOne caveat of this change is if someone already changed their deprecated\r\nAPI call to use 'elastic-api-version: 1' in 8.11, as it would have to be\r\nchanged again to use the public version or remove the header. Though I\r\ndon't think we have many usages like that, since the version usage is\r\nnot very well documented and we only got one support question about it.","sha":"e31118abf9d3e312951f9184066242690c6a2ef5"}}]}] BACKPORT--> --------- Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com> Co-authored-by: Julia Bardi <julia.bardi@elastic.co>
## Summary Closes elastic#175031 Made deprecated APIs public instead of internal, to fix the accidental breaking change for customers who called these APIs before (internal APIs don't have a default version resolution yet, so require a version header) One caveat of this change is if someone already changed their deprecated API call to use 'elastic-api-version: 1' in 8.11, as it would have to be changed again to use the public version or remove the header. Though I don't think we have many usages like that, since the version usage is not very well documented and we only got one support question about it.
Summary
Closes #175031
Made deprecated APIs public instead of internal, to fix the accidental breaking change for customers who called these APIs before (internal APIs don't have a default version resolution yet, so require a version header)
One caveat of this change is if someone already changed their deprecated API call to use 'elastic-api-version: 1' in 8.11, as it would have to be changed again to use the public version or remove the header. Though I don't think we have many usages like that, since the version usage is not very well documented and we only got one support question about it.