From 09be390e4400a2fa5742869bfeeff74bcc5daf87 Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Mon, 7 Apr 2025 18:28:50 +0200 Subject: [PATCH] Change Node.js minimum version to Node 20 Node 18 will be EOL at the end of the month, we should probably not support it for Mastodon 4.4. --- README.md | 2 +- package.json | 2 +- streaming/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8a34754576..e92b1256ee 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Mastodon is a **free, open-source social network server** based on ActivityPub w - **PostgreSQL** 12+ - **Redis** 4+ - **Ruby** 3.2+ -- **Node.js** 18+ +- **Node.js** 20+ The repository includes deployment configurations for **Docker and docker-compose** as well as specific platforms like **Heroku**, and **Scalingo**. For Helm charts, reference the [mastodon/chart repository](https://github.com/mastodon/chart). The [**standalone** installation guide](https://docs.joinmastodon.org/admin/install/) is available in the documentation. diff --git a/package.json b/package.json index cd4eb712d7..528f7f125f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "license": "AGPL-3.0-or-later", "packageManager": "yarn@4.8.1", "engines": { - "node": ">=18" + "node": ">=20" }, "workspaces": [ ".", diff --git a/streaming/package.json b/streaming/package.json index f376b89c3a..b242a0147d 100644 --- a/streaming/package.json +++ b/streaming/package.json @@ -3,7 +3,7 @@ "license": "AGPL-3.0-or-later", "packageManager": "yarn@4.8.1", "engines": { - "node": ">=18" + "node": ">=20" }, "description": "Mastodon's Streaming Server", "private": true,