Commit Graph

199 Commits

Author SHA1 Message Date
a5a0a1c589 Do a shallow clone copy of the body when the body key is defined (#1584) 2021-10-25 16:56:33 +02:00
529742ac1f Updated test 2021-10-25 09:38:16 +02:00
4cf1fc6cd4 Updated test 2021-10-21 09:53:24 +02:00
4492532727 Update unknown parameter handling. (#1568) 2021-10-18 16:01:55 +02:00
1a227459f0 Elasticsearch v8 (#1558) 2021-09-30 09:45:04 +02:00
3feda5d9f6 Show socket local/remote address in case of ECONNRESET (#1555)
* Show socket local/remote address in case of ECONNRESET

* Fallback if socket or properties are not defined
2021-09-22 10:05:58 +02:00
212c3c4ffe Add support for maxResponseSize and maxCompressedResponseSize (#1551) 2021-09-16 08:19:57 +02:00
b67d42cb5f Add test for mocking library (#1545) 2021-08-30 15:36:14 +02:00
ee50a8e770 Always emit request aborted event (#1534) 2021-08-24 11:53:14 +02:00
a7658b2a66 Always display request params and options in request event (#1531) 2021-08-24 11:25:48 +02:00
a9b62049cd Fix parcel build (#1535) 2021-08-23 15:29:57 +02:00
a0dcace7cd Fix isHttpConnection check (#1526) 2021-08-20 12:40:25 +02:00
f161946984 Add warning.name to product check security exception (#1515) 2021-08-20 10:39:38 +02:00
4ae38ca7f0 Update integration test scripts (#1525)
* Updated scripts

* Update runner
2021-08-18 17:47:23 +02:00
516f52e303 Show the body as string if the response error can't be read as ES error (#1509)
* Show the body as string if the response error can't be read as ES error

* Updated test
2021-08-11 09:40:33 +02:00
2d1505eb2b 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:20:31 +02:00
b0a7a21f72 Support mapbox content type (#1500) 2021-08-02 11:19:28 +02:00
6686316433 Better message in case of unsupported build flavor (#1498) 2021-07-24 16:54:18 +02:00
17c744ed80 Verify connection to Elasticsearch (#1487) 2021-07-19 16:42:04 +02:00
3137780d6b Update integration test (#1493) 2021-07-16 10:00:24 +02:00
4073d60b97 Add api compatibility header support (#1478) 2021-07-13 09:47:45 +02:00
101a13f63e Add support for bearer auth (#1488) 2021-07-13 09:39:10 +02:00
f2d8cf7d34 Bulk update improvements (#1428) 2021-07-12 16:04:29 +02:00
4e6ae5d2e8 Fix integration test (#1479) 2021-06-03 17:50:16 +02:00
c64152b9b3 Drop node v10 support (#1471) 2021-05-20 16:16:45 +02:00
bf02b3d0e5 Add top level type error to error message (#1468) 2021-05-19 11:09:19 +02:00
623bd72910 Updated integration test helpers (#1466) 2021-05-12 15:12:49 +02:00
d5f61c7833 Catch HEAD errors (#1460) 2021-05-03 16:40:09 +02:00
dc2de57bd3 Improve response error message (#1457) 2021-05-03 16:38:58 +02:00
6a6d8bc566 Updated new types export (#1446)
* Updated new types

* Updated new types

* Updated test

* Updated docs
2021-04-15 08:43:58 +02:00
6464fc69f1 Wrap inside array ndjson bodies in integration test (#1444)
* Wrap inside array ndjson bodies

* Fix path

* Use orignal api name
2021-04-08 18:26:45 +02:00
7fdfa4834f Expose the new type definition along with the current one (#1440) 2021-04-07 14:08:18 +02:00
226d0e3498 Move integration test to artifact API (#1436) 2021-03-31 13:57:58 +02:00
f86a79cb26 New type definitions (#1358) 2021-03-24 14:50:46 +01:00
430de17007 Integration test: Fix yaml parser and crash on failure (#1423)
* Fix yaml parser and crash on failure

* Log response in case of ResponseError

* Updated cleanup

* Updated skip list

* Updated skip list

* Updated skip list
2021-03-24 07:52:54 +01:00
ab3e809fc2 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:50:15 +01:00
6a30cd9955 Disable prototype poisoning option (#1414)
* Introduce disablePrototypePoisoningProtection option

* Updated test

* Updated docs

* Fix bundler test
2021-03-15 08:51:45 +01:00
22ece32c5c Fix test bundler (#1417)
* Updated .gitignore

* Fix parcel build

* Updated .gitignore
2021-03-10 14:55:55 +01:00
ab5d8997b8 Remove Node.js v8 support (#1402) 2021-02-19 08:27:20 +01:00
973a98180a [helpers] add support for transport options to all helpers (#1400)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-18 16:33:08 +01:00
2409bd09e4 Fix CI (#1399) 2021-02-09 08:13:42 +01:00
618b244473 Prereleases in meta header should be displayed as p (#1381) 2021-01-19 08:10:27 +01:00
8aedb79419 Fix #1374 (#1376) 2020-12-16 10:42:46 +01:00
61eee69424 Added x-elastic-client-meta header (#1373) 2020-12-16 10:42:26 +01:00
33035901cf Added new observability events (#1365) 2020-12-09 11:43:46 +01:00
502509cabc Throw if the content length is too big (#1355) 2020-11-24 09:48:17 +01:00
959aee5903 Updated integration test cleanup code (#1356) 2020-11-19 11:24:50 +01:00
edd4f78bad Handle connectivity issues while reading the body (#1343) 2020-11-10 18:16:25 +01:00
3d664def25 Fix integration test (#1335) 2020-10-15 08:54:13 +02:00
8ec40547fb The agent function should take the Connection contructor options as argument (#1332) 2020-10-12 10:47:10 +02:00