56e28766c8
Backport bulk helper index drift bugfix to 7.x ( #1915 )
2023-06-15 11:14:56 -05:00
249d2a6398
Fix #1521 ( #1594 )
2021-10-29 14:48:40 +02:00
1e7ccfab33
[Backport 7.x] Show socket local/remote address in case of ECONNRESET ( #1556 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-09-22 10:06:50 +02:00
be1c0f235c
[Backport 7.x] Add support for maxResponseSize and maxCompressedResponseSize ( #1553 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-09-16 08:20:33 +02:00
bb8f397742
Do not use a singleton for EE ( #1543 ) ( #1544 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-08-28 18:22:26 +02:00
93a7e52be0
[Backport 7.x] Always emit request aborted event ( #1539 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-08-24 11:56:15 +02:00
642b15cd5c
[Backport 7.x] Always display request params and options in request event ( #1538 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-08-24 11:27:59 +02:00
c520967790
[Backport 7.x] Add warning.name to product check security exception ( #1527 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-08-20 10:40:19 +02:00
559acd32be
[Backport 7.x] Show the body as string if the response error can't be read as ES error ( #1514 )
...
* Show the body as string if the response error can't be read as ES error
* Updated test
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-08-11 09:46:37 +02:00
a48ebc9442
Support CA fingerprint validation ( #1499 )
...
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com >
Co-authored-by: Ioannis Kakavas <ioannis@elastic.co >
2021-08-02 11:22:10 +02:00
563b7746cd
[Backport 7.x] Support mapbox content type ( #1508 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-08-02 11:20:11 +02:00
db5476ad5d
Better message in case of unsupported build flavor ( #1498 ) ( #1502 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-07-24 16:55:14 +02:00
adc5c2b146
Verify connection to Elasticsearch ( #1487 ) ( #1497 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-07-19 16:42:53 +02:00
28d8ff799e
Add api compatibility header support ( #1478 ) ( #1491 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-07-13 09:48:30 +02:00
ea2c8d2d4d
Add support for bearer auth ( #1488 ) ( #1490 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-07-13 09:40:06 +02:00
2f0aeec108
Bulk update improvements ( #1428 )
2021-07-12 16:06:59 +02:00
a2614bd84e
Merge branch '7.x' of https://github.com/elastic/elasticsearch-js into 7.x
2021-05-20 16:18:10 +02:00
4ec32601e7
Drop node v10 support ( #1471 )
2021-05-20 16:18:01 +02:00
1e5d143d0c
[Backport 7.x] Update body error check ( #1474 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-05-20 16:16:06 +02:00
ecff306004
[Backport 7.x] Add top level type error to error message ( #1469 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-05-19 11:09:55 +02:00
4441de678f
Catch HEAD errors ( #1460 ) ( #1462 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-05-03 16:40:48 +02:00
c9808fb067
Improve response error message ( #1457 ) ( #1461 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-05-03 16:39:54 +02:00
f138b077e3
New type definitions ( #1358 )
2021-03-24 14:54:06 +01:00
416b221b1e
fix(TransportRequestPromise): add finally method to TransportRequestP… ( #1415 )
...
* fix(TransportRequestPromise): add finally method to TransportRequestPromise interface
* fix(TransportRequestPromise): add finally method to transportReturn object
* fix(TransportRequestPromise): add finally method tests
2021-03-22 11:52:13 +01:00
528b90d19a
Disable prototype poisoning option ( #1414 ) ( #1420 )
...
* Introduce disablePrototypePoisoningProtection option
* Updated test
* Updated docs
* Fix bundler test
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-03-15 08:52:34 +01:00
28370acf49
Remove Node.js v8 support ( #1402 )
2021-02-19 08:29:57 +01:00
5a25b7cba2
[helpers] add support for transport options to all helpers ( #1400 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com >
2021-02-18 16:36:22 +01:00
f135ba7da2
[Backport 7.x] Fix #1374 ( #1378 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-12-16 10:43:57 +01:00
39ce8778a5
[Backport 7.x] Added x-elastic-client-meta header ( #1377 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-12-16 10:43:28 +01:00
07bcd62285
[Backport 7.x] Added new observability events ( #1370 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-12-09 11:44:39 +01:00
92f31d467c
[Backport 7.x] Throw if the content length is too big ( #1361 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-11-24 09:49:07 +01:00
cbfb9616a0
Handle connectivity issues while reading the body ( #1343 )
2020-11-10 18:24:53 +01:00
dd8ee9056b
[Backport 7.x] The agent function should take the Connection contructor options as argument ( #1334 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-10-12 11:13:34 +02:00
34dedb8119
[Backport 7.x] Scroll search should clear the scroll at the end ( #1333 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-10-12 11:13:12 +02:00
3db1bed4bd
Improve child performances ( #1314 )
2020-09-23 11:34:36 +02:00
2c39a5413d
Merge branch '7.x' of https://github.com/elastic/elasticsearch-js into 7.x
2020-09-10 15:29:27 +02:00
584a8799d8
Avoid the release of Zalgo ( #1295 )
2020-09-10 15:29:22 +02:00
f02567491f
Fix maxRetries request option handling ( #1296 )
2020-09-10 15:29:22 +02:00
8af159156d
Fix RequestOptions.body type to include null ( #1300 )
...
Fixes #1291
2020-09-10 15:29:22 +02:00
00aeb8b923
Helper param fix ( #1284 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-09-01 12:18:42 +02:00
4c1095d805
[Backport 7.x] Added proxy support ( #1276 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-08-03 11:41:20 +02:00
bb05668a44
Updated license header ( #1267 )
2020-07-23 12:27:18 +02:00
68bc20c440
[Backport 7.x] Fix errors in type definitions ( #1264 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-07-20 14:02:40 +02:00
e864c1db99
[Backport 7.x] Add ability to disable the http agent ( #1258 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-07-13 15:09:22 +02:00
d73cb1a29b
Add support for a global context option ( #1256 )
2020-07-13 14:43:37 +02:00
28f2be397c
[Backport 7.x] Allow the client name to be a symbol ( #1257 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-07-13 12:38:59 +02:00
e77430ac4e
[Backport 7.x] Updated default http agent configuration ( #1250 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-07-09 09:01:45 +02:00
bd6f4f256b
[Backport 7.x] Fixed transport.request querystring type ( #1241 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-07-01 10:39:34 +02:00
24961869cc
Reorganized test and force 100% code coverage ( #1226 )
2020-06-15 08:38:46 +02:00
acce06c2af
[Backport 7.x] Helpers: avoid allocating new timers ( #1225 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-06-12 10:44:22 +02:00