From 5c3adee8141256dbf43781968588ca82c734cad5 Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Tue, 12 Dec 2023 16:06:03 -0600 Subject: [PATCH] 8.11.0 changelog (#2097) * Changelog for 8.11.0 * Add redaction docs link to changelog (cherry picked from commit 1fb789862dd36e85c211bf1d32aa90c3454c5dc2) --- docs/advanced-config.asciidoc | 1 + docs/changelog.asciidoc | 19 +++++++++++++++++++ package.json | 4 ++-- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/advanced-config.asciidoc b/docs/advanced-config.asciidoc index 167061dce..b3c9388a4 100644 --- a/docs/advanced-config.asciidoc +++ b/docs/advanced-config.asciidoc @@ -92,6 +92,7 @@ const client = new Client({ ---- [discrete] +[[redaction]] ==== Redaction of potentially sensitive data When the client raises an `Error` that originated at the HTTP layer, like a `ConnectionError` or `TimeoutError`, a `meta` object is often attached to the error object that includes metadata useful for debugging, like request and response information. Because this can include potentially sensitive data, like authentication secrets in an `Authorization` header, the client takes measures to redact common sources of sensitive data when this metadata is attached and serialized. diff --git a/docs/changelog.asciidoc b/docs/changelog.asciidoc index b82c397da..0d79214b2 100644 --- a/docs/changelog.asciidoc +++ b/docs/changelog.asciidoc @@ -1,6 +1,25 @@ [[changelog-client]] == Release notes +[discrete] +=== 8.11.0 + +[discrete] +=== Features + +[discrete] +===== Support for Elasticsearch `v8.11.0` + +You can find all the API changes +https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.0.html[here]. + +[discrete] +===== Enhanced support for redacting potentially sensitive data https://github.com/elastic/elasticsearch-js/pull/2095[#2095] + +`@elastic/transport` https://github.com/elastic/elastic-transport-js/releases/tag/v8.4.0[version 8.4.0] introduces enhanced measures for ensuring that request metadata attached to some `Error` objects is redacted. This functionality is primarily to address custom logging solutions that don't use common serialization methods like `JSON.stringify`, `console.log`, or `util.inspect`, which were already accounted for. + +See <> for more information. + [discrete] === 8.10.0 diff --git a/package.json b/package.json index 56332e190..add6446fa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@elastic/elasticsearch", - "version": "8.10.3", - "versionCanary": "8.10.3-canary.1", + "version": "8.11.0", + "versionCanary": "8.11.0-canary.0", "description": "The official Elasticsearch client for Node.js", "main": "index.js", "types": "index.d.ts",