Commit Graph

29 Commits

Author SHA1 Message Date
1f6c68df9c v7.0.0-rc1 support 🚀 (#792)
Support for Elasticsearch `v7.0.0-rc1`
2019-03-28 08:32:24 +01:00
3a1bb9377a Merge branch 'master' into 7.x 2019-03-26 12:06:04 +01:00
46bd14a36c Better api error handling (#790)
* API generation

* Updated code generation

* Updated test
2019-03-26 12:04:44 +01:00
358474bca8 Feat: Support bundlers (#783)
With this change, we support code bundlers, such as webpack.
Fixes: https://github.com/elastic/elasticsearch-js/issues/781
2019-03-19 09:53:43 +01: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
3b41c555ae Feat: Support bundlers (#783)
With this change, we support code bundlers, such as webpack.
Fixes: https://github.com/elastic/elasticsearch-js/issues/781
2019-03-19 07:50:05 +01:00
c53c798899 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-15 18:09:44 +01:00
99e1dc3b39 API generation 2019-03-13 14:13:53 +01:00
2ca3754d20 API generation 2019-03-13 14:12:38 +01:00
5c6c5dea78 API generation 2019-03-11 18:34:39 +01:00
cae38e6b2b License (#773)
- Added license header
- Added license checker
- Fixed tap
2019-03-08 07:47:24 +01:00
ed3cca0fe6 Platinum integration test (#772)
🎉
2019-03-01 08:42:56 +01:00
92c23232a7 API generation 2019-02-18 12:59:29 +01:00
96fe644eb2 API generation 2019-02-15 10:29:48 +01:00
0355322ef4 API generation 2019-02-12 16:39:49 +01:00
7c63c2d9e2 API generation 2019-01-30 11:38:36 +01:00
3bb4fda004 API generation 2019-01-30 09:33:04 +01:00
23cfe11e44 Unknown parameters handling (#761) 2019-01-29 17:31:43 +01:00
7acd2e3b07 Elasticsearch 7 support 🚀 (#760)
* API generation

* Updated typings

* Updated code generation

* Updated test

* Updated ci configuration

* Fixed test
2019-01-29 12:10:20 +01:00
f56ae1a70d Request parameters typings (#748) 2019-01-11 14:08:49 +01:00
396686ee77 API generation 2018-12-13 16:53:21 +01:00
ab90797b65 API generation 2018-12-12 16:53:30 +01:00
e20961fb3a API generation 2018-11-21 11:15:06 +01:00
8475bc52fa API generation 2018-11-19 11:32:20 +01:00
1d696ba0d6 API generation 2018-11-15 17:46:33 +01:00
08e9ff398f API generation 2018-11-08 19:35:51 +01:00
2d3701d7e9 API generation 2018-11-05 19:17:55 +01:00
42fd15d54c API generation 2018-11-02 11:46:00 +01:00
55c507c423 API generation 2018-10-30 17:26:22 +01:00