Skip to content

Commit 534d1d1

Browse files
dblythymtrezza
authored andcommitted
fix: Remove support for Node <14 (parse-community#1603)
BREAKING CHANGE: This release removes support for Node versions <14
1 parent 6ccede2 commit 534d1d1

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

README.md

+14-2
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-12,_14,_15,_16,_18-green.svg?logo=node.js&style=flat)](https://nodejs.org/)
11+
[![Node Version](https://img.shields.io/badge/nodejs-14-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)
@@ -29,9 +29,10 @@ A library that gives you access to the powerful Parse Server backend from your J
2929

3030
- [Getting Started](#getting-started)
3131
- [Using Parse on Different Platforms](#using-parse-on-different-platforms)
32+
- [Compatibility](#compatibility)
33+
- [Node.js](#nodejs)
3234
- [Upgrading to Parse SDK 2.0.0](#upgrading-to-parse-sdk-200)
3335
- [3rd Party Authentications](#3rd-party-authentications)
34-
- [Want to ride the bleeding edge?](#want-to-ride-the-bleeding-edge)
3536
- [Experimenting](#experimenting)
3637
- [Contributing](#contributing)
3738

@@ -89,6 +90,17 @@ $ npm install @types/parse
8990

9091
Types are updated manually after every release. If a definition doesn't exist, please submit a pull request to [@types/parse][types-parse]
9192

93+
## Compatibility
94+
95+
### Node.js
96+
97+
Parse JS SDK 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.
98+
99+
| Version | Latest Version | End-of-Life | Compatible |
100+
|------------|----------------|-------------|------------|
101+
| Node.js 14 | 14.19.1 | April 2023 | ✅ Yes |
102+
103+
92104
## Upgrading to Parse SDK 2.0.0
93105

94106
With Parse SDK 2.0.0, gone are the backbone style callbacks and Parse.Promises.

babel-jest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const babelJest = require('babel-jest');
33
module.exports = babelJest.createTransformer({
44
presets: [["@babel/preset-env", {
55
"targets": {
6-
"node": "8"
6+
"node": "14"
77
},
88
useBuiltIns: 'entry',
99
corejs: 3,

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const PRESETS = {
2727
"targets": "> 0.25%, not dead"
2828
}], '@babel/react'],
2929
'node': [["@babel/preset-env", {
30-
"targets": { "node": "8" }
30+
"targets": { "node": "14" }
3131
}]],
3232
'react-native': ['module:metro-react-native-babel-preset'],
3333
};

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@
122122
"git add"
123123
]
124124
},
125+
"engines": {
126+
"node": ">=14.21.0 <17 || >=18 <19"
127+
},
125128
"jest": {
126129
"automock": true,
127130
"collectCoverage": true,

0 commit comments

Comments
 (0)