Skip to content

build(deps): bump elasticsearch/elasticsearch from 8.18.0 to 9.0.0 #3481

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

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 12, 2025

Bumps elasticsearch/elasticsearch from 8.18.0 to 9.0.0.

Release notes

Sourced from elasticsearch/elasticsearch's releases.

Release 9.0.0

This is the new major release of elasticsearch-php compatible with Elasticsearch 9.0.0 🎉

  • 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.

Breaking changes

  • Use of PHP 8.1+: Starting from 9.0.0 the elasticsearch-php client requires PHP 8.1+.

Deprecations

  • Utility::urlencode(): this function has been deprecated in favor of rawurlencode() of PHP (see #1278).
Changelog

Sourced from elasticsearch/elasticsearch's changelog.

Release 9.0.0

  • 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.

Release 8.17.1

  • Fix and improvements for PHPStan (rule level 5) #1442 (thanks @​AJenbo)

Release 8.17.0

  • Updated the APIs to Elasticsearch 8.17.0

Release 8.16.0

Release 8.15.0

Updated the APIs to Elasticsearch 8.15.0 and added the support of OpenTelemetry. Read the elastic-transport-php README for more information about OpenTelemetry support.

Release 8.14.0

This release introduces 3 new APIs and 10 EXPERIMENTAL APIs.

  • Specific changes per endpoints
    • Ccr.deleteAutoFollowPattern
      • Added the master_timeout parameter (time), explicit operation timeout for connection to master node.
    • Ccr.follow
      • Added the master_timeout parameter (time), explicit operation timeout for connection to master node.
    • Ccr.followInfo
      • Added the master_timeout parameter (time), explicit operation timeout for connection to master node.
    • Ccr.followStats
      • Added the timeout parameter (time), explicit operation timeout.
    • Ccr.forgetFollower
      • Added the timeout parameter (time), explicit operation timeout.
    • Ccr.getAutoFollowPattern
      • Added the master_timeout parameter (time), explicit operation timeout for connection to master node.
    • Ccr.pauseFollow
      • Added the master_timeout parameter (time), explicit operation timeout for connection to master node.
    • Ccr.putAutoFollowPattern

... (truncated)

Commits
  • 5aa8b17 Updated the Utility for testing
  • 78aca6f Updated README and BREAKING_CHANGES
  • 8b1e0b5 Updated CHANGELOG
  • 31a4d8c Added tests for elastic-api-version and compatibility mode
  • e52bd51 Changed PHPStan configuration
  • d303100 Added elastic-api-version when serverless
  • a5251e6 Fixed yaml_test in github action
  • 75ef7ef Refactored buildkite tests using run-elasticsearch
  • 761577e Try to run Elasticsearch in run-repository
  • c20e9e8 Added docker install in Dockerfile
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [elasticsearch/elasticsearch](https://github.com/elastic/elasticsearch-php) from 8.18.0 to 9.0.0.
- [Release notes](https://github.com/elastic/elasticsearch-php/releases)
- [Changelog](https://github.com/elastic/elasticsearch-php/blob/main/CHANGELOG.md)
- [Commits](elastic/elasticsearch-php@v8.18.0...v9.0.0)

---
updated-dependencies:
- dependency-name: elasticsearch/elasticsearch
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file PHP Pull requests that update Php code labels May 12, 2025
@thorsten thorsten closed this May 12, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github May 12, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/composer/elasticsearch/elasticsearch-9.0.0 branch May 12, 2025 05:19
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 PHP Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant