Skip to content

Commit 8cf2735

Browse files
authored
feat: Add Node 24 support (#3041)
1 parent 4019ea9 commit 8cf2735

File tree

4 files changed

+25
-13
lines changed

4 files changed

+25
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ jobs:
108108
NODE_VERSION: 20.18.0
109109
- name: Node 22
110110
NODE_VERSION: 22.12.0
111+
- name: Node 24
112+
NODE_VERSION: 24.0.0
111113
fail-fast: false
112114
name: ${{ matrix.name }}
113115
timeout-minutes: 15

README.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Build Status](https://github.com/parse-community/parse-dashboard/workflows/ci/badge.svg?branch=release)](https://github.com/parse-community/parse-dashboard/actions?query=workflow%3Aci+branch%3Arelease)
77
[![Snyk Badge](https://snyk.io/test/github/parse-community/parse-dashboard/badge.svg)](https://snyk.io/test/github/parse-community/parse-dashboard)
88

9-
[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22-green.svg?logo=node.js&style=flat)](https://nodejs.org/)
9+
[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22,_24-green.svg?logo=node.js&style=flat)](https://nodejs.org/)
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

1212
[![npm latest version](https://img.shields.io/npm/v/parse-dashboard/latest.svg)](https://www.npmjs.com/package/parse-dashboard)
@@ -30,6 +30,14 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
3030
- [Node.js](#nodejs)
3131
- [Configuring Parse Dashboard](#configuring-parse-dashboard)
3232
- [Options](#options)
33+
- [Root Options](#root-options)
34+
- [App Options](#app-options)
35+
- [Column Options](#column-options)
36+
- [Script Options](#script-options)
37+
- [Info Panel Options](#info-panel-options)
38+
- [User Options](#user-options)
39+
- [CLI \& Server Options](#cli--server-options)
40+
- [Helper CLI Commands](#helper-cli-commands)
3341
- [File](#file)
3442
- [Environment variables](#environment-variables)
3543
- [Multiple apps](#multiple-apps)
@@ -51,7 +59,8 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
5159
- [Security Checks](#security-checks)
5260
- [Configuring Basic Authentication](#configuring-basic-authentication)
5361
- [Multi-Factor Authentication (One-Time Password)](#multi-factor-authentication-one-time-password)
54-
- [Separating App Access Based on User Identity](#separating-app-access-based-on-user-identity)
62+
- [Running Multiple Dashboard Replicas](#running-multiple-dashboard-replicas)
63+
- [Using a Custom Session Store](#using-a-custom-session-store)
5564
- [Use Read-Only masterKey](#use-read-only-masterkey)
5665
- [Making an app read-only for all users](#making-an-app-read-only-for-all-users)
5766
- [Makings users read-only](#makings-users-read-only)
@@ -135,32 +144,33 @@ Parse Dashboard automatically checks the Parse Server version when connecting an
135144
### Node.js
136145
Parse Dashboard 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.
137146

138-
| Version | Latest Version | End-of-Life | Compatible |
147+
| Version | Minimum version | End-of-Life | Compatible |
139148
|------------|----------------|-------------|------------|
140149
| Node.js 18 | 18.20.4 | May 2025 | ✅ Yes |
141150
| Node.js 20 | 20.18.0 | April 2026 | ✅ Yes |
142151
| Node.js 22 | 22.9.0 | April 2027 | ✅ Yes |
152+
| Node.js 24 | 24.0.0 | April 2028 | ✅ Yes |
143153

144154
## Configuring Parse Dashboard
145155

146156
### Options
147157

148158
This section provides a comprehensive reference for all Parse Dashboard configuration options that can be used in the configuration file, via CLI arguments, or as environment variables.
149159

150-
#### Root Configuration Keys
160+
#### Root Options
151161

152162
| Key | Type | Required | Default | CLI | Env Variable | Example | Description | Links to Details |
153163
|-----|------|----------|---------|-----|--------------|---------|-------------|------------------|
154-
| `apps` | Array<Object> | Yes | - | - | `PARSE_DASHBOARD_CONFIG` | `[{...}]` | Array of Parse Server apps to manage | [App Configuration](#app-configuration-apps-array) |
155-
| `users` | Array<Object> | No | - | - | - | `[{...}]` | User accounts for dashboard authentication | [User Configuration](#user-configuration-users) |
164+
| `apps` | Array<Object> | Yes | - | - | `PARSE_DASHBOARD_CONFIG` | `[{...}]` | Array of Parse Server apps to manage | [App Options](#app-options) |
165+
| `users` | Array<Object> | No | - | - | - | `[{...}]` | User accounts for dashboard authentication | [User Configuration](#user-options) |
156166
| `useEncryptedPasswords` | Boolean | No | `false` | - | - | `true` | Use bcrypt hashes instead of plain text passwords | - |
157167
| `trustProxy` | Boolean \| Number | No | `false` | `--trustProxy` | `PARSE_DASHBOARD_TRUST_PROXY` | `1` | Trust X-Forwarded-* headers when behind proxy | - |
158168
| `iconsFolder` | String | No | - | - | - | `"icons"` | Folder for app icons (relative or absolute path) | - |
159169
| `agent` | Object | No | - | - | `PARSE_DASHBOARD_AGENT` (JSON) | `{...}` | AI agent configuration | [AI Agent Configuration](#ai-agent) |
160170
| `enableResourceCache` | Boolean | No | `false` | - | - | `true` | Enable browser caching of dashboard resources | - |
161171

162172

163-
##### App Configuration (`apps` array)
173+
##### App Options
164174

165175
| Parameter | Type | Optional | Default | CLI | Env Variable | Example | Description |
166176
| -------------------------- | ------------------- | -------- | --------- | -------------------- | ------------------------------------ | --------------------------------- | ------------------------------------------------------------------------------------------------------------ |
@@ -193,7 +203,7 @@ This section provides a comprehensive reference for all Parse Dashboard configur
193203
| `scripts` | Array<Object> | yes | `[]` | - | - | `[{...}]` | Scripts for this app. See [scripts table below](#scripts). |
194204
| `infoPanel` | Array<Object> | yes | - | - | - | `[{...}]` | Info panel config. See [info panel table below](#info-panel). |
195205

196-
##### Column Preference Configuration (`apps[].columnPreference.<className>[]`)
206+
##### Column Options
197207

198208
Each class in `columnPreference` can have an array of column configurations:
199209

@@ -204,7 +214,7 @@ Each class in `columnPreference` can have an array of column configurations:
204214
| `preventSort` | Boolean | yes | `false` | `true` | Prevent this column from being sortable. |
205215
| `filterSortToTop` | Boolean | yes | `false` | `true` | Sort this column to the top in filter popup. |
206216

207-
##### Scripts Configuration (`apps[].scripts[]`)
217+
##### Script Options
208218

209219
| Parameter | Type | Optional | Default | Example | Description |
210220
| --------------------------|--------------------------------------------|----------|---------|-----------------|---------------------------------------------------|
@@ -215,7 +225,7 @@ Each class in `columnPreference` can have an array of column configurations:
215225
| `showConfirmationDialog` | Boolean | yes | `false` | `true` | Show confirmation dialog before execution. |
216226
| `confirmationDialogStyle` | String | yes | `info` | `critical` | Dialog style: `info` (blue) or `critical` (red). |
217227

218-
##### Info Panel Configuration (`apps[].infoPanel[]`)
228+
##### Info Panel Options
219229

220230
| Parameter | Type | Optional | Default | Example | Description |
221231
| --------------------|---------------------|----------|---------|--------------------|-----------------------------------------------|
@@ -229,7 +239,7 @@ Each class in `columnPreference` can have an array of column configurations:
229239
| `prefetchAudio` | Boolean | yes | `true` | `false` | Whether to prefetch audio content. |
230240

231241

232-
##### User Configuration (`users[]`)
242+
##### User Options
233243

234244
| Parameter | Type | Optional | Default | CLI | Env Variable | Example | Description |
235245
| ------------------|---------------------|----------|----------|------------------|---------------------------------|----------------------|----------------------------------------|

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
"parse-dashboard": "./bin/parse-dashboard"
145145
},
146146
"engines": {
147-
"node": ">=18.20.4 <19.0.0 || >=20.18.0 <21.0.0 || >=22.12.0 <23.0.0"
147+
"node": ">=18.20.4 <19.0.0 || >=20.18.0 <21.0.0 || >=22.12.0 <23.0.0 || >=24.0.0 <25.0.0"
148148
},
149149
"main": "Parse-Dashboard/app.js",
150150
"jest": {

0 commit comments

Comments
 (0)