From 59a22212c8e76b215bb3b2abc6ca2e65417a52f3 Mon Sep 17 00:00:00 2001 From: Heinrich Filter Date: Wed, 5 Nov 2025 10:24:04 +0200 Subject: [PATCH] Attempt adding Node v24 support --- .github/workflows/ci.yml | 26 +++++++++++++++----------- README.md | 3 ++- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5aaa5ff9cc..a2be99ec13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: paths-ignore: - '**/**.md' env: - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 PARSE_SERVER_TEST_TIMEOUT: 20000 permissions: actions: write @@ -156,20 +156,20 @@ jobs: - name: MongoDB 6, ReplicaSet MONGODB_VERSION: 6.0.19 MONGODB_TOPOLOGY: replset - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 - name: MongoDB 7, ReplicaSet MONGODB_VERSION: 7.0.16 MONGODB_TOPOLOGY: replset - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 - name: MongoDB 8, ReplicaSet MONGODB_VERSION: 8.0.4 MONGODB_TOPOLOGY: replset - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 - name: Redis Cache PARSE_SERVER_TEST_CACHE: redis MONGODB_VERSION: 8.0.4 MONGODB_TOPOLOGY: standalone - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 - name: Node 20 MONGODB_VERSION: 8.0.4 MONGODB_TOPOLOGY: standalone @@ -178,6 +178,10 @@ jobs: MONGODB_VERSION: 8.0.4 MONGODB_TOPOLOGY: standalone NODE_VERSION: 18.20.4 + - name: Node 22 + MONGODB_VERSION: 8.0.4 + MONGODB_TOPOLOGY: standalone + NODE_VERSION: 22.12.0 fail-fast: false name: ${{ matrix.name }} timeout-minutes: 20 @@ -225,22 +229,22 @@ jobs: include: - name: PostgreSQL 15, PostGIS 3.3 POSTGRES_IMAGE: postgis/postgis:15-3.3 - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 - name: PostgreSQL 15, PostGIS 3.4 POSTGRES_IMAGE: postgis/postgis:15-3.4 - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 - name: PostgreSQL 15, PostGIS 3.5 POSTGRES_IMAGE: postgis/postgis:15-3.5 - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 - name: PostgreSQL 16, PostGIS 3.5 POSTGRES_IMAGE: postgis/postgis:16-3.5 - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 - name: PostgreSQL 17, PostGIS 3.5 POSTGRES_IMAGE: postgis/postgis:17-3.5 - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 - name: PostgreSQL 18, PostGIS 3.6 POSTGRES_IMAGE: postgis/postgis:18-3.6 - NODE_VERSION: 22.12.0 + NODE_VERSION: 24.11.0 fail-fast: false name: ${{ matrix.name }} timeout-minutes: 20 diff --git a/README.md b/README.md index 9103e0ecfb..ad51487019 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![Coverage](https://codecov.io/github/parse-community/parse-server/branch/alpha/graph/badge.svg)](https://app.codecov.io/github/parse-community/parse-server/tree/alpha) [![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases) -[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22-green.svg?logo=node.js&style=flat)](https://nodejs.org) +[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22,_24-green.svg?logo=node.js&style=flat)](https://nodejs.org) [![MongoDB Version](https://img.shields.io/badge/mongodb-6,_7,_8-green.svg?logo=mongodb&style=flat)](https://www.mongodb.com) [![Postgres Version](https://img.shields.io/badge/postgresql-13,_14,_15,_16,_17,_18-green.svg?logo=postgresql&style=flat)](https://www.postgresql.org) @@ -130,6 +130,7 @@ Parse Server is continuously tested with the most recent releases of Node.js to | Node.js 18 | 18.20.4 | April 2025 | <= 8.x (2025) | | Node.js 20 | 20.18.0 | April 2026 | <= 9.x (2026) | | Node.js 22 | 22.12.0 | April 2027 | <= 10.x (2027) | +| Node.js 24 | 24.11.0 | April 2028 | <= 11.x (2028) | #### MongoDB diff --git a/package-lock.json b/package-lock.json index 37f3585512..19f0009b26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -107,7 +107,7 @@ "yaml": "2.8.0" }, "engines": { - "node": ">=18.20.4 <19.0.0 || >=20.18.0 <21.0.0 || >=22.12.0 <23.0.0" + "node": ">=18.20.4 <19.0.0 || >=20.18.0 <21.0.0 || >=22.12.0 <23.0.0 || >=24.11.0 <25.0.0" }, "funding": { "type": "opencollective", diff --git a/package.json b/package.json index 559196a02c..72fec73460 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,7 @@ }, "types": "types/index.d.ts", "engines": { - "node": ">=18.20.4 <19.0.0 || >=20.18.0 <21.0.0 || >=22.12.0 <23.0.0" + "node": ">=18.20.4 <19.0.0 || >=20.18.0 <21.0.0 || >=22.12.0 <23.0.0 || >=24.11.0 <25.0.0" }, "bin": { "parse-server": "bin/parse-server"