e5f8bd2502
[Backport 8.13] Fix typo in documentation (example query) ( #2274 )
...
(cherry picked from commit 542585a5dc )
Co-authored-by: Joey Freund <joeyfreund@users.noreply.github.com >
2024-06-06 12:08:09 -05:00
5d36257241
Auto-generated code for 8.13 ( #2263 )
2024-06-03 13:33:01 -05:00
a8d015e6c3
Auto-generated code for 8.13 ( #2245 )
2024-05-01 10:31:22 -05:00
a92db88de0
[Backport 8.13] Update asStream code example ( #2243 )
...
https://github.com/elastic/elasticsearch-js/issues/2241 notes that there
is no body attribute on a response. This is mostly just a typo in the
example, as `result` itself is a readable stream, unless `meta: true` is
passed, in which case `result.body` will be a readable stream.
Also dropped the callback-style stream processing example as it's a bit
outdated.
(cherry picked from commit 45e3c0657a )
Co-authored-by: Josh Mock <joshua.mock@elastic.co >
2024-04-30 14:00:13 -05:00
a77d3a63d9
Auto-generated code for 8.13 ( #2233 )
2024-04-22 09:37:03 -05:00
802ed1fb23
[Backport 8.13] Add Date to DateMath type ( #2231 )
...
Co-authored-by: Josh Mock <joshua.mock@elastic.co >
(cherry picked from commit 768ba3d8ae )
Co-authored-by: Rami <72725910+ramikg@users.noreply.github.com >
2024-04-18 14:32:27 -05:00
8f1ab9be5c
[Backport 8.13] docs: fix typo in basic-config.asciidoc ( #2227 )
...
LENTGH -> LENGTH
(cherry picked from commit 6f2aaa5c7c )
Co-authored-by: Alexa Nguyen <github@alexanguyen.com >
2024-04-17 12:59:38 -05:00
1eed52b235
Auto-generated code for 8.13 ( #2223 )
2024-04-17 11:22:45 -05:00
e5c0699438
Auto-generated code for 8.13 ( #2221 )
2024-04-16 12:17:09 -05:00
a92a347897
Auto-generated code for 8.13 ( #2220 )
2024-04-11 12:15:36 -05:00
962c857e50
Pin 8.13 to transport ~8.4.1 ( #2217 )
v8.13.1
2024-04-09 13:10:11 -05:00
80580b0e5f
Auto-generated code for 8.13 ( #2206 )
2024-04-08 17:21:56 -05:00
73e6cfcd67
Bump to 8.13.1 ( #2201 )
2024-04-02 14:32:46 -05:00
73e25bdddb
[Backport 8.13] Upgrade transport to 8.4.1 ( #2200 )
...
(cherry picked from commit 8df91fce7c )
Co-authored-by: Josh Mock <joshua.mock@elastic.co >
2024-04-02 10:03:51 -05:00
a311b0d228
Auto-generated code for 8.13 ( #2196 )
2024-03-28 11:32:04 -05:00
e34dc230ed
[Backport 8.13] Bump version to 8.13.0 ( #2174 )
...
(cherry picked from commit 86d89a47a0 )
Co-authored-by: Josh Mock <joshua.mock@elastic.co >
v8.13.0
2024-03-26 12:11:11 -05:00
cbff6d10aa
[Backport 8.13] Update changelog for 8.13 ( #2168 )
2024-03-21 13:26:34 -05:00
cebe9567c1
[Backport 8.13] Ensure new connections inherit client's set defaults ( #2163 )
...
* Add test confirming the issue
See https://github.com/elastic/elasticsearch-js/issues/1791
* fix: ensure new connections inherit the client instance's defaults
for https://github.com/elastic/elasticsearch-js/issues/1791
(cherry picked from commit 05e3139f80 )
Co-authored-by: Josh Mock <joshua.mock@elastic.co >
2024-03-20 16:33:10 -05:00
dbb685f12e
[Backport 8.13] Update bulk.asciidoc change 'date' property to 'time' to match index creation ( #2160 )
...
(cherry picked from commit 747171097d )
Co-authored-by: SuperGingie <Pennington.Joe@gmail.com >
2024-03-20 13:44:51 -05:00
3190b60cb5
Auto-generated code for 8.13 ( #2158 )
2024-03-19 11:28:43 -05:00
177ac7fbef
Auto-generated code for 8.13 ( #2153 )
2024-03-07 13:45:31 -06:00
00b6dbb064
Auto-generated code for 8.13 ( #2151 )
2024-03-06 12:12:19 -06:00
c0eb4ed9cb
Auto-generated code for 8.13 ( #2147 )
2024-03-05 13:52:03 -06:00
4fcdb3c5ce
[Backport 8.13] [DOCS] Adds compatibility matrix to docs and readme ( #2146 )
...
Co-authored-by: Josh Mock <joshua.mock@elastic.co >
(cherry picked from commit 352f73e7c2 )
Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com >
2024-02-28 11:55:17 -06:00
a1b9da210b
Auto-generated code for 8.13 ( #2135 )
...
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com >
2024-02-27 14:43:11 -06:00
1607a0d3f7
Fix hang in bulk helper semaphore when server responses are slower than flushInterval ( #2027 )
...
* Set version to 8.10.1
* Add tests for bulk helper with various flush and server timeouts
* Copy and empty bulkBody when flushBytes is reached
Before it was waiting until after semaphore resolved, then sending with
a reference to bulkBody. If flushInterval is reached after `await
semaphore()` but before `send(bulkBody)`, onFlushTimeout is "stealing"
bulkBody so that there is nothing left in bulkBody for the flushBytes
block to send, causing an indefinite hang for a promise that does not
resolve.
* comment typo fixes
---------
Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co >
2024-02-06 09:58:21 +04:00
57ee5cf6c2
8.12.0 changelog ( #2125 )
2024-01-31 13:37:05 +04:00
6eabf37097
Improved the body BC break description in request/response for 8.x documentation ( #2117 )
...
* Improved the body bc break in 8.x documentation
* Removed just in the sentence
2024-01-04 13:13:26 +01:00
5413eb5f35
Add missing snippets ( #2113 )
...
For https://github.com/elastic/clients-team/issues/728
2023-12-14 17:19:20 -06:00
4aaf49b6ea
Integration test improvements ( #2109 )
...
* Improvements to integrations
Borrowed largely from https://github.com/elastic/elasticsearch-serverless-js/pull/38
* Bump all the things to 8.12.0
* Split Dockerfile copy into two layers
* Fix test cron names
2023-12-14 16:35:37 -06:00
d3f22f1e14
Add doc for closing connections ( #2104 )
2023-12-14 09:46:04 -06:00
51323e769d
Github action for publishing to npm with provenance metadata ( #2103 )
2023-12-13 11:20:04 -06:00
1fb789862d
8.11.0 changelog ( #2097 )
...
* Changelog for 8.11.0
* Add redaction docs link to changelog
2023-12-12 16:06:03 -06:00
c2c417a9fd
Bump transport to 8.4.0 ( #2095 )
...
* Support for transport 8.4.0 redaction functionality
* Docs for `redaction` options
2023-12-12 15:40:47 -06:00
06e3b05077
[DOCS] Adds a signpost for downloading ES or signing-up for ESS ( #2084 )
2023-11-27 10:46:53 -06:00
426919709f
Throw an explicit error when asStream is used with bulk helper ( #2078 )
2023-11-16 10:14:20 -06:00
b7b16d81ee
Fix arg-parsing issue in codegen script ( #2068 )
2023-11-08 13:07:55 -06:00
845ddaaf34
Auto-generated code for main ( #2064 )
2023-11-08 11:51:30 -06:00
abd5018cfe
Bump version in main to 8.10.3 ( #2066 )
2023-11-07 12:07:18 -06:00
b47747007b
Auto-generated code for main ( #2061 )
2023-11-06 10:59:55 -06:00
5fb65d07af
Update how users/permissions are set up on CI Docker image ( #2060 )
2023-11-03 15:05:37 -05:00
99bcff02d5
Path filtering improvement ( #2059 )
...
* Another attempt at getting path filtering right
* Improve filters
2023-11-03 11:41:53 -05:00
ab10e462e7
Auto-generated code for main ( #2058 )
2023-11-03 10:39:04 -05:00
3c5178c7ae
Stop supporting Node v14 and v16 ( #2055 )
2023-11-02 13:16:24 -05:00
9e2ff66564
Set module type to commonjs ( #2053 )
...
https://github.com/elastic/elasticsearch-js/issues/1281
2023-11-02 11:48:37 -05:00
1adc8c356a
Fix version bump script ( #2054 )
...
* Fix version bump script failure
It was trying to run `.replace` on a Buffer instead of a string.
* Correctly set Node version in Docker
2023-11-02 11:48:16 -05:00
2d139e512b
Improve unit test path filtering rules ( #2052 )
...
* Improve path-filtering rules on unit test action
See docs about how jobs that are skipped still report "success", which
is necessary for jobs that are required to succeed based on branch
protection rules.
https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution
* Code must be checked out for paths-filter to run
* Only run on default pull request events
Defaults are that it will run when a PR is opened, reopened, or
synchronized (new commits pushed).
2023-11-02 11:16:39 -05:00
96d0adb715
Action to auto-close stale issues and PRs ( #2051 )
2023-11-02 10:26:20 -05:00
f1e83ae853
Add more docs about keep-alive connections ( #2048 )
2023-11-02 10:15:28 -05:00
a6392ebe07
Auto-generated code for main ( #2047 )
2023-11-01 11:14:57 -05:00