Skip to content

Commit de5c899

Browse files
authored
doc,chore: drop support for Node.js v14, v19 (#1324)
1 parent 3083b7f commit de5c899

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

.github/workflows/ci-win.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@ jobs:
1010
timeout-minutes: 30
1111
strategy:
1212
matrix:
13-
node-version: [ 14.x, 16.x, 18.x, 19.x ]
13+
node-version: [ 16.x, 18.x, 20.x ]
1414
architecture: [x64, x86]
1515
os:
1616
- windows-2019
1717
- windows-2022
18-
exclude:
19-
- node-version: 14.x
20-
os: windows-2022 # Node.JS 14.x GYP does not support Visual Studio 2022
2118
runs-on: ${{ matrix.os }}
2219
steps:
2320
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
timeout-minutes: 30
1111
strategy:
1212
matrix:
13-
node-version: [ 14.x, 16.x, 18.x, 19.x ]
13+
node-version: [ 16.x, 18.x, 20.x ]
1414
os:
1515
- macos-latest
1616
- ubuntu-latest

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ This allows addons built with it to run with Node.js versions which support the
8383
**However** the node-addon-api support model is to support only the active LTS Node.js versions. This means that
8484
every year there will be a new major which drops support for the Node.js LTS version which has gone out of service.
8585

86-
The oldest Node.js version supported by the current version of node-addon-api is Node.js 14.x.
86+
The oldest Node.js version supported by the current version of node-addon-api is Node.js 16.x.
8787

8888
## Setup
8989
- [Installation and usage](doc/setup.md)
@@ -275,6 +275,7 @@ available:
275275
![Node-API v6 Badge](https://github.com/nodejs/abi-stable-node/blob/doc/assets/Node-API%20v6%20Badge.svg)
276276
![Node-API v7 Badge](https://github.com/nodejs/abi-stable-node/blob/doc/assets/Node-API%20v7%20Badge.svg)
277277
![Node-API v8 Badge](https://github.com/nodejs/abi-stable-node/blob/doc/assets/Node-API%20v8%20Badge.svg)
278+
![Node-API v9 Badge](https://github.com/nodejs/abi-stable-node/blob/doc/assets/Node-API%20v9%20Badge.svg)
278279
![Node-API Experimental Version Badge](https://github.com/nodejs/abi-stable-node/blob/doc/assets/Node-API%20Experimental%20Version%20Badge.svg)
279280

280281
## **Contributing**

doc/creating_a_release.md

+21
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,24 @@ and that the correct version is installed.
6060
and close the issue.
6161

6262
* Tweet that the release has been created.
63+
64+
## Optional Steps
65+
66+
Depending on circumstances for the release, additional steps may be required to
67+
support the release process.
68+
69+
### Major Releases to Drop Support Node.js Versions
70+
71+
`node-addon-api` provides support for Node.js versions following the same
72+
[release schedule](https://nodejs.dev/en/about/releases/): once a Node.js
73+
version leaves maintenance mode, the next major version of `node-addon-api`
74+
published will drop support for that version. These are the steps to follow to
75+
drop support for a Node.js version:
76+
77+
* Update minimum version supported in documentation ([README.md](../README.md))
78+
79+
* Remove from GitHub actions ([ci.yml](../.github/workflows/ci.yml) and
80+
[ci-win.yml](../.github/workflows/ci-win.yml))
81+
82+
* Remove from Jenkins CI ([node-test-node-addon-api-LTS versions
83+
[Jenkins]](https://ci.nodejs.org/view/x%20-%20Abi%20stable%20module%20API/job/node-test-node-addon-api-LTS%20versions/))

0 commit comments

Comments
 (0)