Skip to content

Commit

Permalink
Minimum required Node.js version is 18.
Browse files Browse the repository at this point in the history
Node.js 16 has reached its end of life, and the new jsdom 23.0.1
needs Node.js 18 or later.
  • Loading branch information
striezel committed Nov 30, 2023
1 parent e56be06 commit dd5f58f
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 21.x]

steps:
- uses: actions/checkout@v4
Expand Down
13 changes: 7 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
node_16:
image: node:16-alpine
node_18:
image: node:18-alpine
stage: build
before_script:
- node --version
- npm --version
script:
- cd ./export-server
- npm install
- ./test.sh

node_18:
image: node:18-alpine
node_20:
image: node:20-alpine
stage: build
before_script:
- node --version
Expand All @@ -19,8 +20,8 @@ node_18:
- npm install
- ./test.sh

node_20:
image: node:20-alpine
node_21:
image: node:21-alpine
stage: build
before_script:
- node --version
Expand Down
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ Since [Plotly.js](https://plotly.com/javascript/) is the main dependency of this
application, major version changes in Plotly.js will also trigger a major
version change in this application.

## Version 5.0.0-pre (2023-11-30)
## Version 5.0.0-pre (2023-12-01)

* __[breaking change]__
__Support for Node.js 17 and older versions is dropped.__ The minimum required
version is now Node.js 18. Node.js versions before 18 have reached their end of
life, so users of those versions should upgrade to newer versions anyway.

* __[maintenance]__
Update dependency `jsdom` to 23.0.1.
Expand Down
2 changes: 1 addition & 1 deletion documentation/installation-node-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ installer package and install it.

## Node.js on Linux
If your Linux distribution does not provide a recent Node.js version (at least
version 16 is recommended), you can add an (unofficial) Node.js package
version 18 is recommended), you can add an (unofficial) Node.js package
repository to your system.

### Debian-based
Expand Down
2 changes: 1 addition & 1 deletion export-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion export-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"uuid": "^9.0.1"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on the Plotly servers.

This application needs one prerequisite:

* Node.js 16 or later (preferably the latest LTS version)
* Node.js 18 or later (preferably the latest LTS version)

### Installation of Node.js

Expand Down

0 comments on commit dd5f58f

Please sign in to comment.