From f07eabd85a93c5ccd9cbe82ff6cb8a6f9b8805e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Fri, 3 Apr 2026 21:58:02 +0200 Subject: [PATCH] Updated documentation about node requirements --- .github/workflows/assets_artifact_build.yml | 2 +- .github/workflows/tests.yml | 2 +- README.md | 4 ++-- docs/upgrade/1_to_2.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/assets_artifact_build.yml b/.github/workflows/assets_artifact_build.yml index 7ee5e7fc..a74ae7cc 100644 --- a/.github/workflows/assets_artifact_build.yml +++ b/.github/workflows/assets_artifact_build.yml @@ -67,7 +67,7 @@ jobs: - name: Setup node uses: actions/setup-node@v6 with: - node-version: '20' + node-version: '22' - name: Install yarn dependencies run: yarn install diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3df1955a..efd5c3d3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -106,7 +106,7 @@ jobs: - name: Setup node uses: actions/setup-node@v6 with: - node-version: '20' + node-version: '22' - name: Install yarn dependencies run: yarn install diff --git a/README.md b/README.md index 993a1a9c..ad37e9c6 100644 --- a/README.md +++ b/README.md @@ -74,11 +74,11 @@ Part-DB is also used by small companies and universities for managing their inve ## Requirements * A **web server** (like Apache2 or nginx) that is capable of - running [Symfony 6](https://symfony.com/doc/current/reference/requirements.html), + running [Symfony 7](https://symfony.com/doc/current/reference/requirements.html), this includes a minimum PHP version of **PHP 8.2** * A **MySQL** (at least 5.7) /**MariaDB** (at least 10.4) database server, or **PostgreSQL** 10+ if you do not want to use SQLite. * Shell access to your server is highly recommended! -* For building the client-side assets **yarn** and **nodejs** (>= 20.0) is needed. +* For building the client-side assets **yarn** and **nodejs** (>= 22.0) is needed. ## Installation diff --git a/docs/upgrade/1_to_2.md b/docs/upgrade/1_to_2.md index 6cd4a3e4..af5f1aa6 100644 --- a/docs/upgrade/1_to_2.md +++ b/docs/upgrade/1_to_2.md @@ -18,7 +18,7 @@ fulfilled by the official Part-DB docker image.* Part-DB 2.0 requires at least PHP 8.2 (newer versions are recommended). So if your existing Part-DB installation is still running PHP 8.1, you will have to upgrade your PHP version first. -The minimum required version of node.js is now 20.0 or newer, so if you are using 18.0, you will have to upgrade it too. +The minimum required version of node.js is now 22.0 or newer, so if you are using 18.0, you will have to upgrade it too. Most distributions should have the possibility to get backports for PHP 8.4 and modern nodejs, so you should be able to easily upgrade your system to the new requirements. Otherwise, you can use the official Part-DB docker image, which