From 0f0c600bb7537560c61899f62c24cb9c40c31242 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 5 Jan 2023 10:28:52 -0600 Subject: [PATCH 1/5] [8.6] Bump `@elastic/transport` to 8.3.1 Co-authored-by: Rudolf Meijering --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3ea6cc36d..c2d4271f2 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "zx": "^6.1.0" }, "dependencies": { - "@elastic/transport": "^8.2.0", + "@elastic/transport": "^8.3.1", "tslib": "^2.4.0" }, "tap": { @@ -91,4 +91,4 @@ "coverage": false, "check-coverage": false } -} \ No newline at end of file +} From 281ac00af763f2ae70a727433f3b1a534e92e297 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Jan 2023 15:28:28 -0500 Subject: [PATCH 2/5] [8.6] Add release notes for 8.6.0 Co-authored-by: Seth Michael Larson --- docs/changelog.asciidoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/changelog.asciidoc b/docs/changelog.asciidoc index 0d1bd8114..e4e245616 100644 --- a/docs/changelog.asciidoc +++ b/docs/changelog.asciidoc @@ -1,6 +1,21 @@ [[changelog-client]] == Release notes +[discrete] +=== 8.6.0 + +[discrete] +===== Bump @elastic/transport to 8.3.1+ https://github.com/elastic/elasticsearch-js/pull/1802[#1802] + +The `@elastic/transport` dependency has been bumped to `~8.3.1` to ensure +fixes to the `maxResponseSize` option are available in the client. + +[discrete] +===== Support for Elasticsearch `v8.6.0` + +You can find all the API changes +https://www.elastic.co/guide/en/elasticsearch/reference/8.6/release-notes-8.6.0.html[here]. + [discrete] === 8.5.0 From 2be9e7cf5d0339e6a86c4706b3f7e2d3cc511892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20Saint-F=C3=A9lix?= Date: Thu, 12 Jan 2023 14:52:58 +0100 Subject: [PATCH 3/5] Update bulk.asciidoc (#1752) (#1807) Fix typo Co-authored-by: Ryan Har <31252286+nkwwk@users.noreply.github.com> --- docs/examples/bulk.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/bulk.asciidoc b/docs/examples/bulk.asciidoc index c6117c249..8d470a305 100644 --- a/docs/examples/bulk.asciidoc +++ b/docs/examples/bulk.asciidoc @@ -77,8 +77,8 @@ async function run () { // fix the document before to try it again. status: action[operation].status, error: action[operation].error, - operation: body[i * 2], - document: body[i * 2 + 1] + operation: operations[i * 2], + document: operations[i * 2 + 1] }) } }) From 2fd6f82b0fbf2df8bbd45bf158b7683f64c54afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 22 Feb 2023 14:49:51 +0100 Subject: [PATCH 4/5] [8.6] [DOCS] Includes source_branch in docs index --- docs/index.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.asciidoc b/docs/index.asciidoc index f57b2f8d5..2de0d54a7 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -1,6 +1,6 @@ = Elasticsearch JavaScript Client -:branch: master +include::{asciidoc-dir}/../../shared/versions/stack/{source_branch}.asciidoc[] include::{asciidoc-dir}/../../shared/attributes.asciidoc[] include::introduction.asciidoc[] From 68e539efda07b7284b7520f8d6fef67688b1cbe9 Mon Sep 17 00:00:00 2001 From: Nico Kokonas Date: Tue, 28 Mar 2023 08:46:51 -0600 Subject: [PATCH 5/5] Update basic-config.asciidoc fix missing comma --- docs/basic-config.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/basic-config.asciidoc b/docs/basic-config.asciidoc index 04ca7b1ee..ab288f2b1 100644 --- a/docs/basic-config.asciidoc +++ b/docs/basic-config.asciidoc @@ -11,7 +11,7 @@ const { Client } = require('@elastic/elasticsearch') const client = new Client({ cloud: { id: '' }, - auth: { apiKey: 'base64EncodedKey' } + auth: { apiKey: 'base64EncodedKey' }, maxRetries: 5, requestTimeout: 60000, sniffOnStart: true @@ -267,4 +267,4 @@ _Default:_ `null` |`number` - When configured, it verifies that the compressed response size is lower than the configured number, if it's higher it will abort the request. It cannot be higher than buffer.constants.MAX_LENTGH + _Default:_ `null` -|=== \ No newline at end of file +|===