Skip to content

Commit 90a7c40

Browse files
authored
Merge e6ae524 into c56d326
2 parents c56d326 + e6ae524 commit 90a7c40

File tree

5 files changed

+49
-44
lines changed

5 files changed

+49
-44
lines changed

.github/workflows/ci.yml

+17-20
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ on:
77
branches:
88
- '**'
99
env:
10-
COVERAGE_OPTION: ./node_modules/.bin/nyc
11-
NODE_VERSION: 14.16.0
10+
NODE_VERSION: 14.16.1
1211
PARSE_SERVER_TEST_TIMEOUT: 20000
1312
jobs:
1413
check-ci:
@@ -76,42 +75,42 @@ jobs:
7675
strategy:
7776
matrix:
7877
include:
79-
- name: Mongo 4.4, ReplicaSet, WiredTiger
78+
- name: MongoDB 4.4, ReplicaSet, WiredTiger
8079
MONGODB_VERSION: 4.4.4
8180
MONGODB_TOPOLOGY: replicaset
8281
MONGODB_STORAGE_ENGINE: wiredTiger
83-
NODE_VERSION: 14.16.0
84-
- name: Mongo 4.2, ReplicaSet, WiredTiger
82+
NODE_VERSION: 14.16.1
83+
- name: MongoDB 4.2, ReplicaSet, WiredTiger
8584
MONGODB_VERSION: 4.2.13
8685
MONGODB_TOPOLOGY: replicaset
8786
MONGODB_STORAGE_ENGINE: wiredTiger
88-
NODE_VERSION: 14.16.0
89-
- name: Mongo 4.0, ReplicaSet, WiredTiger
87+
NODE_VERSION: 14.16.1
88+
- name: MongoDB 4.0, ReplicaSet, WiredTiger
9089
MONGODB_VERSION: 4.0.23
9190
MONGODB_TOPOLOGY: replicaset
9291
MONGODB_STORAGE_ENGINE: wiredTiger
93-
NODE_VERSION: 14.16.0
94-
- name: Mongo 4.0, Standalone, MMAPv1
92+
NODE_VERSION: 14.16.1
93+
- name: MongoDB 4.0, Standalone, MMAPv1
9594
MONGODB_VERSION: 4.0.23
9695
MONGODB_TOPOLOGY: standalone
9796
MONGODB_STORAGE_ENGINE: mmapv1
98-
NODE_VERSION: 14.16.0
97+
NODE_VERSION: 14.16.1
9998
- name: Redis Cache
10099
PARSE_SERVER_TEST_CACHE: redis
101100
MONGODB_VERSION: 4.4.4
102101
MONGODB_TOPOLOGY: standalone
103102
MONGODB_STORAGE_ENGINE: wiredTiger
104-
NODE_VERSION: 14.16.0
103+
NODE_VERSION: 14.16.1
105104
- name: Node 12
106105
MONGODB_VERSION: 4.4.4
107106
MONGODB_TOPOLOGY: standalone
108107
MONGODB_STORAGE_ENGINE: wiredTiger
109-
NODE_VERSION: 12.22.0
108+
NODE_VERSION: 12.22.1
110109
- name: Node 15
111110
MONGODB_VERSION: 4.4.4
112111
MONGODB_TOPOLOGY: standalone
113112
MONGODB_STORAGE_ENGINE: wiredTiger
114-
NODE_VERSION: 15.13.0
113+
NODE_VERSION: 15.14.0
115114
fail-fast: false
116115
name: ${{ matrix.name }}
117116
timeout-minutes: 15
@@ -151,15 +150,13 @@ jobs:
151150
strategy:
152151
matrix:
153152
include:
154-
- name: Postgres 10, Postgis 3.1
155-
POSTGRES_IMAGE: postgis/postgis:10-3.1
156-
- name: Postgres 11, Postgis 3.1
153+
- name: PostgreSQL 11, PostGIS 3.0
154+
POSTGRES_IMAGE: postgis/postgis:11-3.0
155+
- name: PostgreSQL 11, PostGIS 3.1
157156
POSTGRES_IMAGE: postgis/postgis:11-3.1
158-
- name: Postgres 12, Postgis 3.1
157+
- name: PostgreSQL 12, PostGIS 3.1
159158
POSTGRES_IMAGE: postgis/postgis:12-3.1
160-
- name: Postgres 12, Postgis 3.0
161-
POSTGRES_IMAGE: postgis/postgis:12-3.0
162-
- name: Postgres 13, Postgis 3.1
159+
- name: PostgreSQL 13, PostGIS 3.1
163160
POSTGRES_IMAGE: postgis/postgis:13-3.1
164161
fail-fast: false
165162
name: ${{ matrix.name }}

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ ___
9292
- Improved schema caching through database real-time hooks. Reduces DB queries, decreases Parse Query execution time and fixes a potential schema memory leak. If multiple Parse Server instances connect to the same DB (for example behind a load balancer), set the [Parse Server Option](https://parseplatform.org/parse-server/api/master/ParseServerOptions.html) `databaseOptions.enableSchemaHooks: true` to enable this feature and keep the schema in sync across all instances. Failing to do so will cause a schema change to not propagate to other instances and re-syncing will only happen when these instances restart. The options `enableSingleSchemaCache` and `schemaCacheTTL` have been removed. To use this feature with MongoDB, a replica set cluster with [change stream](https://docs.mongodb.com/manual/changeStreams/#availability) support is required. (Diamond Lewis, SebC) [#7214](https://github.com/parse-community/parse-server/issues/7214)
9393
- Added file upload restriction. File upload is now only allowed for authenticated users by default for improved security. To allow file upload also for Anonymous Users or Public, set the `fileUpload` parameter in the [Parse Server Options](https://parseplatform.org/parse-server/api/master/ParseServerOptions.html) (dblythy, Manuel Trezza) [#7071](https://github.com/parse-community/parse-server/pull/7071)
9494
- Removed [parse-server-simple-mailgun-adapter](https://github.com/parse-community/parse-server-simple-mailgun-adapter) dependency; to continue using the adapter it has to be explicitly installed (Manuel Trezza) [#7321](https://github.com/parse-community/parse-server/pull/7321)
95+
- Remove support for MongoDB 3.6 which has reached its End-of-Life support date and PostgreSQL 10 (Manuel Trezza) [#7315](https://github.com/parse-community/parse-server/pull/7315)
9596
### Notable Changes
9697
- Added Parse Server Security Check to report weak security settings (Manuel Trezza, dblythy) [#7247](https://github.com/parse-community/parse-server/issues/7247)
9798
- 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)
9899
- 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)
99100
- 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)
100-
- Remove support for MongoDB 3.6 which has reached its End-of-Life support date (Manuel Trezza) [#7315](https://github.com/parse-community/parse-server/pull/7315)
101101
### Other Changes
102102
- 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)
103103
- request.context for afterFind triggers (dblythy) [#7078](https://github.com/parse-community/parse-server/pull/7078)

README.md

+18-19
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<a href="https://snyk.io/test/github/parse-community/parse-server"><img alt="Snyk badge" src="https://snyk.io/test/github/parse-community/parse-server/badge.svg"></a>
2020
<a href="https://nodejs.org/"><img alt="Node.js 12,14,15" src="https://img.shields.io/badge/nodejs-12,_14,_15-green.svg?logo=node.js&style=flat"></a>
2121
<a href="https://www.mongodb.com/"><img alt="MongoDB 4.0,4.2,4.4" src="https://img.shields.io/badge/mongodb-4.0,_4.2,_4.4-green.svg?logo=mongodb&style=flat"></a>
22-
<a href="https://www.postgresql.org"> <img alt="PostgreSQL 10,11,12,13" src="https://img.shields.io/badge/postgresql-10,_11,_12,_13-green.svg?logo=postgresql&style=flat"></a>
22+
<a href="https://www.postgresql.org"> <img alt="PostgreSQL 11,12,13" src="https://img.shields.io/badge/postgresql-11,_12,_13-green.svg?logo=postgresql&style=flat"></a>
2323
</p>
2424

2525
<h2 align="center">Our Sponsors</h2>
@@ -112,30 +112,29 @@ Before you start make sure you have installed:
112112
#### Node.js
113113
Parse Server 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.
114114

115-
| Version | Latest Patch Version | End-of-Life Date | Compatibility |
116-
|------------|----------------------|------------------|--------------------|
117-
| Node.js 12 | 12.22.0 | April 2022 | ✅ Fully compatible |
118-
| Node.js 14 | 14.16.0 | April 2023 | ✅ Fully compatible |
119-
| Node.js 15 | 15.13.0 | June 2021 | ✅ Fully compatible |
115+
| Version | Latest Version | End-of-Life Date | Compatibility |
116+
|------------|----------------|------------------|--------------------|
117+
| Node.js 12 | 12.22.1 | April 2022 | ✅ Fully compatible |
118+
| Node.js 14 | 14.16.1 | April 2023 | ✅ Fully compatible |
119+
| Node.js 15 | 15.14.0 | June 2021 | ✅ Fully compatible |
120120

121121
#### MongoDB
122122
Parse Server is continuously tested with the most recent releases of MongoDB to ensure compatibility. We follow the [MongoDB support schedule](https://www.mongodb.com/support-policy) and only test against versions that are officially supported and have not reached their end-of-life date.
123123

124-
| Version | Latest Patch Version | End-of-Life Date | Compatibility |
125-
|-------------|----------------------|------------------|--------------------|
126-
| MongoDB 4.0 | 4.0.23 | January 2022 | ✅ Fully compatible |
127-
| MongoDB 4.2 | 4.2.13 | TBD | ✅ Fully compatible |
128-
| MongoDB 4.4 | 4.4.4 | TBD | ✅ Fully compatible |
124+
| Version | Latest Version | End-of-Life Date | Compatibility |
125+
|-------------|----------------|------------------|--------------------|
126+
| MongoDB 4.0 | 4.0.23 | January 2022 | ✅ Fully compatible |
127+
| MongoDB 4.2 | 4.2.13 | TBD | ✅ Fully compatible |
128+
| MongoDB 4.4 | 4.4.4 | TBD | ✅ Fully compatible |
129129

130130
#### PostgreSQL
131-
Parse Server is continuously tested with the most recent releases of PostgreSQL and PostGIS to ensure compatibility. We follow the [PostGIS docker tags](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&ordering=last_updated) and only test against versions that are officially supported and have not reached their end-of-life date.
132-
133-
| Version | PostGIS Version | End-of-Life Date | Compatibility |
134-
|---------------|-----------------|------------------|--------------------|
135-
| Postgres 10.x | 3.0.x, 3.1.x | November 2022 | ✅ Fully compatible |
136-
| Postgres 11.x | 3.0.x, 3.1.x | November 2023 | ✅ Fully compatible |
137-
| Postgres 12.x | 3.0.x, 3.1.x | November 2024 | ✅ Fully compatible |
138-
| Postgres 13.x | 3.0.x, 3.1.x | November 2025 | ✅ Fully compatible |
131+
Parse Server is continuously tested with the most recent releases of PostgreSQL and PostGIS to ensure compatibility, using [PostGIS docker images](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&ordering=last_updated). We follow the [PostgreSQL support schedule](https://www.postgresql.org/support/versioning) and [PostGIS support schedule](https://www.postgis.net/eol_policy/) and only test against versions that are officially supported and have not reached their end-of-life date. Due to the extensive PostgreSQL support duration of 5 years, Parse Server drops support if a version is older than 3.5 years and a newer version has been available for at least 2.5 years.
132+
133+
| Version | PostGIS Version | End-of-Life Date | Parse Server Support End | Compatibility |
134+
|-------------|-----------------|------------------|--------------------------|--------------------|
135+
| Postgres 11 | 3.0, 3.1 | November 2023 | April 2022 | ✅ Fully compatible |
136+
| Postgres 12 | 3.1 | November 2024 | April 2023 | ✅ Fully compatible |
137+
| Postgres 13 | 3.1 | November 2025 | April 2024 | ✅ Fully compatible |
139138

140139
### Locally
141140
```bash

resources/ci/CiVersionCheck.js

+7
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,13 @@ class CiVersionCheck {
193193
? '^'
194194
: '~'
195195
const latest = semver.maxSatisfying(versions, `${operator}${version}`);
196+
197+
// If the version should be ignored, skip it
198+
if (this.ignoreReleasedVersions.length > 0 && semver.satisfies(latest, this.ignoreReleasedVersions.join(' || '))) {
199+
return undefined;
200+
}
201+
202+
// Return the latest version if it is newer than any currently used version
196203
return semver.gt(latest, version) ? latest : undefined;
197204
}
198205

resources/ci/ciCheck.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ async function checkMongoDbVersions() {
3333
releasedVersions,
3434
latestComponent: CiVersionCheck.versionComponents.path,
3535
ignoreReleasedVersions: [
36-
'<4.0.0', // These versions have reached their MongoDB end-of-life support date
37-
'~4.1.0', // This is a development release according to MongoDB support
38-
'~4.3.0', // This is a development release according to MongoDB support
39-
'~4.7.0', // This is a development release according to MongoDB support
36+
'<4.0.0', // Versions reached their MongoDB end-of-life support date
37+
'~4.1.0', // Development release according to MongoDB support
38+
'~4.3.0', // Development release according to MongoDB support
39+
'~4.7.0', // Development release according to MongoDB support
40+
41+
'4.4.5', // Temporarily disabled because not yet available for download via mongodb-runner
4042
],
4143
}).check();
4244
}

0 commit comments

Comments
 (0)