Skip to content

Commit 2546cc8

Browse files
authored
fix: Remove Node 12 and Node 17 support (#8279)
BREAKING CHANGE: This release removes Node 12 and Node 17 support
1 parent 7cb266b commit 2546cc8

File tree

5 files changed

+8
-20
lines changed

5 files changed

+8
-20
lines changed

Diff for: .babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"presets": [
77
["@babel/preset-env", {
88
"targets": {
9-
"node": "12"
9+
"node": "14"
1010
}
1111
}]
1212
],

Diff for: .github/workflows/ci.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -157,26 +157,16 @@ jobs:
157157
MONGODB_TOPOLOGY: standalone
158158
MONGODB_STORAGE_ENGINE: wiredTiger
159159
NODE_VERSION: 18.1.0
160-
- name: Node 12
161-
MONGODB_VERSION: 4.4.13
162-
MONGODB_TOPOLOGY: standalone
163-
MONGODB_STORAGE_ENGINE: wiredTiger
164-
NODE_VERSION: 12.22.11
165160
- name: Node 14
166161
MONGODB_VERSION: 4.4.13
167162
MONGODB_TOPOLOGY: standalone
168163
MONGODB_STORAGE_ENGINE: wiredTiger
169-
NODE_VERSION: 14.19.1
164+
NODE_VERSION: 14.21.0
170165
- name: Node 16
171166
MONGODB_VERSION: 4.4.13
172167
MONGODB_TOPOLOGY: standalone
173168
MONGODB_STORAGE_ENGINE: wiredTiger
174169
NODE_VERSION: 16.14.2
175-
- name: Node 17
176-
MONGODB_VERSION: 4.4.13
177-
MONGODB_TOPOLOGY: standalone
178-
MONGODB_STORAGE_ENGINE: wiredTiger
179-
NODE_VERSION: 17.9.0
180170
fail-fast: false
181171
name: ${{ matrix.name }}
182172
timeout-minutes: 15

Diff for: README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![parse-repository-header-server](https://user-images.githubusercontent.com/5673677/138278489-7d0cebc5-1e31-4d3c-8ffb-53efcda6f29d.png)
22

33
---
4-
4+
55
[![Build Status](https://github.com/parse-community/parse-server/workflows/ci/badge.svg?branch=alpha)](https://github.com/parse-community/parse-server/actions?query=workflow%3Aci+branch%3Aalpha)
66
[![Build Status](https://github.com/parse-community/parse-server/workflows/ci/badge.svg?branch=beta)](https://github.com/parse-community/parse-server/actions?query=workflow%3Aci+branch%3Abeta)
77
[![Build Status](https://github.com/parse-community/parse-server/workflows/ci/badge.svg?branch=release)](https://github.com/parse-community/parse-server/actions?query=workflow%3Aci+branch%3Arelease)
@@ -128,10 +128,8 @@ Parse Server is continuously tested with the most recent releases of Node.js to
128128

129129
| Version | Latest Version | End-of-Life | Compatible |
130130
|------------|----------------|-------------|------------|
131-
| Node.js 12 | 12.22.11 | April 2022 | ✅ Yes |
132131
| Node.js 14 | 14.19.1 | April 2023 | ✅ Yes |
133132
| Node.js 16 | 16.14.2 | April 2024 | ✅ Yes |
134-
| Node.js 17 | 17.9.0 | June 2022 | ✅ Yes |
135133
| Node.js 18 | 18.1.0 | April 2025 | ✅ Yes |
136134

137135
#### MongoDB
@@ -391,7 +389,7 @@ const server = ParseServer({
391389
},
392390

393391
// The password policy
394-
passwordPolicy: {
392+
passwordPolicy: {
395393
// Enforce a password of at least 8 characters which contain at least 1 lower case, 1 upper case and 1 digit
396394
validatorPattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})/,
397395
// Do not allow the username as part of the password
@@ -432,7 +430,7 @@ const api = new ParseServer({
432430
433431
The above route can be invoked by sending a `GET` request to:
434432
`https://[parseServerPublicUrl]/[parseMount]/[pagesEndpoint]/[appId]/[customRoute]`
435-
433+
436434
The `handler` receives the `request` and returns a `custom_page.html` webpage from the `pages.pagesPath` directory as response. The advantage of building a custom route this way is that it automatically makes use of Parse Server's built-in capabilities, such as [page localization](#pages) and [dynamic placeholders](#dynamic-placeholders).
437435
438436
### Reserved Paths
@@ -520,7 +518,7 @@ Parse Server allows developers to choose from several options when hosting files
520518
`GridFSBucketAdapter` is used by default and requires no setup, but if you're interested in using Amazon S3, Google Cloud Storage, or local file storage, additional configuration information is available in the [Parse Server guide](http://docs.parseplatform.org/parse-server/guide/#configuring-file-adapters).
521519
522520
## Idempotency Enforcement
523-
521+
524522
**Caution, this is an experimental feature that may not be appropriate for production.**
525523
526524
This feature deduplicates identical requests that are received by Parse Server multiple times, typically due to network issues or network adapter access restrictions on mobile operating systems.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"madge:circular": "node_modules/.bin/madge ./src --circular"
134134
},
135135
"engines": {
136-
"node": ">=12.22.10 <19"
136+
"node": ">=14.21.0 <17 || >=18 <19"
137137
},
138138
"bin": {
139139
"parse-server": "bin/parse-server"

Diff for: spec/.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"presets": [
66
["env", {
77
"targets": {
8-
"node": "8"
8+
"node": "14"
99
}
1010
}]
1111
],

0 commit comments

Comments
 (0)