Skip to content

Commit 8c22ec4

Browse files
committed
Require nodejs 20.0 or later
1 parent 74cc862 commit 8c22ec4

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ Part-DB is also used by small companies and universities for managing their inve
7575

7676
* A **web server** (like Apache2 or nginx) that is capable of
7777
running [Symfony 6](https://symfony.com/doc/current/reference/requirements.html),
78-
this includes a minimum PHP version of **PHP 8.1**
78+
this includes a minimum PHP version of **PHP 8.2**
7979
* A **MySQL** (at least 5.7) /**MariaDB** (at least 10.4) database server, or **PostgreSQL** 10+ if you do not want to use SQLite.
8080
* Shell access to your server is highly recommended!
81-
* For building the client-side assets **yarn** and **nodejs** (>= 18.0) is needed.
81+
* For building the client-side assets **yarn** and **nodejs** (>= 20.0) is needed.
8282

8383
## Installation
8484

docs/installation/installation_guide-debian.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ sudo apt install git curl zip ca-certificates software-properties-common apt-tra
3333

3434
### Install PHP and apache2
3535

36-
Part-DB is written in [PHP](https://php.net) and therefore needs a PHP interpreter to run. Part-DB needs PHP 8.1 or
36+
Part-DB is written in [PHP](https://php.net) and therefore needs a PHP interpreter to run. Part-DB needs PHP 8.2 or
3737
higher. However, it is recommended to use the most recent version of PHP for performance reasons and future
3838
compatibility.
3939

docs/upgrade_legacy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ sections carefully before proceeding to upgrade.
1616

1717
## Changes
1818

19-
* PHP 8.1 or higher is required now (Part-DB 0.5 required PHP 5.4+, Part-DB 0.6 PHP 7.0).
20-
Releases are available for Windows too, so almost everybody should be able to use PHP 8.1
19+
* PHP 8.2 or higher is required now (Part-DB 0.5 required PHP 5.4+, Part-DB 0.6 PHP 7.0).
20+
Releases are available for Windows too, so almost everybody should be able to use PHP 8.2
2121
* **Console access is highly recommended.** The installation of composer and frontend dependencies require console access,
2222
also more sensitive stuff like database migration works via CLI now, so you should have console access on your server.
2323
* Markdown/HTML is now used instead of BBCode for rich text in description and command fields.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
"watch": "encore dev --watch",
3030
"build": "encore production --progress"
3131
},
32+
"engines": {
33+
"node": ">=20.0.0"
34+
},
3235
"dependencies": {
3336
"@algolia/autocomplete-js": "^1.17.0",
3437
"@algolia/autocomplete-plugin-recent-searches": "^1.17.0",

0 commit comments

Comments
 (0)