mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
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:
parent
6cba0f1dc5
commit
684f374ece
6 changed files with 9 additions and 7 deletions
|
@ -1,4 +1,6 @@
|
||||||
# 1.8.3
|
# 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)
|
*BREAKING CHANGE*: undoing the "clear authorship colors" command is no longer supported (see https://github.com/ether/etherpad-lite/issues/2802)
|
||||||
|
|
||||||
# 1.8
|
# 1.8
|
||||||
|
|
|
@ -10,7 +10,7 @@ Etherpad is a real-time collaborative editor scalable to thousands of simultaneo
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
## Requirements
|
## 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
|
## 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
|
### 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):**
|
**As any user (we recommend creating a separate user called etherpad):**
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# minimum required node version
|
# minimum required node version
|
||||||
REQUIRED_NODE_MAJOR=8
|
REQUIRED_NODE_MAJOR=10
|
||||||
REQUIRED_NODE_MINOR=9
|
REQUIRED_NODE_MINOR=13
|
||||||
|
|
||||||
# minimum required npm version
|
# minimum required npm version
|
||||||
REQUIRED_NPM_MAJOR=5
|
REQUIRED_NPM_MAJOR=5
|
||||||
|
|
|
@ -115,7 +115,7 @@ Your plugin must also contain a [package definition file](https://docs.npmjs.com
|
||||||
"author": "USERNAME (REAL NAME) <MAIL@EXAMPLE.COM>",
|
"author": "USERNAME (REAL NAME) <MAIL@EXAMPLE.COM>",
|
||||||
"contributors": [],
|
"contributors": [],
|
||||||
"dependencies": {"MODULE": "0.3.20"},
|
"dependencies": {"MODULE": "0.3.20"},
|
||||||
"engines": { "node": ">= 8.9.0"}
|
"engines": { "node": ">= 10.13.0"}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ log4js.replaceConsole();
|
||||||
* early check for version compatibility before calling
|
* early check for version compatibility before calling
|
||||||
* any modules that require newer versions of NodeJS
|
* 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.
|
* Etherpad 1.8.3 will require at least nodejs 10.13.0.
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
"wd": "1.11.4"
|
"wd": "1.11.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.9.0",
|
"node": ">=10.13.0",
|
||||||
"npm": ">=5.5.1"
|
"npm": ">=5.5.1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue