Skip to content

Commit 7778471

Browse files
authored
feat: Add Node 22 support (#9187)
1 parent da2f24d commit 7778471

File tree

6 files changed

+103
-120
lines changed

6 files changed

+103
-120
lines changed

Diff for: .github/workflows/ci.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -143,32 +143,36 @@ jobs:
143143
- name: MongoDB 4.2, ReplicaSet
144144
MONGODB_VERSION: 4.2.25
145145
MONGODB_TOPOLOGY: replset
146-
NODE_VERSION: 20.12.0
146+
NODE_VERSION: 22
147147
- name: MongoDB 4.4, ReplicaSet
148148
MONGODB_VERSION: 4.4.29
149149
MONGODB_TOPOLOGY: replset
150-
NODE_VERSION: 20.12.0
150+
NODE_VERSION: 22
151151
- name: MongoDB 5, ReplicaSet
152152
MONGODB_VERSION: 5.0.26
153153
MONGODB_TOPOLOGY: replset
154-
NODE_VERSION: 20.12.0
154+
NODE_VERSION: 22
155155
- name: MongoDB 6, ReplicaSet
156156
MONGODB_VERSION: 6.0.14
157157
MONGODB_TOPOLOGY: replset
158-
NODE_VERSION: 20.12.0
158+
NODE_VERSION: 22
159159
- name: MongoDB 7, ReplicaSet
160160
MONGODB_VERSION: 7.0.8
161161
MONGODB_TOPOLOGY: replset
162-
NODE_VERSION: 20.12.0
162+
NODE_VERSION: 22
163163
- name: Redis Cache
164164
PARSE_SERVER_TEST_CACHE: redis
165165
MONGODB_VERSION: 7.0.8
166166
MONGODB_TOPOLOGY: standalone
167-
NODE_VERSION: 20.12.0
167+
NODE_VERSION: 22
168168
- name: Node 18
169169
MONGODB_VERSION: 7.0.8
170170
MONGODB_TOPOLOGY: standalone
171-
NODE_VERSION: 18.20.0
171+
NODE_VERSION: 18
172+
- name: Node 20
173+
MONGODB_VERSION: 7.0.8
174+
MONGODB_TOPOLOGY: standalone
175+
NODE_VERSION: 20
172176
fail-fast: false
173177
name: ${{ matrix.name }}
174178
timeout-minutes: 15

Diff for: README.md

+12-11
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![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)
1010
[![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases)
1111

12-
[![Node Version](https://img.shields.io/badge/nodejs-18,_20-green.svg?logo=node.js&style=flat)](https://nodejs.org)
12+
[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22-green.svg?logo=node.js&style=flat)](https://nodejs.org)
1313
[![MongoDB Version](https://img.shields.io/badge/mongodb-4.2,_4.4,_5,_6,_7-green.svg?logo=mongodb&style=flat)](https://www.mongodb.com)
1414
[![Postgres Version](https://img.shields.io/badge/postgresql-13,_14,_15,_16-green.svg?logo=postgresql&style=flat)](https://www.postgresql.org)
1515

@@ -127,22 +127,23 @@ Before you start make sure you have installed:
127127

128128
Parse Server is continuously tested with the most recent releases of Node.js to ensure compatibility. We follow the [Node.js Long Term Support plan](https://github.com/nodejs/Release) and only test against versions that are officially supported and have not reached their end-of-life date.
129129

130-
| Version | Latest Version | End-of-Life | Compatible |
131-
|------------|----------------|-------------|------------|
132-
| Node.js 18 | 18.20.0 | April 2025 | ✅ Yes |
133-
| Node.js 20 | 20.12.0 | April 2026 | ✅ Yes |
130+
| Version | End-of-Life | Compatible |
131+
|------------|-------------|------------|
132+
| Node.js 18 | April 2025 | ✅ Yes |
133+
| Node.js 20 | April 2026 | ✅ Yes |
134+
| Node.js 22 | April 2027 | ✅ Yes |
134135

135136
#### MongoDB
136137

137138
Parse Server is continuously tested with the most recent releases of MongoDB to ensure compatibility. We follow the [MongoDB support schedule](https://www.mongodb.com/support-policy) and [MongoDB lifecycle schedule](https://www.mongodb.com/support-policy/lifecycles) and only test against versions that are officially supported and have not reached their end-of-life date. MongoDB "rapid releases" are ignored as these are considered pre-releases of the next major version.
138139

139140
| Version | Latest Version | End-of-Life | Compatible |
140-
| ----------- | -------------- | ------------- | ---------- |
141-
| MongoDB 4.2 | 4.2.25 | April 2023 | ✅ Yes |
142-
| MongoDB 4.4 | 4.4.29 | February 2024 | ✅ Yes |
143-
| MongoDB 5 | 5.0.26 | October 2024 | ✅ Yes |
144-
| MongoDB 6 | 6.0.14 | July 2025 | ✅ Yes |
145-
| MongoDB 7 | 7.0.8 | TDB | ✅ Yes |
141+
|-------------|----------------|---------------|------------|
142+
| MongoDB 4.2 | 4.2.25 | April 2023 | ✅ Yes |
143+
| MongoDB 4.4 | 4.4.29 | February 2024 | ✅ Yes |
144+
| MongoDB 5 | 5.0.26 | October 2024 | ✅ Yes |
145+
| MongoDB 6 | 6.0.14 | July 2025 | ✅ Yes |
146+
| MongoDB 7 | 7.0.8 | TDB | ✅ Yes |
146147

147148
#### PostgreSQL
148149

Diff for: package-lock.json

+24-52
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"pg-monitor": "2.0.0",
5555
"pg-promise": "11.7.8",
5656
"pluralize": "8.0.0",
57+
"punycode": "2.3.1",
5758
"rate-limit-redis": "4.2.0",
5859
"redis": "4.6.13",
5960
"semver": "7.6.0",
@@ -138,7 +139,7 @@
138139
"madge:circular": "node_modules/.bin/madge ./src --circular"
139140
},
140141
"engines": {
141-
"node": ">=18.0.0 <21"
142+
"node": "18 || 19 || 20 || 22"
142143
},
143144
"bin": {
144145
"parse-server": "bin/parse-server"

0 commit comments

Comments
 (0)