Skip to content

Commit 74eb4d5

Browse files
authored
feat: Add support for Node 20, remove support for Node 14 and 16 (#2063)
BREAKING CHANGE: Removes support for Node 14 and 16.
1 parent 556312d commit 74eb4d5

File tree

6 files changed

+12
-21
lines changed

6 files changed

+12
-21
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,14 @@ jobs:
4040
strategy:
4141
matrix:
4242
include:
43-
- name: Node 14
44-
NODE_VERSION: 14.21.1
45-
- name: Node 16
46-
NODE_VERSION: 16.18.1
4743
- name: Node 18
48-
NODE_VERSION: 18.12.1
49-
- name: Node 19
50-
NODE_VERSION: 19.3.0
44+
NODE_VERSION: 18.19.0
45+
- name: Node 20
46+
NODE_VERSION: 20.10.0
5147
fail-fast: false
5248
steps:
5349
- name: Fix usage of insecure GitHub protocol
5450
run: sudo git config --system url."https://github".insteadOf "git://github"
55-
- name: Fix git protocol for Node 14
56-
if: ${{ startsWith(matrix.NODE_VERSION, '14.') }}
57-
run: sudo git config --system url."https://github".insteadOf "ssh://git@github"
5851
- uses: actions/checkout@v3
5952
- name: Use Node.js
6053
uses: actions/setup-node@v3

.github/workflows/release-automated.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
persist-credentials: false
1818
- uses: actions/setup-node@v2
1919
with:
20-
node-version: 18
20+
node-version: 20
2121
registry-url: https://registry.npmjs.org/
2222
cache: npm
2323
- run: npm ci
@@ -42,7 +42,7 @@ jobs:
4242
- name: Use Node.js
4343
uses: actions/setup-node@v1
4444
with:
45-
node-version: 16
45+
node-version: 18
4646
cache: npm
4747
- name: Generate Docs
4848
run: |

.github/workflows/release-manual-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
with:
1616
ref: ${{ github.event.inputs.tag }}
1717
- name: Use Node.js
18-
uses: actions/setup-node@v1
18+
uses: actions/setup-node@v2
1919
with:
20-
node-version: 16
20+
node-version: 18
2121
cache: npm
2222
- name: Generate Docs
2323
run: |

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Snyk Badge](https://snyk.io/test/github/parse-community/Parse-SDK-JS/badge.svg)](https://snyk.io/test/github/parse-community/Parse-SDK-JS)
99
[![Coverage](http://codecov.io/github/parse-community/Parse-SDK-JS/coverage.svg?branch=alpha)](http://codecov.io/github/parse-community/Parse-SDK-JS?branch=alpha)
1010

11-
[![Node Version](https://img.shields.io/badge/nodejs-14,_16,_18-green.svg?logo=node.js&style=flat)](https://nodejs.org/)
11+
[![Node Version](https://img.shields.io/badge/nodejs-18,_20-green.svg?logo=node.js&style=flat)](https://nodejs.org/)
1212
[![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases)
1313

1414
[![npm latest version](https://img.shields.io/npm/v/parse/latest.svg)](https://www.npmjs.com/package/parse)
@@ -97,10 +97,8 @@ Parse JS SDK is continuously tested with the most recent releases of Node.js to
9797

9898
| Version | Latest Version | End-of-Life | Compatible |
9999
|------------|----------------|-------------|------------|
100-
| Node.js 14 | 14.19.1 | April 2023 | ✅ Yes |
101-
| Node.js 16 | 16.19.0 | September 2023 | ✅ Yes |
102-
| Node.js 18 | 18.12.1 | April 2025 | ✅ Yes |
103-
| Node.js 19 | 19.3.0 | June 2023 | ✅ Yes |
100+
| Node.js 18 | 18.19.0 | April 2025 | ✅ Yes |
101+
| Node.js 20 | 20.10.0 | April 2026 | ✅ Yes |
104102

105103

106104
## Upgrading to Parse SDK 2.0.0

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
@@ -131,7 +131,7 @@
131131
]
132132
},
133133
"engines": {
134-
"node": ">=14.21.0 <17 || >=18 <20"
134+
"node": ">=18 <21"
135135
},
136136
"jest": {
137137
"automock": true,

0 commit comments

Comments
 (0)