mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-28 14:04:43 -04:00
Merge pull request #1167 from hedgedoc/maintenance/master/remove_node_10
This commit is contained in:
commit
c8e2117452
5 changed files with 11 additions and 8 deletions
4
.github/workflows/node.js.yml
vendored
4
.github/workflows/node.js.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [10.x, 12.x, 14.x, 15.x, 16.x]
|
node-version: [12.x, 14.x, 15.x, 16.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
@ -63,7 +63,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [10.x, 12.x, 14.x, 15.x, 16.x]
|
node-version: [12.x, 14.x, 15.x, 16.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
|
|
@ -23,7 +23,7 @@ fi
|
||||||
|
|
||||||
if version_lt "$(yarn --version)" '1.22.0'; then
|
if version_lt "$(yarn --version)" '1.22.0'; then
|
||||||
cat << EOF
|
cat << EOF
|
||||||
FATAL: Your Yarn version is outdated.
|
FATAL: Your Yarn version is not supported.
|
||||||
|
|
||||||
Please upgrade to version 1.22.0 or higher and try again.
|
Please upgrade to version 1.22.0 or higher and try again.
|
||||||
See https://classic.yarnpkg.com/en/docs/install for instructions.
|
See https://classic.yarnpkg.com/en/docs/install for instructions.
|
||||||
|
@ -31,11 +31,11 @@ EOF
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if version_lt "$(node --version)" 'v10.13.0'; then
|
if version_lt "$(node --version)" 'v12.0.0'; then
|
||||||
cat << EOF
|
cat << EOF
|
||||||
FATAL: Your Node.js version is outdated.
|
FATAL: Your Node.js version is not supported.
|
||||||
|
|
||||||
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.
|
We recommend running the latest LTS release, see https://nodejs.org/en/about/releases/ for details.
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Manual Installation
|
# Manual Installation
|
||||||
|
|
||||||
!!! info "Requirements on your server"
|
!!! info "Requirements on your server"
|
||||||
- Node.js 10.13 or higher
|
- Node.js 12 or higher
|
||||||
- Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL)
|
- Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL)
|
||||||
The database must use charset `utf8`. This is typically the default in PostgreSQL and SQLite.
|
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;`
|
In MySQL and MariaDB UTF-8 might need to be set with `alter database <DBNAME> character set utf8 collate utf8_bin;`
|
||||||
|
|
|
@ -144,7 +144,7 @@
|
||||||
"**/request": "^2.88.0"
|
"**/request": "^2.88.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.13"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
"bugs": "https://github.com/hedgedoc/hedgedoc/issues",
|
"bugs": "https://github.com/hedgedoc/hedgedoc/issues",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# Release Notes
|
# Release Notes
|
||||||
## <i class="fa fa-tag"></i> 1.8.0 <i class="fa fa-calendar-o"></i> UNRELEASED
|
## <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
|
### Features
|
||||||
- Database migrations are now automatically applied on application startup.
|
- Database migrations are now automatically applied on application startup.
|
||||||
The separate `.sequelizerc` configuration file is no longer necessary and can be safely deleted.
|
The separate `.sequelizerc` configuration file is no longer necessary and can be safely deleted.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue