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
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
21683e6826
Skip compression in case of empty string body ( #1080 )
...
* Fix #1069
* Updated test
* Updated test
2020-02-04 10:30:49 +01:00
1a6c36e291
Fix typo in NoLivingConnectionsError ( #1045 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-02-04 10:29:59 +01:00
d58365eb70
Change TransportRequestOptions.ignore to number[] ( #1053 )
2020-01-15 18:25:41 +01:00
c0000aa207
Support for Elasticsearch 7.5 ( #1015 )
...
* API generation
* X-Opaque-Id support (#997 )
* Added X-Opaque-Id support
* Updated type definitions
* Updated test
* Updated docs
* Skip data_frame_transform_deprecated.* apis
* API generation
* Fix docs link
* Fix CI configuration
* Added enrich_user to default roles
* Added transform_admin ad transform_user to default roles
2019-12-03 14:31:59 +01:00
7472c5ee94
Support for Elasticsearch 7.4 ( #979 )
...
* Update code generation (#969 )
* Updated code generation scripts to use the new spec
* API generation
* Fix bad link
* Updated API reference doc (#945 )
* Updated API reference doc
* Updated docs script
* Fix issue; node roles are defaulting to true when undefined (fal… (#967 )
* Fix issue; nodeFilter was unable to filter because master, data, and ingest role were true if even they were false on the node.
* Test nodesToHost of BaseConnectionPool correctly maps node roles
* API generation
* Docker: use 7.4-SNAPSHOT
* API generation
* Use 7.4 stable
2019-10-02 11:17:32 +02:00
b056f7d796
Add body and querystring to RequestOptions ( #957 )
2019-09-11 11:30:28 +02:00
8c78f47ac3
Support for Elasticsearch 7.3 ( #928 )
2019-08-01 10:09:16 +02:00
060d4ae5fc
Remove auth data from inspect and toJSON in connection class ( #887 )
...
* Remove auth data from inspect and toJSON in connection class
* Updated test
2019-07-04 14:43:01 +02:00
0918df8e7d
Updated type definitions ( #882 )
...
* Updated type definitions
* Updated test
2019-06-19 09:15:31 +02:00
bb0ff22fd2
Support for non-friendly chars in url username and password ( #858 )
...
* Support for non-friendly chars in url username and password
- Added auth option to Connection class
- Updated pool.addConnection
* Updated test
2019-05-20 17:10:17 +02:00
96a103b305
Added toJSON method to Connection class ( #849 )
...
* Added toJSON method to Connection class
* Updated test
* Updated typings
2019-05-14 12:01:21 -04:00
3e9ae8b29c
Fix #803 ( #846 )
2019-05-14 12:01:21 -04:00
064807c5a9
Fix 843 ( #845 )
...
* Fix #843
* Updated test
2019-05-10 10:56:06 +02:00
907f9d085c
Added User-Agent header ( #807 )
...
* Added User-Agent header
* Updated test
* Updated user-agent format
* Updated test
2019-05-06 09:59:55 +02:00
b1458e3511
Improve observability ( #834 )
...
* API generation
* Added correlation id support
* Updated docs
* Updated test
* Updated code generation
* API generation
* Updated code generation
* Added support for client name and custom context object
* Updated docs
* Updated test
* Fix docs
* Updated docs
* Added id support also for sniffing
* Updated test
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Apply suggestions
* Update docs/configuration.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/configuration.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Apply suggestions
* Updated README.md
* Fixed test
* Addressed suggestions
2019-05-03 17:25:25 +02:00
9dacd9d9ee
Better handling of hostname/ip:port format ( #837 )
...
* Better handling of hostname/ip:port format
* Updated test
2019-05-03 17:25:04 +02:00