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.
This commit is contained in:
muxator 2020-04-08 23:22:13 +02:00 committed by muxator
parent 6cba0f1dc5
commit 684f374ece
6 changed files with 9 additions and 7 deletions

View File

@ -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

View File

@ -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):**

View File

@ -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

View File

@ -115,7 +115,7 @@ Your plugin must also contain a [package definition file](https://docs.npmjs.com
"author": "USERNAME (REAL NAME) <MAIL@EXAMPLE.COM>",
"contributors": [],
"dependencies": {"MODULE": "0.3.20"},
"engines": { "node": ">= 8.9.0"}
"engines": { "node": ">= 10.13.0"}
}
```

View File

@ -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.

View File

@ -75,7 +75,7 @@
"wd": "1.11.4"
},
"engines": {
"node": ">=8.9.0",
"node": ">=10.13.0",
"npm": ">=5.5.1"
},
"repository": {