From 24baffc6a113e3a4a6e35893e8233562576bfb79 Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Sat, 3 Apr 2021 01:13:09 +0200 Subject: [PATCH] Remove Node 10 support (EOL) (#7314) * removed node 10 support (EOL) * added changelog entry * updated CI check * updated babel env preset to node 12 --- .babelrc | 2 +- .github/workflows/ci.yml | 7 +------ CHANGELOG.md | 1 + README.md | 3 +-- resources/ci/ciCheck.js | 3 +-- 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.babelrc b/.babelrc index 1eb1208aa6..9151969bde 100644 --- a/.babelrc +++ b/.babelrc @@ -6,7 +6,7 @@ "presets": [ ["@babel/preset-env", { "targets": { - "node": "8" + "node": "12" } }] ], diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5736173730..70abb020ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: - '**' env: COVERAGE_OPTION: ./node_modules/.bin/nyc - NODE_VERSION: 10 + NODE_VERSION: 14.16.0 PARSE_SERVER_TEST_TIMEOUT: 20000 jobs: check-ci: @@ -82,11 +82,6 @@ jobs: MONGODB_TOPOLOGY: standalone MONGODB_STORAGE_ENGINE: wiredTiger NODE_VERSION: 14.16.0 - - name: Node 10 - MONGODB_VERSION: 4.4.4 - MONGODB_TOPOLOGY: standalone - MONGODB_STORAGE_ENGINE: wiredTiger - NODE_VERSION: 10.24.0 - name: Node 12 MONGODB_VERSION: 4.4.4 MONGODB_TOPOLOGY: standalone diff --git a/CHANGELOG.md b/CHANGELOG.md index 75a80c51f5..fe4720b1e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -95,6 +95,7 @@ ___ - Added Parse Server Security Check to report weak security settings (Manuel Trezza, dblythy) [#7247](https://github.com/parse-community/parse-server/issues/7247) - EXPERIMENTAL: Added new page router with placeholder rendering and localization of custom and feature pages such as password reset and email verification (Manuel Trezza) [#6891](https://github.com/parse-community/parse-server/issues/6891) - EXPERIMENTAL: Added custom routes to easily customize flows for password reset, email verification or build entirely new flows (Manuel Trezza) [#7231](https://github.com/parse-community/parse-server/issues/7231) +- Remove support for Node 10 which has reached its End-of-Life support date (Manuel Trezza) [#7314](https://github.com/parse-community/parse-server/pull/7314) ### Other Changes - Fix error when a not yet inserted job is updated (Antonio Davi Macedo Coelho de Castro) [#7196](https://github.com/parse-community/parse-server/pull/7196) - request.context for afterFind triggers (dblythy) [#7078](https://github.com/parse-community/parse-server/pull/7078) diff --git a/README.md b/README.md index dd45e33738..8016b2d7fc 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ npm version Join the conversation Snyk badge - Node.js 10,12,14,15 + Node.js 12,14,15 MongoDB 3.6,4.0,4.2,4.4 PostgreSQL 10,11,12,13

@@ -112,7 +112,6 @@ Parse Server is continuously tested with the most recent releases of Node.js to | Version | Latest Patch Version | End-of-Life Date | Compatibility | |------------|----------------------|------------------|--------------------| -| Node.js 10 | 10.24.0 | April 2021 | ✅ Fully compatible | | Node.js 12 | 12.22.0 | April 2022 | ✅ Fully compatible | | Node.js 14 | 14.16.0 | April 2023 | ✅ Fully compatible | | Node.js 15 | 15.13.0 | June 2021 | ✅ Fully compatible | diff --git a/resources/ci/ciCheck.js b/resources/ci/ciCheck.js index 66ee6d9aa0..0686931833 100644 --- a/resources/ci/ciCheck.js +++ b/resources/ci/ciCheck.js @@ -59,8 +59,7 @@ async function checkNodeVersions() { releasedVersions, latestComponent: CiVersionCheck.versionComponents.minor, ignoreReleasedVersions: [ - '<10.0.0', // These versions have reached their end-of-life support date - '>=11.0.0 <12.0.0', // These versions have reached their end-of-life support date + '<12.0.0', // These versions have reached their end-of-life support date '>=13.0.0 <14.0.0', // These versions have reached their end-of-life support date '>=16.0.0', // This version has not been officially released yet ],