fix: Remove Node 12 and Node 17 support (#8279)

BREAKING CHANGE: This release removes Node 12 and Node 17 support
This commit is contained in:
dblythy
2022-11-11 02:15:55 +11:00
committed by GitHub
parent 7cb266b207
commit 2546cc8572
5 changed files with 8 additions and 20 deletions

View File

@@ -6,7 +6,7 @@
"presets": [ "presets": [
["@babel/preset-env", { ["@babel/preset-env", {
"targets": { "targets": {
"node": "12" "node": "14"
} }
}] }]
], ],

View File

@@ -157,26 +157,16 @@ jobs:
MONGODB_TOPOLOGY: standalone MONGODB_TOPOLOGY: standalone
MONGODB_STORAGE_ENGINE: wiredTiger MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 18.1.0 NODE_VERSION: 18.1.0
- name: Node 12
MONGODB_VERSION: 4.4.13
MONGODB_TOPOLOGY: standalone
MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 12.22.11
- name: Node 14 - name: Node 14
MONGODB_VERSION: 4.4.13 MONGODB_VERSION: 4.4.13
MONGODB_TOPOLOGY: standalone MONGODB_TOPOLOGY: standalone
MONGODB_STORAGE_ENGINE: wiredTiger MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 14.19.1 NODE_VERSION: 14.21.0
- name: Node 16 - name: Node 16
MONGODB_VERSION: 4.4.13 MONGODB_VERSION: 4.4.13
MONGODB_TOPOLOGY: standalone MONGODB_TOPOLOGY: standalone
MONGODB_STORAGE_ENGINE: wiredTiger MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 16.14.2 NODE_VERSION: 16.14.2
- name: Node 17
MONGODB_VERSION: 4.4.13
MONGODB_TOPOLOGY: standalone
MONGODB_STORAGE_ENGINE: wiredTiger
NODE_VERSION: 17.9.0
fail-fast: false fail-fast: false
name: ${{ matrix.name }} name: ${{ matrix.name }}
timeout-minutes: 15 timeout-minutes: 15

View File

@@ -128,10 +128,8 @@ Parse Server is continuously tested with the most recent releases of Node.js to
| Version | Latest Version | End-of-Life | Compatible | | Version | Latest Version | End-of-Life | Compatible |
|------------|----------------|-------------|------------| |------------|----------------|-------------|------------|
| Node.js 12 | 12.22.11 | April 2022 | ✅ Yes |
| Node.js 14 | 14.19.1 | April 2023 | ✅ Yes | | Node.js 14 | 14.19.1 | April 2023 | ✅ Yes |
| Node.js 16 | 16.14.2 | April 2024 | ✅ Yes | | Node.js 16 | 16.14.2 | April 2024 | ✅ Yes |
| Node.js 17 | 17.9.0 | June 2022 | ✅ Yes |
| Node.js 18 | 18.1.0 | April 2025 | ✅ Yes | | Node.js 18 | 18.1.0 | April 2025 | ✅ Yes |
#### MongoDB #### MongoDB

View File

@@ -133,7 +133,7 @@
"madge:circular": "node_modules/.bin/madge ./src --circular" "madge:circular": "node_modules/.bin/madge ./src --circular"
}, },
"engines": { "engines": {
"node": ">=12.22.10 <19" "node": ">=14.21.0 <17 || >=18 <19"
}, },
"bin": { "bin": {
"parse-server": "bin/parse-server" "parse-server": "bin/parse-server"

View File

@@ -5,7 +5,7 @@
"presets": [ "presets": [
["env", { ["env", {
"targets": { "targets": {
"node": "8" "node": "14"
} }
}] }]
], ],