Skip to content

Commit ea3ce78

Browse files
authored
Bump and update changelog for 9.0.2 (#2844)
* Release notes for 9.0.1 (#2764) * Bump to 9.0.2 (#2843)
1 parent f02f3b9 commit ea3ce78

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

docs/release-notes/index.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,23 @@ To check for security updates, go to [Security announcements for the Elastic sta
2020

2121
% ### Fixes [elasticsearch-javascript-client-next-fixes]
2222

23-
## 9.0.0 [elasticsearch-javascript-client-900-release-notes]
23+
## 9.0.2
2424

25-
**Release date:** April 8, 2025
25+
### Fixes [elasticsearch-javascript-client-9.0.2-fixes]
2626

27-
### Features and enhancements [elasticsearch-javascript-client-900-features-enhancements]
27+
**Remove dangling references to `typesWithBodyKey`:** the `typesWithBodyKey.ts` file and `estypesWithBody` export were removed in 9.0.0 but were still being referenced in the `index.d.ts` file that declares TypeScript types. This reference has been removed.
28+
29+
## 9.0.1
30+
31+
### Fixes [elasticsearch-javascript-client-9.0.1-fixes]
32+
33+
**Reinstate `nodeFilter` and node `roles` feature:** The docs note a `nodeFilter` option on the client that will, by default, filter the nodes based on any `roles` values that are set at instantiation. At some point, this functionality was partially disabled. This brings the feature back, ensuring that it matches what the documentation has said it does all along.
34+
35+
**Ensure Apache Arrow ES|QL helper uses async iterator:** the [`esql.toArrowReader()` helper function](/reference/client-helpers.md#_toarrowreader) was trying to return `RecordBatchStreamReader`—a synchronous iterator—despite the fact that the `apache-arrow` package was, in most cases, automatically coercing it to `AsyncRecordBatchStreamReader`, its asynchronous counterpart. It now is always returned as an async iterator.
36+
37+
## 9.0.0 [elasticsearch-javascript-client-9.0.0-release-notes]
38+
39+
### Features and enhancements [elasticsearch-javascript-client-9.0.0-features-enhancements]
2840

2941
- **Compatibility with Elasticsearch 9.0:** All changes and additions to Elasticsearch APIs for its 9.0 release are reflected in this release.
3042
- **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:
@@ -40,4 +52,4 @@ To check for security updates, go to [Security announcements for the Elastic sta
4052

4153
- **Improved Cloud ID parsing:** when using a Cloud ID as the `cloud` parameter to instantiate the client, that ID was assumed to be in the correct format. New assertions have been added to verify that format and throw a `ConfigurationError` if it is invalid. See [#2694](https://github.com/elastic/elasticsearch-js/issues/2694).
4254

43-
% ### Fixes [elasticsearch-javascript-client-900-fixes]
55+
% ### Fixes [elasticsearch-javascript-client-9.0.0-fixes]

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@elastic/elasticsearch",
3-
"version": "9.0.1",
4-
"versionCanary": "9.0.1-canary.0",
3+
"version": "9.0.2",
4+
"versionCanary": "9.0.2-canary.0",
55
"description": "The official Elasticsearch client for Node.js",
66
"main": "./index.js",
77
"types": "index.d.ts",

0 commit comments

Comments
 (0)