mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
Drop support for Node.js 12
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
8449fb0e47
commit
e222225866
5 changed files with 11 additions and 6 deletions
4
.github/workflows/node.js.yml
vendored
4
.github/workflows/node.js.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [12, 14, 16]
|
node-version: [14, 16]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
@ -45,7 +45,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [12, 14, 16]
|
node-version: [14, 16]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
|
|
@ -31,11 +31,11 @@ EOF
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if version_lt "$(node --version)" 'v12.0.0'; then
|
if version_lt "$(node --version)" 'v14.13.1'; then
|
||||||
cat << EOF
|
cat << EOF
|
||||||
FATAL: Your Node.js version is not supported.
|
FATAL: Your Node.js version is not supported.
|
||||||
|
|
||||||
Please upgrade to version 12 or higher and try again.
|
Please upgrade to version 14.13.1 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 `>= 12.20.0`, `>= 14.13.1` or `>= 16`. We recommend you run HedgeDoc with the latest release of Node 16.
|
- Node.js `>= 14.13.1` or `>= 16`. We recommend you run HedgeDoc with the latest release of Node 16.
|
||||||
- Database (PostgreSQL, MySQL, MariaDB, SQLite)
|
- Database (PostgreSQL, MySQL, MariaDB, SQLite)
|
||||||
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;`
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
"xss": "^1.0.3"
|
"xss": "^1.0.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.20.0 || ^14.13.1 || 16.x"
|
"node": "^14.13.1 || 16.x"
|
||||||
},
|
},
|
||||||
"bugs": "https://github.com/hedgedoc/hedgedoc/issues",
|
"bugs": "https://github.com/hedgedoc/hedgedoc/issues",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Release Notes
|
# Release Notes
|
||||||
|
|
||||||
|
## <i class="fa fa-tag"></i> 1.x.x <i class="fa fa-calendar-o"></i> UNRELEASED
|
||||||
|
|
||||||
|
This release drops support for Node.js 12, as it has reached end-of-life.
|
||||||
|
|
||||||
|
|
||||||
## <i class="fa fa-tag"></i> 1.9.3 <i class="fa fa-calendar-o"></i> 2022-04-10
|
## <i class="fa fa-tag"></i> 1.9.3 <i class="fa fa-calendar-o"></i> 2022-04-10
|
||||||
|
|
||||||
This release fixes a security issue. We recommend upgrading as soon as possible.
|
This release fixes a security issue. We recommend upgrading as soon as possible.
|
||||||
|
|
Loading…
Reference in a new issue