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
4ab53eee4b
Updated new types export ( #1446 ) ( #1447 )
...
* Updated new types
* Updated new types
* Updated test
* Updated docs
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2021-04-15 08:44:37 +02:00
e198511327
Expose the new type definition along with the current one ( #1440 )
2021-04-07 14:10:17 +02:00
f138b077e3
New type definitions ( #1358 )
2021-03-24 14:54:06 +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
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
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
d7b7187a85
Fixed type test
2020-07-15 15:48:45 +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
615481d5ed
[Backport 7.x] Export a kibana restricted type definition ( #1248 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-07-06 11:49:49 +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
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
51169d5efa
Support for Elasticsearch 7.7 ( #1192 )
2020-05-14 09:55:54 +02:00
8c78f47ac3
Support for Elasticsearch 7.3 ( #928 )
2019-08-01 10:09:16 +02:00
2ceb04697b
Fix typo in comments ( #912 )
2019-07-17 17:05:16 +02:00
0918df8e7d
Updated type definitions ( #882 )
...
* Updated type definitions
* Updated test
2019-06-19 09:15:31 +02:00
6f2767628c
Fix 841 ( #842 )
...
* Added errors to exported members
* Updated test
2019-05-09 14:57:33 +02:00
29beb44bf5
Improve typings ( #813 )
...
The ApiResponse now accepts a generics that defaults to any, same for every API method that might need a body.
2019-04-10 11:43:14 +02:00
68c4dd29fb
feat: add support for querystring in options object ( #779 )
...
In very few cases, some API uses the same key for both url and query params, such as the bulk method.
The client is not designed to handle such cases since accepts both url and query keys in the same object, and the url parameter will always take precedence.
This pr fixes this edge case by adding a `querystring` key in the options object.
Fixes: https://github.com/elastic/elasticsearch-js/pull/778
```js
client.bulk({
index: 'index',
type: '_doc',
body: [...]
}, {
querystring: {
type: '_doc'
}
}, console.log)
```
2019-03-19 09:53:43 +01:00
c990ed43d4
Updated test
2019-03-11 17:12:53 +01:00
cae38e6b2b
License ( #773 )
...
- Added license header
- Added license checker
- Fixed tap
2019-03-08 07:47:24 +01:00
a8f861c4d4
Updated test
2019-02-19 09:34:14 +01:00
a86a552a85
Updated test
2018-12-12 16:53:51 +01:00
230b08ab86
Updated test
2018-12-10 20:15:42 +01:00
3b737f8e2b
Updated test
2018-12-05 22:18:41 +01:00
4b2df7504e
Updated test
2018-12-04 14:30:28 +01:00
ab1d7ba992
Typings support ( #737 )
...
* Updated scripts
* Updated .gitignore
* Removed symbols
* Fixed typo
* Added typings
* Updated test
* Added typings test
2018-11-30 17:01:55 +01:00