From 272d04f36bb7357c7cfbc84b54c80c9cfb5fd02c Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Thu, 2 Nov 2023 13:50:56 -0500 Subject: [PATCH] [Backport 8.11] Stop supporting Node v14 and v16 (#2055) (#2056) --- .buildkite/pipeline.yml | 1 - .github/workflows/nodejs.yml | 2 +- README.md | 3 ++- docs/installation.asciidoc | 6 +++++- package.json | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index d05129234..e493831a9 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -13,7 +13,6 @@ steps: - "free" - "platinum" nodejs: - - "16" - "18" - "20" command: ./.buildkite/run-tests.sh diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ca00cb372..397a2b467 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14.x, 16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macOS-latest] steps: diff --git a/README.md b/README.md index 37e78a387..1046dc84d 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ of the getting started documentation. ### Node.js support -NOTE: The minimum supported version of Node.js is `v14`. +NOTE: The minimum supported version of Node.js is `v18`. The client versioning follows the Elastic Stack versioning, this means that major, minor, and patch releases are done following a precise schedule that @@ -53,6 +53,7 @@ of `^7.10.0`). | `10.x` | `April 2021` | `7.12` (mid 2021) | | `12.x` | `April 2022` | `8.2` (early 2022) | | `14.x` | `April 2023` | `8.8` (early 2023) | +| `16.x` | `September 2023` | `8.11` (late 2023) | ### Compatibility diff --git a/docs/installation.asciidoc b/docs/installation.asciidoc index b04a1a1cd..4fe1f78ab 100644 --- a/docs/installation.asciidoc +++ b/docs/installation.asciidoc @@ -24,7 +24,7 @@ To learn more about the supported major versions, please refer to the [[nodejs-support]] === Node.js support -NOTE: The minimum supported version of Node.js is `v14`. +NOTE: The minimum supported version of Node.js is `v18`. The client versioning follows the {stack} versioning, this means that major, minor, and patch releases are done following a precise schedule that @@ -64,6 +64,10 @@ of `^7.10.0`). |`14.x` |April 2023 |`8.8` (early 2023) + +|`16.x` +|September 2023 +|`8.11` (late 2023) |=== [discrete] diff --git a/package.json b/package.json index 29388a7af..ef2b7aa7a 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ }, "homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html", "engines": { - "node": ">=14" + "node": ">=18" }, "devDependencies": { "@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1",