Skip to content

Update dependency elasticsearch/elasticsearch to v9#3952

Closed
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/elasticsearch-elasticsearch-9.x
Closed

Update dependency elasticsearch/elasticsearch to v9#3952
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/elasticsearch-elasticsearch-9.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 30, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
elasticsearch/elasticsearch 8.* -> 9.* age adoption passing confidence

Release Notes

elastic/elasticsearch-php (elasticsearch/elasticsearch)

v9.0.0

Compare Source

  • Use of PHP 8.1+: Starting from 9.0.0 the elasticsearch-php client requires PHP 8.1+.
  • Compatibility with Elasticsearch 9.0: All changes and additions to Elasticsearch APIs for its 9.0 release are reflected in this release.
  • Serverless client merged in: the elastic/elasticsearch-serverless client is being deprecated, and its functionality has been merged back into this client. This should have zero impact on the way the client works by default. If an endpoint is available in serverless, the PHP function will contains a @group serverless phpdoc attribute.
    If you try to use an endpoint that is not available in serverless you will get a 410 HTTP error with a message as follows:
    "this endpoint exists but is not available when running in serverless mode".
    The 9.0.0 client can recognize that it is communicating with a serverless instance if you are using a URL managed by Elastic (e.g. *.elastic.cloud).
    If you are using a proxy, the client will be able to recognize that the host is serverless from the first response. Alternatively, you can explicitly indicate that the host is serverless using the Client::setServerless(true) function (false by default).
  • New transport library with PSR-18 cURL client as default: we've removed the Guzzle dependency from the client. By default, the built-in cURL-based HTTP client will be used if no other PSR-18 compatible clients are detected. See release 9.0.0 of elastic-transport-php.

v8.18.0: Release 8.18.0

Compare Source

This version includes the API changes in Elasticsearch 8.18.0.

General changes

This release introduces 23 new APIs.

Specific changes per endpoints

bulk
  • Added the include_source_on_error parameter (boolean), true or false if to include the document source in the error message in case of parsing errors. Defaults to true.
create
  • Added the include_source_on_error parameter (boolean), true or false if to include the document source in the error message in case of parsing errors. Defaults to true.
index
  • Added the include_source_on_error parameter (boolean), true or false if to include the document source in the error message in case of parsing errors. Defaults to true.
update
  • Added the include_source_on_error parameter (boolean), true or false if to include the document source in the error message in case of parsing errors. Defaults to true.
Cat.segments
  • Added the local parameter (boolean), return local information, do not retrieve the state from master node (default: false)
  • Added the master_timeout parameter (int|string), explicit operation timeout for connection to master node
Cat.tasks
  • Added the timeout parameter (int|string), period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error
  • Added the wait_for_completion parameter (boolean), if true, the request blocks until the task has completed
Eql.search
  • Added the allow_partial_search_results parameter (boolean), control whether the query should keep running in case of shard failures, and return partial results
  • Added the allow_partial_sequence_results parameter (boolean), control whether a sequence query should return partial results or no results at all in case of shard failures. This option has effect only if [allow_partial_search_results] is true
Esql.asyncQueryStop (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/esql.async_query_stop.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/esql-async-query-stop-api.html

Indices.putTemplate
  • Added the cause parameter (string), user defined reason for creating/updating the index template
Indices.resolveCluster
  • The name parameter is not mandatory anymore
  • Added the timeout parameter (int|string), the maximum time to wait for remote clusters to respond
Inference.chatCompletionUnified (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.chat_completion_unified.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/chat-completion-inference.html

Inference.completion (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.completion.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/post-inference-api.html

Inference.delete

This endpoint is not EXPERIMENTAL anymore

Inference.get

This endpoint is not EXPERIMENTAL anymore

Inference.inference

This endpoint is not EXPERIMENTAL anymore

Inference.put

This endpoint is not EXPERIMENTAL anymore

Inference.putAlibabacloud (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_alibabacloud.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-alibabacloud-ai-search.html

Inference.putAmazonbedrock (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_amazonbedrock.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-amazon-bedrock.html

Inference.putAnthropic (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_anthropic.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-anthropic.html

Inference.putAzureaistudio (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_azureaistudio.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-azure-ai-studio.html

Inference.putAzureopenai (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_azureopenai.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-azure-openai.html

Inference.putCohere (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_cohere.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-cohere.html

Inference.putElasticsearch (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_elasticsearch.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-elasticsearch.html

Inference.putElser (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_elser.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-elser.html

Inference.putGoogleaistudio (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_googleaistudio.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-google-ai-studio.html

Inference.putGooglevertexai (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_googlevertexai.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-google-vertex-ai.html

Inference.putHuggingFace (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_hugging_face.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-hugging-face.html

Inference.putJinaai (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_jinaai.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-jinaai.html

Inference.putMistral (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_mistral.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-mistral.html

Inference.putOpenai (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_openai.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-openai.html

Inference.putVoyageai (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_voyageai.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html

Inference.putWatsonx (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_watsonx.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-watsonx-ai.html

Inference.rerank (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.rerank.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/post-inference-api.html

Inference.sparseEmbedding (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.sparse_embedding.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/post-inference-api.html

Inference.streamCompletion (new API)

This endpoint replaces the Inference.streamInterface.
API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.stream_completion.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/post-stream-inference-api.html

Inference.streamInferface

This endpoint has been removed

Inference.textEmbedding (new API)

API: https://github.com/elastic/elasticsearch/blob/v8.18.0/rest-api-spec/src/main/resources/rest-api-spec/api/inference.text_embedding.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/post-inference-api.html

v8.17.1

Compare Source


Configuration

📅 Schedule: Branch creation - "after 10pm on thursday and friday,before 5am on thursday and friday" in timezone Europe/Rome, 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 the dependencies Pull requests that update a dependency file label May 30, 2025
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 30, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update elasticsearch/elasticsearch:9.0.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Dependency psr/log is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - phptal/phptal is locked to version 1.6.0 and an update of this package was not requested.
    - phptal/phptal 1.6.0 requires php ~7.4.0 || ~8.0.0 || ~8.1.0 -> your php version (8.4.7) does not satisfy that requirement.
  Problem 2
    - Root composer.json requires elasticsearch/elasticsearch 9.* -> satisfiable by elasticsearch/elasticsearch[v9.0.0].
    - elasticsearch/elasticsearch v9.0.0 requires psr/http-message ^2.0 -> found psr/http-message[2.0] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - symfony/console is locked to version v5.4.47 and an update of this package was not requested.
    - symfony/console v5.4.47 requires symfony/service-contracts ^1.1|^2|^3 -> satisfiable by symfony/service-contracts[v1.1.2].
    - symfony/service-contracts v1.1.2 requires php ^7.1.3 -> your php version (8.4.7) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@riccio82 riccio82 closed this Jun 16, 2025
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jun 16, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 9.x releases. But if you manually upgrade to 9.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate Bot deleted the renovate/elasticsearch-elasticsearch-9.x branch June 16, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant