From 2871f3b3854b6f33e1ba41f0945b3c97e10d9925 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 9 Aug 2024 16:36:41 +0900 Subject: [PATCH] chore: bump required Node.js version --- dev/container/docker-compose.yml | 2 +- dev/docs/local-installation.md | 2 +- docs/install.md | 2 +- packages/backend/src/boot/master.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/container/docker-compose.yml b/dev/container/docker-compose.yml index 8768a095f3..56f0ff30a9 100644 --- a/dev/container/docker-compose.yml +++ b/dev/container/docker-compose.yml @@ -2,7 +2,7 @@ version: "3" services: web: - image: docker.io/node:18.19.0-bookworm + image: docker.io/node:18.20.0-bookworm container_name: firefish_web restart: unless-stopped depends_on: diff --git a/dev/docs/local-installation.md b/dev/docs/local-installation.md index 70f1d4c489..63197f092e 100644 --- a/dev/docs/local-installation.md +++ b/dev/docs/local-installation.md @@ -15,7 +15,7 @@ sudo apt install build-essential python3 curl wget git lsb-release ### Node.js -Firefish requires Node.js v18.19.0 or later. While you can choose any versions between v18.19.0 and the latest version (v22.2.0 as of writing), we recommend that you install v18.x so as not to use new features inadvertently and introduce incompatibility issues. +Firefish requires Node.js v18.20.0 or later. While you can choose any versions between v18.20.0 and the latest version (v22.2.0 as of writing), we recommend that you install v18.x so as not to use new features inadvertently and introduce incompatibility issues. Instructions can be found at [this repository](https://github.com/nodesource/distributions). diff --git a/docs/install.md b/docs/install.md index 4ed2268e6f..96197ee83b 100644 --- a/docs/install.md +++ b/docs/install.md @@ -8,7 +8,7 @@ Firefish depends on the following software. ### Runtime dependencies -- At least [NodeJS](https://nodejs.org/en/) v18.19.0 (v20/v22 recommended) +- At least [NodeJS](https://nodejs.org/en/) v18.20.0 (v20/v22 recommended) - At least [PostgreSQL](https://www.postgresql.org/) v12 (v16 recommended) with [PGroonga](https://pgroonga.github.io/) extension - At least [Redis](https://redis.io/) v7 or [Valkey](https://valkey.io/) v7 - Web Proxy (one of the following) diff --git a/packages/backend/src/boot/master.ts b/packages/backend/src/boot/master.ts index 0585f34bc1..aae9cc2111 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -70,7 +70,7 @@ function showNodejsVersion(): void { nodejsLogger.info(`Version ${process.version} detected.`); - const minVersion = "v18.19.0"; + const minVersion = "v18.20.0"; if (semver.lt(process.version, minVersion)) { nodejsLogger.error(`At least Node.js ${minVersion} required!`); process.exit(1);