Skip to content

Commit 295553c

Browse files
[Backport 8.2] Drop Node.js v12 (#1671)
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com>
1 parent 96b5b8e commit 295553c

File tree

7 files changed

+15
-10
lines changed

7 files changed

+15
-10
lines changed

.ci/packer_cache.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
source /usr/local/bin/bash_standard_lib.sh
44

5-
DOCKER_IMAGES="node:16-alpine
5+
DOCKER_IMAGES="node:17-alpine
6+
node:16-alpine
67
node:14-alpine
7-
node:12-alpine
88
"
99

1010
for di in ${DOCKER_IMAGES}

.ci/run-repository.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ script_path=$(dirname $(realpath -s $0))
99
source $script_path/functions/imports.sh
1010
set -euo pipefail
1111

12-
NODE_JS_VERSION=${NODE_JS_VERSION-12}
12+
NODE_JS_VERSION=${NODE_JS_VERSION-16}
1313
ELASTICSEARCH_URL=${ELASTICSEARCH_URL-"$elasticsearch_url"}
1414
elasticsearch_container=${elasticsearch_container-}
1515

.ci/test-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ STACK_VERSION:
33
- 8.2.0-SNAPSHOT
44

55
NODE_JS_VERSION:
6+
- 17
67
- 16
78
- 14
8-
- 12
99

1010
TEST_SUITE:
1111
- free

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [12.x, 14.x, 16.x]
12+
node-version: [14.x, 16.x, 17.x]
1313
os: [ubuntu-latest, windows-latest, macOS-latest]
1414

1515
steps:

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ npm install @elastic/elasticsearch
2222

2323
### Node.js support
2424

25-
NOTE: The minimum supported version of Node.js is `v12`.
25+
NOTE: The minimum supported version of Node.js is `v14`.
2626

2727
The client versioning follows the Elastic Stack versioning, this means that
2828
major, minor, and patch releases are done following a precise schedule that
@@ -44,8 +44,9 @@ of `^7.10.0`).
4444
| Node.js Version | Node.js EOL date | End of support |
4545
| --------------- |------------------| ---------------------- |
4646
| `8.x` | `December 2019` | `7.11` (early 2021) |
47-
| `10.x` | `April 2021` | `7.12` (mid 2021) |
48-
| `12.x` | `April 2022` | `8.2` (early 2022) |
47+
| `10.x` | `April 2021` | `7.12` (mid 2021) |
48+
| `12.x` | `April 2022` | `8.2` (early 2022) |
49+
| `14.x` | `April 2023` | `8.8` (early 2023) |
4950

5051
### Compatibility
5152

docs/installation.asciidoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To learn more about the supported major versions, please refer to the
2424
[[nodejs-support]]
2525
=== Node.js support
2626

27-
NOTE: The minimum supported version of Node.js is `v12`.
27+
NOTE: The minimum supported version of Node.js is `v14`.
2828

2929
The client versioning follows the {stack} versioning, this means that
3030
major, minor, and patch releases are done following a precise schedule that
@@ -60,6 +60,10 @@ of `^7.10.0`).
6060
|`12.x`
6161
|April 2022
6262
|`8.2` (early 2022)
63+
64+
|`14.x`
65+
|April 2023
66+
|`8.8` (early 2023)
6367
|===
6468

6569
[discrete]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html",
4747
"engines": {
48-
"node": ">=12"
48+
"node": ">=14"
4949
},
5050
"devDependencies": {
5151
"@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1",

0 commit comments

Comments
 (0)