Skip to content

Bump @elastic/elasticsearch from 5.6.22 to 9.0.0 #515

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: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 16, 2025

Bumps @elastic/elasticsearch from 5.6.22 to 9.0.0.

Release notes

Sourced from @​elastic/elasticsearch's releases.

v9.0.0

Changelog

v9.0.0-alpha.5

Changes from 9.0.0-alpha.4:

Serverless client merged back 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, except that a new serverMode option has been added. When it's explicitly set to "serverless" by a user, a few default settings and behaviors are changed:

  • turns off sniffing and ignores any sniffing-related options
  • ignores all nodes passed in config except the first one, and ignores any node filtering and selecting options
  • enables compression and TLSv1_2_method (same as when configured for Elastic Cloud)
  • adds an elastic-api-version HTTP header to all requests
  • uses CloudConnectionPool by default instead of WeightedConnectionPool
  • turns off vendored content-type and accept headers in favor or standard MIME types

Docstrings for types that differ between stack and serverless have also been updated to indicate when that is the case.

v9.0.0-alpha.4

Changes from v9.0.0-alpha.3:

Parameter collation

Each API function's logic for deciding where in the request to put each passed parameter is now as follows:

  1. if recognized as a body param from the spec, put it in the JSON body
  2. if recognized as a path param, put it in the URL path
  3. if recognized as a query param or a "common" query param (e.g. pretty, error_trace), put it in the querystring
  4. if not recognized and this API accepts a JSON body, put it in the JSON body
  5. if not recognized and this API does not accept a JSON body, put it in the querystring

The first two steps are identical to 8.x and prior 9.0.0 alpha releases. The last three steps replace the logic that put all unrecognized params in the querystring.

Parameter name list management

Each API function now only instantiates its arrays of accepted body/path/query param names once per client instance rather than during every function call, by moving the array values up to the constructor or module level, depending on which is available. Hopefully this introduces a small performance/memory improvement.

v9.0.0-alpha.3

Changes from 9.0.0-alpha.2:

  • The default 30-second timeout on all HTTP requests sent to Elasticsearch has been dropped in favor of having no timeout set at all. The previous behavior still works as it did when setting the requestTimeout value. elastic/elasticsearch-js#2573

v9.0.0-alpha.2

Changes from 9.0.0-alpha.1:

  • Rather than fully dropping the body parameter, each HTTP request type includes optional body and querystring parameters that will add any provided values to the body and querystring, respectively. They have permissive { [key: string]: any } types (basically Record<string, any>), except they do not allow any of properties that should been in the root of the object.

v9.0.0-alpha.1

This is a 9.0.0 pre-release alpha. Changes may not be stable.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by joshmock, a new releaser for @​elastic/elasticsearch since your current version.


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 [@elastic/elasticsearch](https://github.com/elastic/elasticsearch-js) from 5.6.22 to 9.0.0.
- [Release notes](https://github.com/elastic/elasticsearch-js/releases)
- [Changelog](https://github.com/elastic/elasticsearch-js/blob/main/CHANGELOG.md)
- [Commits](elastic/elasticsearch-js@v5.6.22...v9.0.0)

---
updated-dependencies:
- dependency-name: "@elastic/elasticsearch"
  dependency-version: 9.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 16, 2025
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 javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants