Stop supporting Node v14 and v16 (#2055)

This commit is contained in:
Josh Mock
2023-11-02 13:16:24 -05:00
committed by GitHub
parent 9e2ff66564
commit 3c5178c7ae
5 changed files with 9 additions and 5 deletions

View File

@ -13,7 +13,6 @@ steps:
- "free" - "free"
- "platinum" - "platinum"
nodejs: nodejs:
- "16"
- "18" - "18"
- "20" - "20"
command: ./.buildkite/run-tests.sh command: ./.buildkite/run-tests.sh

View File

@ -36,7 +36,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
node-version: [14.x, 16.x, 18.x, 20.x] node-version: [18.x, 20.x]
os: [ubuntu-latest, windows-latest, macOS-latest] os: [ubuntu-latest, windows-latest, macOS-latest]
steps: steps:

View File

@ -28,7 +28,7 @@ of the getting started documentation.
### Node.js 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 Elastic Stack versioning, this means that The client versioning follows the Elastic Stack versioning, this means that
major, minor, and patch releases are done following a precise schedule 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) | | `10.x` | `April 2021` | `7.12` (mid 2021) |
| `12.x` | `April 2022` | `8.2` (early 2022) | | `12.x` | `April 2022` | `8.2` (early 2022) |
| `14.x` | `April 2023` | `8.8` (early 2023) | | `14.x` | `April 2023` | `8.8` (early 2023) |
| `16.x` | `September 2023` | `8.11` (late 2023) |
### Compatibility ### Compatibility

View File

@ -24,7 +24,7 @@ To learn more about the supported major versions, please refer to the
[[nodejs-support]] [[nodejs-support]]
=== Node.js 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 The client versioning follows the {stack} versioning, this means that
major, minor, and patch releases are done following a precise schedule that major, minor, and patch releases are done following a precise schedule that
@ -64,6 +64,10 @@ of `^7.10.0`).
|`14.x` |`14.x`
|April 2023 |April 2023
|`8.8` (early 2023) |`8.8` (early 2023)
|`16.x`
|September 2023
|`8.11` (late 2023)
|=== |===
[discrete] [discrete]

View File

@ -47,7 +47,7 @@
}, },
"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html", "homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html",
"engines": { "engines": {
"node": ">=14" "node": ">=18"
}, },
"devDependencies": { "devDependencies": {
"@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1", "@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1",