Skip to content

Commit 6a40dc4

Browse files
committed
Merge remote-tracking branch 'upstream/alpha' into alpha
2 parents 986c6c2 + 9af9115 commit 6a40dc4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2888
-678
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"presets": [
77
["@babel/preset-env", {
88
"targets": {
9-
"node": "12"
9+
"node": "14"
1010
}
1111
}]
1212
],

.github/workflows/ci.yml

Lines changed: 27 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66
branches: [ release, alpha, beta ]
77
env:
8-
NODE_VERSION: 18.1.0
8+
NODE_VERSION: 18.12.1
99
PARSE_SERVER_TEST_TIMEOUT: 20000
1010
jobs:
1111
check-code-analysis:
@@ -32,7 +32,7 @@ jobs:
3232
check-ci:
3333
name: Node Engine Check
3434
timeout-minutes: 15
35-
runs-on: ubuntu-20.04
35+
runs-on: ubuntu-latest
3636
steps:
3737
- uses: actions/checkout@v2
3838
- name: Use Node.js ${{ matrix.NODE_VERSION }}
@@ -53,7 +53,7 @@ jobs:
5353
check-lint:
5454
name: Lint
5555
timeout-minutes: 15
56-
runs-on: ubuntu-20.04
56+
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@v2
5959
- name: Use Node.js ${{ matrix.NODE_VERSION }}
@@ -73,7 +73,7 @@ jobs:
7373
check-circular:
7474
name: Circular Dependencies
7575
timeout-minutes: 5
76-
runs-on: ubuntu-20.04
76+
runs-on: ubuntu-latest
7777
steps:
7878
- uses: actions/checkout@v2
7979
- name: Use Node.js ${{ matrix.NODE_VERSION }}
@@ -93,7 +93,7 @@ jobs:
9393
check-docker:
9494
name: Docker Build
9595
timeout-minutes: 15
96-
runs-on: ubuntu-20.04
96+
runs-on: ubuntu-latest
9797
steps:
9898
- name: Checkout repository
9999
uses: actions/checkout@v2
@@ -110,7 +110,7 @@ jobs:
110110
check-lock-file-version:
111111
name: NPM Lock File Version
112112
timeout-minutes: 5
113-
runs-on: ubuntu-20.04
113+
runs-on: ubuntu-latest
114114
steps:
115115
- uses: actions/checkout@v2
116116
- name: Check NPM lock file version
@@ -121,66 +121,39 @@ jobs:
121121
strategy:
122122
matrix:
123123
include:
124-
- name: MongoDB 4.0, Standalone, MMAPv1
125-
MONGODB_VERSION: 4.0.28
126-
MONGODB_TOPOLOGY: standalone
127-
MONGODB_STORAGE_ENGINE: mmapv1
128-
NODE_VERSION: 18.1.0
129-
- name: MongoDB 4.0, ReplicaSet, WiredTiger
130-
MONGODB_VERSION: 4.0.28
131-
MONGODB_TOPOLOGY: replicaset
132-
MONGODB_STORAGE_ENGINE: wiredTiger
133-
NODE_VERSION: 18.1.0
134-
- name: MongoDB 4.2, ReplicaSet, WiredTiger
124+
- name: MongoDB 4.2, ReplicaSet
135125
MONGODB_VERSION: 4.2.19
136126
MONGODB_TOPOLOGY: replicaset
137-
MONGODB_STORAGE_ENGINE: wiredTiger
138-
NODE_VERSION: 18.1.0
139-
- name: MongoDB 4.4, ReplicaSet, WiredTiger
127+
NODE_VERSION: 18.12.1
128+
- name: MongoDB 4.4, ReplicaSet
140129
MONGODB_VERSION: 4.4.13
141130
MONGODB_TOPOLOGY: replicaset
142-
MONGODB_STORAGE_ENGINE: wiredTiger
143-
NODE_VERSION: 18.1.0
144-
- name: MongoDB 5, ReplicaSet, WiredTiger
131+
NODE_VERSION: 18.12.1
132+
- name: MongoDB 5, ReplicaSet
145133
MONGODB_VERSION: 5.3.2
146134
MONGODB_TOPOLOGY: replicaset
147-
MONGODB_STORAGE_ENGINE: wiredTiger
148-
NODE_VERSION: 18.1.0
149-
- name: MongoDB 6, ReplicaSet, WiredTiger
135+
NODE_VERSION: 18.12.1
136+
- name: MongoDB 6, ReplicaSet
150137
MONGODB_VERSION: 6.0.2
151138
MONGODB_TOPOLOGY: replicaset
152-
MONGODB_STORAGE_ENGINE: wiredTiger
153-
NODE_VERSION: 18.1.0
139+
NODE_VERSION: 18.12.1
154140
- name: Redis Cache
155141
PARSE_SERVER_TEST_CACHE: redis
156142
MONGODB_VERSION: 4.4.13
157143
MONGODB_TOPOLOGY: standalone
158-
MONGODB_STORAGE_ENGINE: wiredTiger
159-
NODE_VERSION: 18.1.0
160-
- name: Node 12
161-
MONGODB_VERSION: 4.4.13
162-
MONGODB_TOPOLOGY: standalone
163-
MONGODB_STORAGE_ENGINE: wiredTiger
164-
NODE_VERSION: 12.22.11
144+
NODE_VERSION: 18.12.1
165145
- name: Node 14
166146
MONGODB_VERSION: 4.4.13
167147
MONGODB_TOPOLOGY: standalone
168-
MONGODB_STORAGE_ENGINE: wiredTiger
169-
NODE_VERSION: 14.19.1
148+
NODE_VERSION: 14.21.1
170149
- name: Node 16
171150
MONGODB_VERSION: 4.4.13
172151
MONGODB_TOPOLOGY: standalone
173-
MONGODB_STORAGE_ENGINE: wiredTiger
174-
NODE_VERSION: 16.14.2
175-
- name: Node 17
176-
MONGODB_VERSION: 4.4.13
177-
MONGODB_TOPOLOGY: standalone
178-
MONGODB_STORAGE_ENGINE: wiredTiger
179-
NODE_VERSION: 17.9.0
152+
NODE_VERSION: 16.18.1
180153
fail-fast: false
181154
name: ${{ matrix.name }}
182155
timeout-minutes: 15
183-
runs-on: ubuntu-20.04
156+
runs-on: ubuntu-latest
184157
services:
185158
redis:
186159
image: redis
@@ -220,32 +193,32 @@ jobs:
220193
include:
221194
- name: PostgreSQL 11, PostGIS 3.0
222195
POSTGRES_IMAGE: postgis/postgis:11-3.0
223-
NODE_VERSION: 18.1.0
196+
NODE_VERSION: 18.12.1
224197
- name: PostgreSQL 11, PostGIS 3.1
225198
POSTGRES_IMAGE: postgis/postgis:11-3.1
226-
NODE_VERSION: 18.1.0
199+
NODE_VERSION: 18.12.1
227200
- name: PostgreSQL 11, PostGIS 3.2
228201
POSTGRES_IMAGE: postgis/postgis:11-3.2
229-
NODE_VERSION: 18.1.0
202+
NODE_VERSION: 18.12.1
230203
- name: PostgreSQL 11, PostGIS 3.3
231204
POSTGRES_IMAGE: postgis/postgis:11-3.3
232-
NODE_VERSION: 18.1.0
205+
NODE_VERSION: 18.12.1
233206
- name: PostgreSQL 12, PostGIS 3.3
234207
POSTGRES_IMAGE: postgis/postgis:12-3.3
235-
NODE_VERSION: 18.1.0
208+
NODE_VERSION: 18.12.1
236209
- name: PostgreSQL 13, PostGIS 3.3
237210
POSTGRES_IMAGE: postgis/postgis:13-3.3
238-
NODE_VERSION: 18.1.0
211+
NODE_VERSION: 18.12.1
239212
- name: PostgreSQL 14, PostGIS 3.3
240213
POSTGRES_IMAGE: postgis/postgis:14-3.3
241-
NODE_VERSION: 18.1.0
214+
NODE_VERSION: 18.12.1
242215
- name: PostgreSQL 15, PostGIS 3.3
243216
POSTGRES_IMAGE: postgis/postgis:15-3.3
244-
NODE_VERSION: 18.1.0
217+
NODE_VERSION: 18.12.1
245218
fail-fast: false
246219
name: ${{ matrix.name }}
247220
timeout-minutes: 15
248-
runs-on: ubuntu-20.04
221+
runs-on: ubuntu-latest
249222
services:
250223
redis:
251224
image: redis

.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: 14
20+
node-version: 18.1.0
2121
registry-url: https://registry.npmjs.org/
2222
- name: Cache Node.js modules
2323
uses: actions/cache@v2
@@ -93,7 +93,7 @@ jobs:
9393
- name: Use Node.js
9494
uses: actions/setup-node@v1
9595
with:
96-
node-version: 14
96+
node-version: 18.1.0
9797
- name: Cache Node.js modules
9898
uses: actions/cache@v2
9999
with:

DEPRECATIONS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ The following is a list of deprecations, according to the [Deprecation Policy](h
55
| ID | Change | Issue | Deprecation [ℹ️][i_deprecation] | Planned Removal [ℹ️][i_removal] | Status [ℹ️][i_status] | Notes |
66
|--------|-------------------------------------------------|----------------------------------------------------------------------|---------------------------------|---------------------------------|-----------------------|-------|
77
| DEPPS1 | Native MongoDB syntax in aggregation pipeline | [#7338](https://github.com/parse-community/parse-server/issues/7338) | 5.0.0 (2022) | 6.0.0 (2023) | deprecated | - |
8-
| DEPPS2 | Config option `directAccess` defaults to `true` | [#6636](https://github.com/parse-community/parse-server/pull/6636) | 5.0.0 (2022) | 6.0.0 (2023) | deprecated | - |
8+
| DEPPS2 | Config option `directAccess` defaults to `true` | [#6636](https://github.com/parse-community/parse-server/pull/6636) | 5.0.0 (2022) | 6.0.0 (2023) | removed | - |
99
| DEPPS3 | Config option `enforcePrivateUsers` defaults to `true` | [#7319](https://github.com/parse-community/parse-server/pull/7319) | 5.0.0 (2022) | 6.0.0 (2023) | deprecated | - |
10-
| DEPPS4 | Remove convenience method for http request `Parse.Cloud.httpRequest` | [#7589](https://github.com/parse-community/parse-server/pull/7589) | 5.0.0 (2022) | 6.0.0 (2023) | deprecated | - |
10+
| DEPPS4 | Remove convenience method for http request `Parse.Cloud.httpRequest` | [#7589](https://github.com/parse-community/parse-server/pull/7589) | 5.0.0 (2022) | 6.0.0 (2023) | removed | - |
1111
| DEPPS5 | Config option `allowClientClassCreation` defaults to `false` | [#7925](https://github.com/parse-community/parse-server/pull/7925) | 5.3.0 (2022) | 7.0.0 (2024) | deprecated | - |
1212
| DEPPS6 | Auth providers disabled by default | [#7953](https://github.com/parse-community/parse-server/pull/7953) | 5.3.0 (2022) | 7.0.0 (2024) | deprecated | - |
1313
| DEPPS7 | Remove file trigger syntax `Parse.Cloud.beforeSaveFile((request) => {})` | [#7966](https://github.com/parse-community/parse-server/pull/7966) | 5.3.0 (2022) | 7.0.0 (2024) | deprecated | - |
14+
| DEPPS8 | Login with expired 3rd party authentication token defaults to `false` | [#7079](https://github.com/parse-community/parse-server/pull/7079) | 5.3.0 (2022) | 7.0.0 (2024) | deprecated | - |
1415

1516
[i_deprecation]: ## "The version and date of the deprecation."
1617
[i_removal]: ## "The version and date of the planned removal."

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
---
44

55
[![Build Status](https://github.com/parse-community/parse-server/workflows/ci/badge.svg?branch=alpha)](https://github.com/parse-community/parse-server/actions?query=workflow%3Aci+branch%3Aalpha)
6+
[![Build Status](https://github.com/parse-community/parse-server/workflows/ci/badge.svg?branch=beta)](https://github.com/parse-community/parse-server/actions?query=workflow%3Aci+branch%3Abeta)
7+
[![Build Status](https://github.com/parse-community/parse-server/workflows/ci/badge.svg?branch=release)](https://github.com/parse-community/parse-server/actions?query=workflow%3Aci+branch%3Arelease)
68
[![Snyk Badge](https://snyk.io/test/github/parse-community/parse-server/badge.svg)](https://snyk.io/test/github/parse-community/parse-server)
79
[![Coverage](https://img.shields.io/codecov/c/github/parse-community/parse-server/alpha.svg)](https://codecov.io/github/parse-community/parse-server?branch=alpha)
810
[![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases)
911

10-
[![Node Version](https://img.shields.io/badge/nodejs-12,_14,_16,_17,_18-green.svg?logo=node.js&style=flat)](https://nodejs.org)
12+
[![Node Version](https://img.shields.io/badge/nodejs-14,_16,_18-green.svg?logo=node.js&style=flat)](https://nodejs.org)
1113
[![MongoDB Version](https://img.shields.io/badge/mongodb-4.0,_4.2,_4.4,_5,_6-green.svg?logo=mongodb&style=flat)](https://www.mongodb.com)
1214
[![Postgres Version](https://img.shields.io/badge/postgresql-11,_12,_13,_14,_15-green.svg?logo=postgresql&style=flat)](https://www.postgresql.org)
1315

@@ -126,10 +128,8 @@ Parse Server is continuously tested with the most recent releases of Node.js to
126128

127129
| Version | Latest Version | End-of-Life | Compatible |
128130
|------------|----------------|-------------|------------|
129-
| Node.js 12 | 12.22.11 | April 2022 | ✅ Yes |
130131
| Node.js 14 | 14.19.1 | April 2023 | ✅ Yes |
131132
| Node.js 16 | 16.14.2 | April 2024 | ✅ Yes |
132-
| Node.js 17 | 17.9.0 | June 2022 | ✅ Yes |
133133
| Node.js 18 | 18.1.0 | April 2025 | ✅ Yes |
134134

135135
#### MongoDB

changelogs/CHANGELOG_alpha.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
# [6.0.0-alpha.6](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.5...6.0.0-alpha.6) (2022-11-10)
2+
3+
4+
### Features
5+
6+
* Remove support for MongoDB 4.0 ([#8292](https://github.com/parse-community/parse-server/issues/8292)) ([37245f6](https://github.com/parse-community/parse-server/commit/37245f62ce83516b6b95a54b850f0274ef680478))
7+
8+
9+
### BREAKING CHANGES
10+
11+
* This release removes support for MongoDB 4.0; the new minimum supported MongoDB version is 4.2. which also removes support for the deprecated MongoDB MMAPv1 storage engine ([37245f6](37245f6))
12+
13+
# [6.0.0-alpha.5](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.4...6.0.0-alpha.5) (2022-11-10)
14+
15+
16+
### Bug Fixes
17+
18+
* Throwing error in Cloud Code Triggers `afterLogin`, `afterLogout` crashes server ([#8280](https://github.com/parse-community/parse-server/issues/8280)) ([130d290](https://github.com/parse-community/parse-server/commit/130d29074e3f763460e5685d0b9059e5a333caff))
19+
20+
21+
### BREAKING CHANGES
22+
23+
* Throwing an error in Cloud Code Triggers `afterLogin`, `afterLogout` returns a rejected promise; in previous releases it crashed the server if you did not handle the error on the Node.js process level; consider adapting your code if your app currently handles these errors on the Node.js process level with `process.on('unhandledRejection', ...)` ([130d290](130d290))
24+
25+
# [6.0.0-alpha.4](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.3...6.0.0-alpha.4) (2022-11-10)
26+
27+
28+
### Features
29+
30+
* Remove deprecation `DEPPS2`: Config option `directAccess` defaults to true ([#8284](https://github.com/parse-community/parse-server/issues/8284)) ([f535ee6](https://github.com/parse-community/parse-server/commit/f535ee6ec2abba63f702127258ca49fa5b4e08c9))
31+
32+
33+
### BREAKING CHANGES
34+
35+
* Config option `directAccess` defaults to true; set this to `false` in environments where multiple Parse Server instances run behind a load balancer and Parse requests within the current Node.js environment should be routed via the load balancer and distributed as HTTP requests among all instances via the `serverURL`. ([f535ee6](f535ee6))
36+
37+
# [6.0.0-alpha.3](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.2...6.0.0-alpha.3) (2022-11-10)
38+
39+
40+
### Features
41+
42+
* Remove deprecation `DEPPS4`: Remove convenience method for http request `Parse.Cloud.httpRequest` ([#8287](https://github.com/parse-community/parse-server/issues/8287)) ([2d79c08](https://github.com/parse-community/parse-server/commit/2d79c0835b6a9acaf20d5c943d9b4619bb96831c))
43+
44+
45+
### BREAKING CHANGES
46+
47+
* The convenience method for HTTP requests `Parse.Cloud.httpRequest` is removed; use your preferred 3rd party library for making HTTP requests ([2d79c08](2d79c08))
48+
49+
# [6.0.0-alpha.2](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.1...6.0.0-alpha.2) (2022-11-10)
50+
51+
52+
### Features
53+
54+
* Improve authentication adapter interface to support multi-factor authentication (MFA), authentication challenges, and provide a more powerful interface for writing custom authentication adapters ([#8156](https://github.com/parse-community/parse-server/issues/8156)) ([5bbf9ca](https://github.com/parse-community/parse-server/commit/5bbf9cade9a527787fd1002072d4013ab5d8db2b))
55+
56+
# [6.0.0-alpha.1](https://github.com/parse-community/parse-server/compare/5.4.0-alpha.1...6.0.0-alpha.1) (2022-11-10)
57+
58+
59+
### Bug Fixes
60+
61+
* Remove Node 12 and Node 17 support ([#8279](https://github.com/parse-community/parse-server/issues/8279)) ([2546cc8](https://github.com/parse-community/parse-server/commit/2546cc8572bea6610cb9b3c7401d9afac0e3c1d6))
62+
63+
64+
### BREAKING CHANGES
65+
66+
* This release removes Node 12 and Node 17 support ([2546cc8](2546cc8))
67+
168
# [5.4.0-alpha.1](https://github.com/parse-community/parse-server/compare/5.3.0...5.4.0-alpha.1) (2022-10-31)
269

370

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)