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 1 commit 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.0 -> 9.0.0 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.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
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 filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants