diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index b955d2c..5e25186 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14.x, 16.x, 18.x, 19.x, 20.x] + node-version: [16.x, 18.x, 19.x, 20.x] os: [ubuntu-latest, windows-latest, macOS-latest] steps: diff --git a/README.md b/README.md index e21eb03..7bcbb2c 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ npm install @elastic/transport ### Node.js support -NOTE: The minimum supported version of Node.js is `v14`. +NOTE: The minimum supported version of Node.js is `v16`. The client versioning follows the Elastc Stack versioning, this means that major, minor, and patch releases are done following a precise schedule that @@ -23,9 +23,7 @@ often does not coincide with the [Node.js release](https://nodejs.org/en/about/r To avoid support insecure and unsupported versions of Node.js, the client **will drop the support of EOL versions of Node.js between minor releases**. Typically, as soon as a Node.js version goes into EOL, the client will continue -to support that version for at least another minor release. If you are using the client -with a version of Node.js that will be unsupported soon, you will see a warning -in your logs (the client will start logging the warning with two minors in advance). +to support that version for at least another minor release. Unless you are **always** using a supported version of Node.js, we recommend defining the client dependency in your diff --git a/package.json b/package.json index 59a3454..00b6cb3 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "homepage": "https://github.com/elastic/elastic-transport-js#readme", "engines": { - "node": ">=14" + "node": ">=16" }, "devDependencies": { "@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1",