Commit Graph

101 Commits

Author SHA1 Message Date
cab8d8be38 API generation 2021-07-15 18:01:43 +02:00
101a13f63e Add support for bearer auth (#1488) 2021-07-13 09:39:10 +02:00
728215f3c0 API generation 2021-05-19 11:16:33 +02:00
791f2168a3 API generation 2021-05-12 17:38:05 +02:00
0d1e1c2613 API generation 2021-04-26 16:50:53 +02:00
b22558f047 API generation 2021-04-07 19:38:41 +02:00
7fdfa4834f Expose the new type definition along with the current one (#1440) 2021-04-07 14:08:18 +02:00
f86a79cb26 New type definitions (#1358) 2021-03-24 14:50:46 +01:00
c96c41dc43 API generation 2021-03-22 11:55:14 +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
059a2c91ce API generation 2021-02-19 08:31:16 +01:00
79658b1784 API generation 2021-02-17 09:57:15 +01:00
19acc4f9d0 API generation 2021-02-09 09:56:20 +01:00
b0769bec11 API generation 2021-01-18 17:15:53 +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
9fea1aedc0 API generation 2020-12-09 11:39:40 +01:00
8cbb54016a API generation 2020-11-24 09:50:47 +01:00
90f6003dd7 API generation 2020-11-18 18:06:04 +01:00
66a4739018 API generation 2020-11-12 07:44:33 +01:00
fc3883a181 API generation 2020-11-02 08:03:45 +01:00
87805fc17f API generation 2020-10-21 11:07:00 +02:00
5682e680d1 API generation 2020-10-07 11:14:45 +02:00
772fad09cc API generation 2020-09-28 10:15:56 +02:00
a064f0f357 Improve child performances (#1314) 2020-09-23 11:31:09 +02:00
e86d38087e API generation 2020-09-01 14:09:43 +02:00
cf172d7937 API generation 2020-08-03 11:59:39 +02:00
26238634a7 Added proxy support (#1260) 2020-08-03 11:39:24 +02:00
51ab5b0b00 Updated license header (master) (#1266) 2020-07-23 12:26:56 +02:00
e6a4050b0b API generation 2020-07-20 12:17:14 +02:00
1592c4d575 Add ability to disable the http agent (#1251) 2020-07-13 15:07:51 +02:00
39cf023426 Add support for a global context option (#1256) 2020-07-13 14:36:53 +02:00
1a7727588e Allow the client name to be a symbol (#1254) 2020-07-13 12:38:16 +02:00
fa760f44b5 API generation 2020-07-13 11:21:44 +02:00
34a9176fbf Export a kibana restricted type definition (#1239) 2020-07-06 11:49:12 +02:00
8d7859d2e2 Improve child API (#1245) 2020-07-06 11:39:08 +02:00
33a4e4dc31 API generation 2020-06-30 10:13:55 +02:00
dbbee273d9 API generation 2020-06-03 09:09:42 +02:00
ac2d1dad53 API generation 2020-05-18 09:23:50 +02:00
0d5c7a880f API generation 2020-04-30 11:28:37 +02:00
cfc21f56c2 API generation 2020-04-10 12:21:27 +02:00
8522f303ee API generation 2020-04-07 11:25:25 +02:00
6779f3b11a Switched request and response generics position (#1132)
* Updated code generation

* Switched request and response generics position

* Updated test

* API generation

* Removed unused generics

* Test type definitions for callback style API as well

* Fix comments

* Fix conflict

* API generation

* Updated type def
2020-04-06 12:45:27 +02:00
d10e8bb9f3 API generation 2020-04-06 11:35:59 +02:00
27a8e2a9bf Updated abort behavior (#1141)
* Updated abort behavior

- Support for aborting a request with the promise api
- Aborting a request will cause a RequestAbortedError
- Normalized Connection class errors, now every error returned is
wrapped by the client errors constructors

* Updated test

* Updated docs

* Updated code generation script

* Renamed test

* Code coverage

* Avoid calling twice transport.request
2020-04-06 11:21:19 +02:00
953a8033ab API generation 2020-04-03 09:49:51 +02:00
bb28276553 API generation 2020-04-02 07:48:45 +02:00
2963fa6e0b API generation 2020-03-30 14:50:18 +02:00
da35f71f2d API generation 2020-03-27 13:46:30 +01:00
d7836a16af Client helpers (#1107)
* Added client helpers

* Updated test

* The search helper should return only the documents

* Added code comments

* Fixed bug

* Updated test

* Removed bulkSize and added flushBytes

* Updated test

* Added concurrency

* Updated test

* Added support for 429 handling in the scroll search helper

* Updated test

* Updated stats count

* Updated test

* Fix test

* Use client maxRetries as default

* Updated type definitions

* Refactored bulk helper to be more consistent with the client api

* Updated test

* Improved error handling, added refreshOnCompletion option and forward additinal options to the bulk api

* Updated type definitions

* Updated test

* Fixed test on Node v8

* Updated test

* Added TODO

* Updated docs

* Added Node v8 note

* Updated scripts

* Removed useless files

* Added helpers to integration test

* Fix cli argument position

* Moar fixes

* Test run elasticsearch in github actions

* Use master action version

* Add vm.max_map_count step

* Test new action setup

* Added Configure sysctl limits step

* Updated action to latest version

* Don't run helpers integration test in jenkins

* Run helpers integratino test also with Node v10

* Updated docs

* Updated docs

* Updated helpers type definitions

* Added test for helpers type definitions

* Added license header
2020-03-23 17:43:10 +01:00