From 859ca633bed200e72a08e92c83860f4008edaf16 Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Tue, 9 Apr 2024 12:54:22 -0500 Subject: [PATCH] Switch 8.10 clients to only get patch updates to transport (#2214) --- docs/changelog.asciidoc | 57 ++++++++++++++++++++++++++++++++++++++++- package.json | 6 ++--- 2 files changed, 59 insertions(+), 4 deletions(-) diff --git a/docs/changelog.asciidoc b/docs/changelog.asciidoc index b82c397da..0ec711a39 100644 --- a/docs/changelog.asciidoc +++ b/docs/changelog.asciidoc @@ -1,11 +1,22 @@ [[changelog-client]] == Release notes +[discrete] +=== 8.10.1 + +[discrete] +==== Fixes + +[discrete] +===== Bump @elastic/transport to `~8.3.4` + +Switching from `^8.3.4` to `~8.3.4` ensures 8.10 client users are not required to update to Node.js v18+, which is a new requirement set by `@elastic/transport` v8.5.0. See https://github.com/elastic/elastic-transport-js/issues/91[elastic/elastic-transport-js#91] for details. + [discrete] === 8.10.0 [discrete] -=== Features +==== Features [discrete] ===== Support for Elasticsearch `v8.10.0` @@ -13,6 +24,17 @@ You can find all the API changes https://www.elastic.co/guide/en/elasticsearch/reference/8.10/release-notes-8.10.0.html[here]. +[discrete] +=== 8.9.2 + +[discrete] +==== Fixes + +[discrete] +===== Bump @elastic/transport to `~8.3.4` + +Switching from `^8.3.4` to `~8.3.4` ensures 8.9 client users are not required to update to Node.js v18+, which is a new requirement set by `@elastic/transport` v8.5.0. See https://github.com/elastic/elastic-transport-js/issues/91[elastic/elastic-transport-js#91] for details. + [discrete] === 8.9.1 @@ -49,6 +71,17 @@ In the https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/curre The `user-agent` header the client used to connect to Elasticsearch was using a non-standard format that has been improved. +[discrete] +=== 8.8.2 + +[discrete] +==== Fixes + +[discrete] +===== Bump @elastic/transport to `~8.3.2` + +Switching from `^8.3.2` to `~8.3.2` ensures 8.8 client users are not required to update to Node.js v18+, which is a new requirement set by `@elastic/transport` v8.5.0. See https://github.com/elastic/elastic-transport-js/issues/91[elastic/elastic-transport-js#91] for details. + [discrete] === 8.8.1 @@ -94,6 +127,17 @@ https://www.elastic.co/guide/en/elasticsearch/reference/8.8/release-notes-8.8.0. Prior releases contained a bug where type declarations for legacy types that include a `body` key were not actually importing the type that includes the `body` key. +[discrete] +=== 8.7.3 + +[discrete] +==== Fixes + +[discrete] +===== Bump @elastic/transport to `~8.3.1` + +Switching from `^8.3.1` to `~8.3.1` ensures 8.7 client users are not required to update to Node.js v18+, which is a new requirement set by `@elastic/transport` v8.5.0. See https://github.com/elastic/elastic-transport-js/issues/91[elastic/elastic-transport-js#91] for details. + [discrete] === 8.7.0 @@ -103,6 +147,17 @@ Prior releases contained a bug where type declarations for legacy types that inc You can find all the API changes https://www.elastic.co/guide/en/elasticsearch/reference/8.7/release-notes-8.7.0.html[here]. +[discrete] +=== 8.6.1 + +[discrete] +==== Fixes + +[discrete] +===== Bump @elastic/transport to `~8.3.1` + +Switching from `^8.3.1` to `~8.3.1` ensures 8.6 client users are not required to update to Node.js v18+, which is a new requirement set by `@elastic/transport` v8.5.0. See https://github.com/elastic/elastic-transport-js/issues/91[elastic/elastic-transport-js#91] for details. + [discrete] === 8.6.0 diff --git a/package.json b/package.json index 47df76c97..3e4b5fb80 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@elastic/elasticsearch", - "version": "8.10.0", - "versionCanary": "8.10.0-canary.1", + "version": "8.10.1", + "versionCanary": "8.10.1-canary.0", "description": "The official Elasticsearch client for Node.js", "main": "index.js", "types": "index.d.ts", @@ -82,7 +82,7 @@ "zx": "^7.2.2" }, "dependencies": { - "@elastic/transport": "^8.3.4", + "@elastic/transport": "~8.3.4", "tslib": "^2.4.0" }, "tap": {