@elastic/elasticsearch 8.12.2 → 8.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.projections.json +7 -0
- package/.tool-versions +1 -0
- package/README.md +19 -0
- package/free-report-junit.xml +0 -0
- package/junit-output/junit-foobar.xml +13947 -0
- package/lib/api/api/ml.js +1 -1
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/types.d.ts +16 -3
- package/lib/api/typesWithBodyKey.d.ts +16 -3
- package/lib/client.js +27 -2
- package/lib/client.js.map +1 -1
- package/lib/helpers/esql.d.ts +3 -0
- package/lib/helpers/esql.js +31 -0
- package/lib/helpers/esql.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"test/*": {"make": "npm run test:unit"},
|
|
3
|
+
"src/client.ts": { "alternate": "test/unit/client.test.ts", "type": "test" },
|
|
4
|
+
"test/unit/client.test.ts": { "alternate": "src/client.ts", "type": "src" },
|
|
5
|
+
"src/helpers.ts": { "alternate": "test/unit/helpers/", "type": "test" },
|
|
6
|
+
"test/unit/helpers/*.test.ts": { "alternate": "src/helpers.ts", "type": "src" }
|
|
7
|
+
}
|
package/.tool-versions
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nodejs 21.7.2
|
package/README.md
CHANGED
|
@@ -21,6 +21,25 @@ of the getting started documentation.
|
|
|
21
21
|
Refer to the [Connecting section](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_connecting)
|
|
22
22
|
of the getting started documentation.
|
|
23
23
|
|
|
24
|
+
## Compatibility
|
|
25
|
+
|
|
26
|
+
The Elasticsearch client is compatible with currently maintained JS versions.
|
|
27
|
+
|
|
28
|
+
Language clients are forward compatible; meaning that clients support
|
|
29
|
+
communicating with greater or equal minor versions of Elasticsearch without
|
|
30
|
+
breaking. It does not mean that the client automatically supports new features
|
|
31
|
+
of newer Elasticsearch versions; it is only possible after a release of a new
|
|
32
|
+
client version. For example, a 8.12 client version won't automatically support
|
|
33
|
+
the new features of the 8.13 version of Elasticsearch, the 8.13 client version
|
|
34
|
+
is required for that. Elasticsearch language clients are only backwards
|
|
35
|
+
compatible with default distributions and without guarantees made.
|
|
36
|
+
|
|
37
|
+
| Elasticsearch Version | Elasticsearch-JS Branch | Supported |
|
|
38
|
+
| --------------------- | ------------------------ | --------- |
|
|
39
|
+
| main | main | |
|
|
40
|
+
| 8.x | 8.x | 8.x |
|
|
41
|
+
| 7.x | 7.x | 7.17 |
|
|
42
|
+
|
|
24
43
|
## Usage
|
|
25
44
|
|
|
26
45
|
* [Creating an index](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_creating_an_index)
|
|
File without changes
|