Skip to content

Commit

Permalink
Switch 8.11 clients to only get patch updates to transport (#2215)
Browse files Browse the repository at this point in the history
* Backport changelog from 8.10

* Pin transport to ~8.4.0
  • Loading branch information
JoshMock committed Apr 9, 2024
1 parent 90cfe2a commit f929d8f
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 5 deletions.
70 changes: 68 additions & 2 deletions docs/changelog.asciidoc
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
[[changelog-client]]
== Release notes

[discrete]
=== 8.11.1

[discrete]
==== Fixes

[discrete]
===== Bump @elastic/transport to `~8.4.0`

Switching from `^8.4.0` to `~8.4.0` ensures 8.11 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.11.0

[discrete]
=== Features
==== Features

[discrete]
===== Support for Elasticsearch `v8.11.0`
Expand All @@ -20,18 +31,40 @@ https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.

See <<redaction>> for more information.

[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`

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

Expand Down Expand Up @@ -68,6 +101,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

Expand Down Expand Up @@ -113,6 +157,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

Expand All @@ -122,6 +177,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

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@elastic/elasticsearch",
"version": "8.11.0",
"versionCanary": "8.11.0-canary.1",
"version": "8.11.1",
"versionCanary": "8.11.1-canary.0",
"description": "The official Elasticsearch client for Node.js",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -82,7 +82,7 @@
"zx": "^7.2.2"
},
"dependencies": {
"@elastic/transport": "^8.4.0",
"@elastic/transport": "~8.4.0",
"tslib": "^2.4.0"
},
"tap": {
Expand Down

0 comments on commit f929d8f

Please sign in to comment.