mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05:00
Raise minimum required Node.js version to 12
As Node 10 will be EOL at April 30th, we should stop supporting and/or promoting the usage of that version. See also https://endoflife.date/nodejs Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
5cef3d4ac7
commit
e1df30bd5c
4 changed files with 7 additions and 4 deletions
|
@ -31,11 +31,11 @@ EOF
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if version_lt "$(node --version)" 'v10.13.0'; then
|
||||
if version_lt "$(node --version)" 'v12.0.0'; then
|
||||
cat << EOF
|
||||
FATAL: Your Node.js version is outdated.
|
||||
|
||||
Please upgrade to version 10.13 or higher and try again.
|
||||
Please upgrade to version 12 or higher and try again.
|
||||
We recommend running the latest LTS release, see https://nodejs.org/en/about/releases/ for details.
|
||||
EOF
|
||||
exit 1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Manual Installation
|
||||
|
||||
!!! info "Requirements on your server"
|
||||
- Node.js 10.13 or higher
|
||||
- Node.js 12 or higher
|
||||
- Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL)
|
||||
The database must use charset `utf8`. This is typically the default in PostgreSQL and SQLite.
|
||||
In MySQL and MariaDB UTF-8 might need to be set with `alter database <DBNAME> character set utf8 collate utf8_bin;`
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
"**/request": "^2.88.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.13"
|
||||
"node": ">=12"
|
||||
},
|
||||
"bugs": "https://github.com/hedgedoc/hedgedoc/issues",
|
||||
"keywords": [
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# Release Notes
|
||||
## <i class="fa fa-tag"></i> 1.8.0 <i class="fa fa-calendar-o"></i> UNRELEASED
|
||||
|
||||
**Please note:** This release dropped support for Node 10, which is end-of-life since April 2021. You now need at least Node 12 to run HedgeDoc, but we recommend running [the latest LTS release](https://nodejs.org/en/about/releases/).
|
||||
|
||||
### Features
|
||||
- Database migrations are now automatically applied on application startup.
|
||||
The separate `.sequelizerc` configuration file is no longer necessary and can be safely deleted.
|
||||
|
|
Loading…
Reference in a new issue