From 684f374eceb015389bd68eb2031d49de09c5a6a3 Mon Sep 17 00:00:00 2001 From: muxator Date: Wed, 8 Apr 2020 23:22:13 +0200 Subject: [PATCH] runtime: require node >= 10.13.0 LTS At the moment, NodeJS 10.x is the lowest supported LTS version. NodeJS 8.x is no longer supported upstream. Implements #3835. Planned in #3650. --- CHANGELOG.md | 2 ++ README.md | 4 ++-- bin/installDeps.sh | 4 ++-- doc/plugins.md | 2 +- src/node/server.js | 2 +- src/package.json | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8069e84c8..af4c09728 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # 1.8.3 +* REQUIREMENTS: minimum required Node version is **10.13.0 LTS**. + *BREAKING CHANGE*: undoing the "clear authorship colors" command is no longer supported (see https://github.com/ether/etherpad-lite/issues/2802) # 1.8 diff --git a/README.md b/README.md index 2ab92e018..fbe70008b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Etherpad is a real-time collaborative editor scalable to thousands of simultaneo # Installation ## Requirements -- `nodejs` >= **8.9.0** (preferred: `nodejs` >= **10.13.0**). Please note that starting Jan 1st, 2020, nodejs 8.x is deprecated. +- `nodejs` >= **10.13.0**. ## GNU/Linux and other UNIX-like systems @@ -22,7 +22,7 @@ git clone --branch master https://github.com/ether/etherpad-lite.git && cd ether ``` ### Manual install -You'll need git and [node.js](https://nodejs.org) installed (minimum required Node version: **8.9.0**, preferred: >= **10.13.0**). +You'll need git and [node.js](https://nodejs.org) installed (minimum required Node version: **10.13.0**). **As any user (we recommend creating a separate user called etherpad):** diff --git a/bin/installDeps.sh b/bin/installDeps.sh index 429f63b9e..50310d9a1 100755 --- a/bin/installDeps.sh +++ b/bin/installDeps.sh @@ -1,8 +1,8 @@ #!/bin/sh # minimum required node version -REQUIRED_NODE_MAJOR=8 -REQUIRED_NODE_MINOR=9 +REQUIRED_NODE_MAJOR=10 +REQUIRED_NODE_MINOR=13 # minimum required npm version REQUIRED_NPM_MAJOR=5 diff --git a/doc/plugins.md b/doc/plugins.md index a91569ad5..513e38577 100644 --- a/doc/plugins.md +++ b/doc/plugins.md @@ -115,7 +115,7 @@ Your plugin must also contain a [package definition file](https://docs.npmjs.com "author": "USERNAME (REAL NAME) ", "contributors": [], "dependencies": {"MODULE": "0.3.20"}, - "engines": { "node": ">= 8.9.0"} + "engines": { "node": ">= 10.13.0"} } ``` diff --git a/src/node/server.js b/src/node/server.js index 8e57b3997..d98767225 100755 --- a/src/node/server.js +++ b/src/node/server.js @@ -31,7 +31,7 @@ log4js.replaceConsole(); * early check for version compatibility before calling * any modules that require newer versions of NodeJS */ -NodeVersion.enforceMinNodeVersion('8.9.0'); +NodeVersion.enforceMinNodeVersion('10.13.0'); /* * Etherpad 1.8.3 will require at least nodejs 10.13.0. diff --git a/src/package.json b/src/package.json index 305842ec2..56a2008a9 100644 --- a/src/package.json +++ b/src/package.json @@ -75,7 +75,7 @@ "wd": "1.11.4" }, "engines": { - "node": ">=8.9.0", + "node": ">=10.13.0", "npm": ">=5.5.1" }, "repository": {