Skip to content

Commit 932ea3b

Browse files
authored
Merge branch 'alpha' into moumouls/fix-graphql-upload
2 parents ee513f5 + 104990b commit 932ea3b

37 files changed

+1311
-2469
lines changed

.github/workflows/ci.yml

+22-21
Original file line numberDiff line numberDiff line change
@@ -147,19 +147,23 @@ jobs:
147147
include:
148148
- name: MongoDB 4.2, ReplicaSet
149149
MONGODB_VERSION: 4.2.19
150-
MONGODB_TOPOLOGY: replicaset
150+
MONGODB_TOPOLOGY: replset
151151
NODE_VERSION: 19.3.0
152152
- name: MongoDB 4.4, ReplicaSet
153153
MONGODB_VERSION: 4.4.13
154-
MONGODB_TOPOLOGY: replicaset
154+
MONGODB_TOPOLOGY: replset
155155
NODE_VERSION: 19.3.0
156156
- name: MongoDB 5, ReplicaSet
157157
MONGODB_VERSION: 5.3.2
158-
MONGODB_TOPOLOGY: replicaset
158+
MONGODB_TOPOLOGY: replset
159159
NODE_VERSION: 19.3.0
160160
- name: MongoDB 6, ReplicaSet
161161
MONGODB_VERSION: 6.0.2
162-
MONGODB_TOPOLOGY: replicaset
162+
MONGODB_TOPOLOGY: replset
163+
NODE_VERSION: 19.3.0
164+
- name: MongoDB 7, ReplicaSet
165+
MONGODB_VERSION: 7.0.1
166+
MONGODB_TOPOLOGY: replset
163167
NODE_VERSION: 19.3.0
164168
- name: Redis Cache
165169
PARSE_SERVER_TEST_CACHE: redis
@@ -222,29 +226,26 @@ jobs:
222226
strategy:
223227
matrix:
224228
include:
225-
- name: PostgreSQL 11, PostGIS 3.0
226-
POSTGRES_IMAGE: postgis/postgis:11-3.0
227-
NODE_VERSION: 19.3.0
228-
- name: PostgreSQL 11, PostGIS 3.1
229-
POSTGRES_IMAGE: postgis/postgis:11-3.1
230-
NODE_VERSION: 19.3.0
231-
- name: PostgreSQL 11, PostGIS 3.2
232-
POSTGRES_IMAGE: postgis/postgis:11-3.2
229+
- name: PostgreSQL 13, PostGIS 3.1
230+
POSTGRES_IMAGE: postgis/postgis:13-3.1
233231
NODE_VERSION: 19.3.0
234-
- name: PostgreSQL 11, PostGIS 3.3
235-
POSTGRES_IMAGE: postgis/postgis:11-3.3
236-
NODE_VERSION: 19.3.0
237-
- name: PostgreSQL 12, PostGIS 3.3
238-
POSTGRES_IMAGE: postgis/postgis:12-3.3
232+
- name: PostgreSQL 13, PostGIS 3.2
233+
POSTGRES_IMAGE: postgis/postgis:13-3.2
239234
NODE_VERSION: 19.3.0
240235
- name: PostgreSQL 13, PostGIS 3.3
241236
POSTGRES_IMAGE: postgis/postgis:13-3.3
242237
NODE_VERSION: 19.3.0
243-
- name: PostgreSQL 14, PostGIS 3.3
244-
POSTGRES_IMAGE: postgis/postgis:14-3.3
238+
- name: PostgreSQL 13, PostGIS 3.4
239+
POSTGRES_IMAGE: postgis/postgis:13-3.4
240+
NODE_VERSION: 19.3.0
241+
- name: PostgreSQL 14, PostGIS 3.4
242+
POSTGRES_IMAGE: postgis/postgis:14-3.4
243+
NODE_VERSION: 19.3.0
244+
- name: PostgreSQL 15, PostGIS 3.4
245+
POSTGRES_IMAGE: postgis/postgis:15-3.4
245246
NODE_VERSION: 19.3.0
246-
- name: PostgreSQL 15, PostGIS 3.3
247-
POSTGRES_IMAGE: postgis/postgis:15-3.3
247+
- name: PostgreSQL 16, PostGIS 3.4
248+
POSTGRES_IMAGE: postgis/postgis:15-3.4
248249
NODE_VERSION: 19.3.0
249250
fail-fast: false
250251
name: ${{ matrix.name }}

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
[![Node Version](https://img.shields.io/badge/nodejs-14,_16,_18-green.svg?logo=node.js&style=flat)](https://nodejs.org)
1313
[![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)
14-
[![Postgres Version](https://img.shields.io/badge/postgresql-11,_12,_13,_14,_15-green.svg?logo=postgresql&style=flat)](https://www.postgresql.org)
14+
[![Postgres Version](https://img.shields.io/badge/postgresql-13,_14,_15,_16-green.svg?logo=postgresql&style=flat)](https://www.postgresql.org)
1515

1616
[![npm latest version](https://img.shields.io/npm/v/parse-server/latest.svg)](https://www.npmjs.com/package/parse-server)
1717
[![npm beta version](https://img.shields.io/npm/v/parse-server/beta.svg)](https://www.npmjs.com/package/parse-server)
@@ -139,24 +139,24 @@ Parse Server is continuously tested with the most recent releases of Node.js to
139139
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 [MongoDB lifecycle schedule](https://www.mongodb.com/support-policy/lifecycles) and only test against versions that are officially supported and have not reached their end-of-life date. We consider the end-of-life date of a MongoDB "rapid release" to be the same as its major version release.
140140

141141
| Version | Latest Version | End-of-Life | Compatible |
142-
|-------------|----------------|---------------|------------|
143-
| MongoDB 4.0 | 4.0.28 | April 2022 | ✅ Yes |
144-
| MongoDB 4.2 | 4.2.19 | April 2023 | ✅ Yes |
145-
| MongoDB 4.4 | 4.4.13 | February 2024 | ✅ Yes |
146-
| MongoDB 5 | 5.3.2 | October 2024 | ✅ Yes |
147-
| MongoDB 6 | 6.0.2 | July 2025 | ✅ Yes |
142+
| ----------- | -------------- | ------------- | ---------- |
143+
| MongoDB 4.0 | 4.0.28 | April 2022 | ✅ Yes |
144+
| MongoDB 4.2 | 4.2.19 | April 2023 | ✅ Yes |
145+
| MongoDB 4.4 | 4.4.13 | February 2024 | ✅ Yes |
146+
| MongoDB 5 | 5.3.2 | October 2024 | ✅ Yes |
147+
| MongoDB 6 | 6.0.2 | July 2025 | ✅ Yes |
148+
| MongoDB 7 | 7.0.1 | TDB | ✅ Yes |
148149

149150
#### PostgreSQL
150151

151152
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 about 2 years before the official end-of-life date.
152153

153154
| Version | PostGIS Version | End-of-Life | Parse Server Support | Compatible |
154155
|-------------|--------------------|---------------|----------------------|------------|
155-
| Postgres 11 | 3.0, 3.1, 3.2, 3.3 | November 2023 | <= 5.x (2022) | ✅ Yes |
156-
| Postgres 12 | 3.3 | November 2024 | <= 5.x (2022) | ✅ Yes |
157-
| Postgres 13 | 3.3 | November 2025 | <= 6.x (2023) | ✅ Yes |
158-
| Postgres 14 | 3.3 | November 2026 | <= 7.x (2024) | ✅ Yes |
159-
| Postgres 15 | 3.3 | November 2027 | <= 8.x (2025) | ✅ Yes |
156+
| Postgres 13 | 3.1, 3.2, 3.3, 3.4 | November 2025 | <= 6.x (2023) | ✅ Yes |
157+
| Postgres 14 | 3.4 | November 2026 | <= 7.x (2024) | ✅ Yes |
158+
| Postgres 15 | 3.4 | November 2027 | <= 8.x (2025) | ✅ Yes |
159+
| Postgres 16 | 3.4 | November 2028 | <= 9.x (2026) | ✅ Yes |
160160

161161
### Locally
162162

changelogs/CHANGELOG_alpha.md

+108
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,111 @@
1+
# [7.0.0-alpha.11](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.10...7.0.0-alpha.11) (2024-01-22)
2+
3+
4+
### Features
5+
6+
* Add support for Postgres 16 ([#8898](https://github.com/parse-community/parse-server/issues/8898)) ([99489b2](https://github.com/parse-community/parse-server/commit/99489b22e4f0982e6cb39992974b51aa8d3a31e4))
7+
8+
9+
### BREAKING CHANGES
10+
11+
* Removes support for Postgres 11 and 12 ([99489b2](99489b2))
12+
13+
# [7.0.0-alpha.10](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.9...7.0.0-alpha.10) (2024-01-17)
14+
15+
16+
### Features
17+
18+
* Add password validation via POST request for user with unverified email using master key and option `ignoreEmailVerification` ([#8895](https://github.com/parse-community/parse-server/issues/8895)) ([633a9d2](https://github.com/parse-community/parse-server/commit/633a9d25e4253e2125bc93c02ee8a37e0f5f7b83))
19+
20+
# [7.0.0-alpha.9](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.8...7.0.0-alpha.9) (2024-01-15)
21+
22+
23+
### Bug Fixes
24+
25+
* Server crashes when receiving an array of `Parse.Pointer` in the request body ([#8784](https://github.com/parse-community/parse-server/issues/8784)) ([66e3603](https://github.com/parse-community/parse-server/commit/66e36039d8af654cfa0284666c0ddd94975dcb52))
26+
27+
# [7.0.0-alpha.8](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.7...7.0.0-alpha.8) (2024-01-15)
28+
29+
30+
### Bug Fixes
31+
32+
* Incomplete user object in `verifyEmail` function if both username and email are changed ([#8889](https://github.com/parse-community/parse-server/issues/8889)) ([1eb95ae](https://github.com/parse-community/parse-server/commit/1eb95aeb41a96250e582d79a703f6adcb403c08b))
33+
34+
# [7.0.0-alpha.7](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.6...7.0.0-alpha.7) (2024-01-14)
35+
36+
37+
### Bug Fixes
38+
39+
* Username is `undefined` in email verification link on email change ([#8887](https://github.com/parse-community/parse-server/issues/8887)) ([e315c13](https://github.com/parse-community/parse-server/commit/e315c137bf41bedfa8f0df537f2c3f6ab45b7e60))
40+
41+
# [7.0.0-alpha.6](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.5...7.0.0-alpha.6) (2024-01-14)
42+
43+
44+
### Bug Fixes
45+
46+
* Parse Server option `emailVerifyTokenReuseIfValid: true` generates new token on every email verification request ([#8885](https://github.com/parse-community/parse-server/issues/8885)) ([0023ce4](https://github.com/parse-community/parse-server/commit/0023ce448a5e9423337d0e1a25648bde1156bc95))
47+
48+
# [7.0.0-alpha.5](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.4...7.0.0-alpha.5) (2024-01-06)
49+
50+
51+
### Features
52+
53+
* Add `installationId`, `ip`, `resendRequest` to arguments passed to `verifyUserEmails` on verification email request ([#8873](https://github.com/parse-community/parse-server/issues/8873)) ([8adcbee](https://github.com/parse-community/parse-server/commit/8adcbee11283d3e95179ca2047e2615f52c18806))
54+
55+
56+
### BREAKING CHANGES
57+
58+
* The `Parse.User` passed as argument if `verifyUserEmails` is set to a function is renamed from `user` to `object` for consistency with invocations of `verifyUserEmails` on signup or login; the user object is not a plain JavaScript object anymore but an instance of `Parse.User` ([8adcbee](8adcbee))
59+
60+
# [7.0.0-alpha.4](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.3...7.0.0-alpha.4) (2023-12-27)
61+
62+
63+
### Features
64+
65+
* Add `Parse.User` as function parameter to Parse Server options `verifyUserEmails`, `preventLoginWithUnverifiedEmail` on login ([#8850](https://github.com/parse-community/parse-server/issues/8850)) ([972f630](https://github.com/parse-community/parse-server/commit/972f6300163b3cd7d95eeb95986e8322c95f821c))
66+
67+
# [7.0.0-alpha.3](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.2...7.0.0-alpha.3) (2023-12-26)
68+
69+
70+
### Bug Fixes
71+
72+
* Conditional email verification not working in some cases if `verifyUserEmails`, `preventLoginWithUnverifiedEmail` set to functions ([#8838](https://github.com/parse-community/parse-server/issues/8838)) ([8e7a6b1](https://github.com/parse-community/parse-server/commit/8e7a6b1480c0117e6c73e7adc5a6619115a04e85))
73+
74+
### Features
75+
76+
* Allow `Parse.Session.current` on expired session token instead of throwing error ([#8722](https://github.com/parse-community/parse-server/issues/8722)) ([f9dde4a](https://github.com/parse-community/parse-server/commit/f9dde4a9f8a90c63f71172c9bc515b0f6c6d2e4a))
77+
78+
79+
### BREAKING CHANGES
80+
81+
* `Parse.Session.current()` no longer throws an error if the session token is expired, but instead returns the session token with its expiration date to allow checking its validity ([f9dde4a](f9dde4a))
82+
83+
# [7.0.0-alpha.2](https://github.com/parse-community/parse-server/compare/7.0.0-alpha.1...7.0.0-alpha.2) (2023-12-17)
84+
85+
86+
### Features
87+
88+
* Add `installationId` to arguments for `verifyUserEmails`, `preventLoginWithUnverifiedEmail` ([#8836](https://github.com/parse-community/parse-server/issues/8836)) ([a22dbe1](https://github.com/parse-community/parse-server/commit/a22dbe16d5ac0090608f6caaf0ebd134925b7fd4))
89+
90+
# [7.0.0-alpha.1](https://github.com/parse-community/parse-server/compare/6.5.0-alpha.2...7.0.0-alpha.1) (2023-12-10)
91+
92+
93+
### Features
94+
95+
* Add support for MongoDB 7 ([#8761](https://github.com/parse-community/parse-server/issues/8761)) ([3de8494](https://github.com/parse-community/parse-server/commit/3de8494a221991dfd10a74e0a2dc89576265c9b7))
96+
97+
98+
### BREAKING CHANGES
99+
100+
* `Parse.Query` no longer supports the BSON type `code`; although this feature was never officially documented, its removal is announced as a breaking change to protect deployments where it might be in use. ([3de8494](3de8494))
101+
102+
# [6.5.0-alpha.2](https://github.com/parse-community/parse-server/compare/6.5.0-alpha.1...6.5.0-alpha.2) (2023-11-19)
103+
104+
105+
### Performance Improvements
106+
107+
* Improved IP validation performance for `masterKeyIPs`, `maintenanceKeyIPs` ([#8510](https://github.com/parse-community/parse-server/issues/8510)) ([b87daba](https://github.com/parse-community/parse-server/commit/b87daba0671a1b0b7b8d63bc671d665c91a04522))
108+
1109
# [6.5.0-alpha.1](https://github.com/parse-community/parse-server/compare/6.4.0...6.5.0-alpha.1) (2023-11-18)
2110

3111

0 commit comments

Comments
 (0)