Skip to content

[backend] Update dependency co.elastic.clients:elasticsearch-java to v9 (release/current) #3114

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

Open
wants to merge 4 commits into
base: release/current
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 3, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
co.elastic.clients:elasticsearch-java 8.18.1 -> 9.0.1 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

elastic/elasticsearch-java (co.elastic.clients:elasticsearch-java)

v9.0.1

Compare Source

What's Changed

Full Changelog: elastic/elasticsearch-java@v9.0.0...v9.0.1

v9.0.0

Compare Source

What's Changed

Check the official release notes - in particular the breaking changes! Also we have a new Reference page.
A migration guide from version 8.x to 9.x of the client will be published soon to make the upgrade process easier.
The easiest way to setup the new 9.0.0 client is to use the new builder, as explained in the new docs:

ElasticsearchClient esClient = ElasticsearchClient.of(b -> b
    .host(serverUrl)
    .apiKey(apiKey)
);

Otherwise to keep using the old builder and the legacy RestClient, the elasticsearch-rest-client dependency has to be added to the project:

// gradle
implementation("org.elasticsearch.client:elasticsearch-rest-client:9.0.0")
<!--maven-->
<dependency>
    <groupId>org.elasticsearch.client</groupId>
    <artifactId>elasticsearch-rest-client</artifactId>
    <version>9.0.0</version>
</dependency>

Full Changelog: elastic/elasticsearch-java@v8.18.0...v9.0.0


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies use for pull requests that update a dependency file filigran team use to identify PR from the Filigran team labels May 3, 2025
@renovate renovate bot force-pushed the renovate/release/current-major-elasticsearch.version branch 2 times, most recently from d432e03 to 3000a82 Compare May 9, 2025 22:57
@renovate renovate bot force-pushed the renovate/release/current-major-elasticsearch.version branch from 3000a82 to 16de1c3 Compare May 12, 2025 22:11
@guillaumejparis guillaumejparis force-pushed the renovate/release/current-major-elasticsearch.version branch from 16de1c3 to d3e3a7d Compare May 23, 2025 11:30
Copy link
Contributor Author

renovate bot commented May 23, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@guillaumejparis guillaumejparis force-pushed the renovate/release/current-major-elasticsearch.version branch from d3e3a7d to fb77832 Compare May 23, 2025 11:45
@guillaumejparis guillaumejparis force-pushed the renovate/release/current-major-elasticsearch.version branch from 7d51e34 to 67bb64a Compare June 2, 2025 12:03
@guillaumejparis
Copy link
Member

Cannot be merge atm because our CI is not x86-64-v2 compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies use for pull requests that update a dependency file do not merge Do not merge this PR until this tag will be removed filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant