elastic / elasticsearch-java

Official Elasticsearch Java Client
Apache License 2.0
409 stars 239 forks source link

Issue fixing #847

Closed l-trotta closed 2 months ago

l-trotta commented 2 months ago

Update to the generated code from the latest specification. This includes https://github.com/elastic/elasticsearch-specification/pull/2724, https://github.com/elastic/elasticsearch-specification/pull/2721, and https://github.com/elastic/elasticsearch-specification/pull/2720, which fixes https://github.com/elastic/elasticsearch-java/issues/846, fixes https://github.com/elastic/elasticsearch-java/issues/838, fixes https://github.com/elastic/elasticsearch-java/issues/839.

dadoonet commented 2 months ago

Hey!

Is there a way to know in which version this will be available?

l-trotta commented 2 months ago

hey, all of these are breaking changes to the API, so they will be available in the next minor version, which is 8.15!

github-actions[bot] commented 2 months ago

The backport to 8.15 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.15 8.15
# Navigate to the new working tree
cd .worktrees/backport-8.15
# Create a new branch
git switch --create backport-847-to-8.15
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 bd8d2f69d39c014c52417ba6662c2a77e8a10348
# Push it to GitHub
git push --set-upstream origin backport-847-to-8.15
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.15

Then, create a pull request where the base branch is 8.15 and the compare/head branch is backport-847-to-8.15.