5a88a2f398
[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-30 08:28:44 +02:00
1d5b8fa5c2
[Backport 7.x] Fix isHttpConnection check ( #1528 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-08-24 11:29:21 +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
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
4ec32601e7
Drop node v10 support ( #1471 )
2021-05-20 16:18:01 +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
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
5eab7e9c75
[Backport 7.x] Prereleases in meta header should be displayed as p ( #1390 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-01-19 08:11:57 +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
c12a31199d
[Backport 7.x] Test cloud id without kibana component ( #1324 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-09-28 10:18:30 +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
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
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
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
40c47902f3
[Backport 7.x] Improve child API ( #1247 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-07-06 11:48:35 +02:00
9c76898fb1
[Backport 7.x] ESM support ( #1236 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-06-26 11:58:43 +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
fd59d66076
improved test coverage ( #1222 )
2020-06-08 09:44:40 +02:00
93cf8aa3c0
migrated to FakeTimers ( #1221 )
2020-06-08 09:44:40 +02:00
c99eac4699
[Backport 7.x] Improve helper concurrency ( #1216 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-06-04 13:35:38 +02:00
a4093a7338
[Backport 7.x] Added timeout support in bulk and msearch helpers ( #1211 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-06-03 10:34:57 +02:00
57fbbd0a8f
[Backport 7.x] Add multi search helper ( #1202 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-05-25 17:19:44 +02:00
35e587663c
[Backport 7.x] Use filter_path for improving the search helpers performances ( #1201 )
2020-05-25 14:26:58 +02:00
15a9479a81
[Backport 7.x] Force lowercase in all headers ( #1195 )
2020-05-14 16:11:12 +02:00
c343302772
[Backport 7.x] Fix 1153 ( #1161 )
2020-05-14 09:57:44 +02:00
51169d5efa
Support for Elasticsearch 7.7 ( #1192 )
2020-05-14 09:55:54 +02:00
a9a905409e
[Backport 7.x] ApiKey should take precedence over basic auth ( #1117 )
...
* ApiKey should take precedence over basic auth
* Updated docs
* Updated test
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-03-13 13:41:57 +01:00
ca23e0b23a
[Backport 7.x] Secure json parsing ( #1113 )
...
* Safe json parsing
* Updated test
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-03-13 09:29:40 +01:00