Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
ad6f56c
Doc updates (#791)
delvedor Mar 27, 2019
5bc57b0
Improved integration test runner
delvedor Mar 27, 2019
f260549
Added CONTRIBUTING.md and CODE_OF_CONDUCT.md
delvedor Mar 27, 2019
fb73b4b
Master should use the latest version of ES (#780)
delvedor Mar 28, 2019
22d65e5
Updated CONTRIBUTING.md (#794)
delvedor Mar 28, 2019
e98edff
Fix docs (#796)
delvedor Mar 28, 2019
c92b156
Docs: Fix the API reference (#799)
nik9000 Mar 29, 2019
0073756
Docs: Handle more funny cases from ES api spec (#800)
nik9000 Mar 29, 2019
02e24ea
Generated reference
delvedor Mar 29, 2019
373957c
Docs: Fix ingest doc links (#801)
nik9000 Mar 29, 2019
52cd07e
Generated reference
delvedor Mar 29, 2019
aea1ecf
Handle bulk errors in examples
delvedor Apr 1, 2019
5794ad5
Updated README.md
delvedor Apr 1, 2019
5af9ec1
Support for publish_address as hostname/ip:port (#804)
delvedor Apr 8, 2019
0d65274
Updated issues template
delvedor Apr 9, 2019
2919f93
Custom http agent support (#810)
delvedor Apr 10, 2019
a21281f
Improve typings (#813)
delvedor Apr 10, 2019
28c0f2e
Fix a typo in usage example (#806)
theswedishdev Apr 11, 2019
72fda2b
Drop Node.js v6 support (#818)
delvedor Apr 17, 2019
c6ce062
Updated typings (#819)
delvedor Apr 17, 2019
2f66505
API generation
delvedor Apr 17, 2019
c35eb42
Update RequestEvent to use parameterized type T (#822)
onehorsetown Apr 19, 2019
e3a0e9e
API generation
delvedor Apr 24, 2019
928746d
Updated test
delvedor Apr 24, 2019
349b832
Support for deprecated paths (#828)
delvedor Apr 26, 2019
2f76b36
Updated .travis.yml (#831)
delvedor Apr 26, 2019
8e8b7fb
Node v12 and bumped dependencies (#832)
delvedor Apr 26, 2019
9320ef9
Fix resurrect timeout formula (#833)
delvedor Apr 29, 2019
6f4fb16
Updated installation instructions (#835)
delvedor May 2, 2019
1261e60
Better handling of hostname/ip:port format (#837)
delvedor May 3, 2019
269c0fc
Improve observability (#834)
delvedor May 3, 2019
215cc03
Simplify API wrappers (#839)
delvedor May 3, 2019
802f790
Added User-Agent header (#807)
delvedor May 6, 2019
27610a7
Bumped version
delvedor May 6, 2019
4fc4699
Updated installation instructions (#840)
delvedor May 6, 2019
82a0a11
Fix 841 (#842)
delvedor May 9, 2019
24bfff5
Bumped v8.0.0-snapshot.9f33e3c7
delvedor May 9, 2019
bde19d6
Bumped v8.0.0-SNAPSHOT.9f33e3c7
delvedor May 9, 2019
37f1128
Fix 843 (#845)
delvedor May 10, 2019
2f92b28
Updated issue templates
delvedor May 10, 2019
c76d024
Fix #803 (#846)
delvedor May 14, 2019
7f77250
Added toJSON method to Connection class (#849)
delvedor May 14, 2019
ea1ecad
missing comma (#854)
camjc May 16, 2019
844206e
Patch deprecated parameters (#851)
delvedor May 16, 2019
95007b8
Support for non-friendly chars in url username and password (#858)
delvedor May 20, 2019
930703b
Updated stale bot configuration
delvedor May 30, 2019
ff9904d
Docs: added missing configuration options (#870)
delvedor Jun 3, 2019
f037e81
API generation (#875)
delvedor Jun 11, 2019
097ecc5
[DOCS] Fixes typo (#877)
lcawl Jun 12, 2019
a1ca9cd
Added cloud configuration example (#880)
JonKelley88 Jun 14, 2019
ca50f58
Updated type definitions (#882)
delvedor Jun 19, 2019
2186396
API generation
delvedor Jul 1, 2019
eadf9a7
Updated test blacklist
delvedor Jul 1, 2019
d005647
API generation
delvedor Jul 4, 2019
1a3dbeb
Remove auth data from inspect and toJSON in connection class (#887)
delvedor Jul 4, 2019
a3eb4d2
Updated travis configuration (#894)
delvedor Jul 8, 2019
ea3cd7d
API generation
delvedor Jul 8, 2019
6c8b99f
Improve integration test (#859)
delvedor Jul 10, 2019
33bc37b
[DOCS] Fix broken links (#903)
jrodewig Jul 12, 2019
ce16f28
Update standard requirement from ^12.0.1 to ^13.0.2 (#906)
dependabot-preview[bot] Jul 15, 2019
6e3f889
Update @types/node requirement from ^11.13.7 to ^12.6.2 (#899)
dependabot-preview[bot] Jul 15, 2019
56931a4
Update tap requirement from ^13.0.1 to ^14.4.1 (#900)
dependabot-preview[bot] Jul 15, 2019
b660643
Update deepmerge requirement from ^3.2.0 to ^4.0.0 (#898)
dependabot-preview[bot] Jul 15, 2019
45672e8
Added support for arbitrary_key (#910)
delvedor Jul 16, 2019
a752ea7
Improve README (#909)
delvedor Jul 17, 2019
2bd1c66
Fix typo in comments (#912)
vvision Jul 17, 2019
ffd66c1
Updated test matrix
delvedor Jul 17, 2019
62e7ba5
Updated ci jobs definitions
delvedor Jul 17, 2019
2240e05
API generation
delvedor Jul 17, 2019
24e6744
Removed branch 6.9 from ci jobs
delvedor Jul 18, 2019
0ebbd71
Improve authentication handling (#908)
delvedor Jul 18, 2019
0e08919
Improve authentication handling (#908)
delvedor Jul 18, 2019
e93f945
fix(Typings): sniffInterval can also be boolean (#914)
cblanc Jul 22, 2019
22209d6
fix(Typings): sniffInterval can also be boolean (#914)
cblanc Jul 22, 2019
35b54bb
Added job configuration for Jenkins pipelines (#911)
delvedor Jul 22, 2019
36a1666
Updated license header (#915)
delvedor Jul 22, 2019
04c797c
Merge branch 'master' into 7.3
delvedor Jul 22, 2019
6eeb3ae
API generation
delvedor Jul 22, 2019
7149fe9
Fix conflict
delvedor Jul 22, 2019
d2f7d73
Fix conflict
delvedor Jul 22, 2019
77c191e
Updated automatically the main typings file with the generated t… (#919)
delvedor Jul 25, 2019
5d97b0e
Better reference code examples (#920)
delvedor Jul 25, 2019
b2123c8
API generation
delvedor Jul 25, 2019
ab4e30c
Refactored connection pool (#913)
delvedor Jul 26, 2019
3324b9f
API generation
delvedor Aug 1, 2019
d3e078a
Merge branch '7.x' into 7.3
delvedor Aug 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
- elasticsearch-oss

elasticsearch-oss:
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-7.0.0-beta1}
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-8.0.0-SNAPSHOT}
volumes:
- esvol:/tmp
networks:
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
command: ["npm", "run", "test:integration"]

elasticsearch-platinum:
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-7.0.0-beta1}
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-8.0.0-SNAPSHOT}
ports:
- "9200:9200"
networks:
Expand Down
14 changes: 14 additions & 0 deletions .ci/jobs/elastic+elasticsearch-js+7.3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
- job:
name: elastic+elasticsearch-js+7.3
display-name: 'elastic / elasticsearch-js # 7.3'
description: Testing the elasticsearch-js 7.3 branch.
parameters:
- string:
name: branch_specifier
default: refs/heads/7.3
description: the Git branch specifier to build (<branchName>, <tagName>,
<commitId>, etc.)
triggers:
- github
- timed: '@weekly'
54 changes: 54 additions & 0 deletions .ci/jobs/elastic+elasticsearch-js+jenkins-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
- job:
name: elastic+elasticsearch-js+jenkins-pipelines
display-name: 'elastic / elasticsearch-js # jenkins-pipelines'
description: Testing the elasticsearch-js jenkins-pipelines branch.
project-type: multibranch
logrotate:
daysToKeep: 30
numToKeep: 100
number-to-keep: '5'
days-to-keep: '1'
concurrent: true
node: linux
script-path: Jenkinsfile
scm:
- github:
branch-discovery: all
discover-pr-forks-strategy: merge-current
discover-pr-forks-trust: permission
discover-pr-origin: merge-current
discover-tags: true
repo: elasticsearch-js
repo-owner: elastic
credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
ssh-checkout:
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
build-strategies:
- tags:
ignore-tags-older-than: -1
ignore-tags-newer-than: -1
- regular-branches: true
- change-request:
ignore-target-only-changes: false
clean:
after: true
before: true
prune: true
shallow-clone: true
depth: 3
do-not-fetch-tags: true
submodule:
disable: false
recursive: true
parent-credentials: true
timeout: 100
timeout: '15'
use-author: true
wipe-workspace: 'True'
periodic-folder-trigger: 1d
prune-dead-branches: true
publishers:
- email:
recipients: infra-root+build@elastic.co

2 changes: 1 addition & 1 deletion .ci/test-matrix.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
ELASTICSEARCH_VERSION:
- 7.2.0
- 7.3.0

NODE_JS_VERSION:
- 12
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#### You have already researched for similar issues?
It's not uncommon that somebody already opened an issue or in the best case it's already fixed but not merged. That's the reason why you should [search](https://github.com/elastic/elasticsearch-js/issues) at first before submitting a new one.

#### Are you sure this is an issue with @elastic/elasticsearch or are you just looking for some help?
#### Are you sure this is an issue with `@elastic/elasticsearch` or are you just looking for some help?

Issues should only be posted in this repository after you have been able to reproduce them and confirm that they are a bug or incorrect/missing information in the [docs](https://github.com/elastic/elasticsearch-js/docs).

Expand Down
10 changes: 9 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ Paste your code here:

```

<!--
In some cases, it might be challenging to reproduce the bug in a few lines of code.
You can fork the following repository, which contains all the configuration needed
to spin up a three nodes Elasticsearch cluster with security enabled.
The repository also contains a preconfigured client instance that you can use to reproduce the issue.
https://github.com/delvedor/es-reproduce-issue
--->

## Expected behavior

A clear and concise description of what you expected to happen.
Expand All @@ -36,6 +44,6 @@ Paste the results here:
## Your Environment

- *node version*: 6,8,10
- *@elastic/elasticsearch version*: >=7.0.0
- `@elastic/elasticsearch` *version*: >=7.0.0
- *os*: Mac, Windows, Linux
- *any other relevant information*
10 changes: 9 additions & 1 deletion .github/ISSUE_TEMPLATE/regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ Paste your code here:

```

<!--
In some cases, it might be challenging to reproduce the bug in a few lines of code.
You can fork the following repository, which contains all the configuration needed
to spin up a three nodes Elasticsearch cluster with security enabled.
The repository also contains a preconfigured client instance that you can use to reproduce the issue.
https://github.com/delvedor/es-reproduce-issue
--->

## Expected behavior

A clear and concise description of what you expected to happen.
Expand All @@ -42,6 +50,6 @@ Paste the results here:
## Your Environment

- *node version*: 6,8,10
- *@elastic/elasticsearch version*: >=7.0.0
- `@elastic/elasticsearch` *version*: >=7.0.0
- *os*: Mac, Windows, Linux
- *any other relevant information*
1 change: 1 addition & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ exemptLabels:
- "discussion"
- "feature request"
- "bug"
- "todo"

# Label to use when marking an issue as stale
staleLabel: stale
Expand Down
21 changes: 3 additions & 18 deletions api/api/bulk.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

'use strict'

Expand Down
21 changes: 3 additions & 18 deletions api/api/cat.aliases.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

'use strict'

Expand Down
21 changes: 3 additions & 18 deletions api/api/cat.allocation.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

'use strict'

Expand Down
21 changes: 3 additions & 18 deletions api/api/cat.count.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

'use strict'

Expand Down
21 changes: 3 additions & 18 deletions api/api/cat.fielddata.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

'use strict'

Expand Down
21 changes: 3 additions & 18 deletions api/api/cat.health.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

'use strict'

Expand Down
21 changes: 3 additions & 18 deletions api/api/cat.help.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

'use strict'

Expand Down
21 changes: 3 additions & 18 deletions api/api/cat.indices.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

'use strict'

Expand Down
21 changes: 3 additions & 18 deletions api/api/cat.master.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

'use strict'

Expand Down
Loading