Changelog for 9.0.0 (#2712) (#2713)

* Changelog for 9.0.0 (#2712)

* Changelog for 9.0.0

* Update title for release notes page

* Grammar tweak

* Adjustment to formatting

* Change title
This commit is contained in:
Josh Mock
2025-04-07 14:00:02 -05:00
committed by GitHub
parent 60e745dbb4
commit c988c44f66
2 changed files with 59 additions and 14 deletions

View File

@ -1,25 +1,39 @@
---
navigation_title: "Elasticsearch JavaScript Client"
navigation_title: "Release notes"
---
# Elasticsearch JavaScript Client release notes [elasticsearch-javascript-client-release-notes]
Review the changes, fixes, and more in each version of Elasticsearch JavaScript Client.
Review the changes, fixes, and more in each version of Elasticsearch JavaScript Client.
To check for security updates, go to [Security announcements for the Elastic stack](https://discuss.elastic.co/c/announcements/security-announcements/31).
% Release notes include only features, enhancements, and fixes. Add breaking changes, deprecations, and known issues to the applicable release notes sections.
% Release notes include only features, enhancements, and fixes. Add breaking changes, deprecations, and known issues to the applicable release notes sections.
% ## version.next [elasticsearch-javascript-client-next-release-notes]
% **Release date:** Month day, year
% ### Features and enhancements [elasticsearch-javascript-client-next-features-enhancements]
% *
% ### Fixes [elasticsearch-javascript-client-next-fixes]
% *
## 9.0.0 [elasticsearch-javascript-client-900-release-notes]
**Release date:** April 8, 2025
### Features and enhancements [elasticsearch-javascript-client-900-features-enhancements]
### Fixes [elasticsearch-javascript-client-900-fixes]
- **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, 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.
### Fixes [elasticsearch-javascript-client-900-fixes]