Skip to content

Commit ce57bf8

Browse files
authored
build: release 5.0.0-alpha.1 (#7617)
1 parent a00e903 commit ce57bf8

File tree

5 files changed

+44
-35
lines changed

5 files changed

+44
-35
lines changed

.github/workflows/release-manual-docker.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,11 @@ jobs:
4242
uses: docker/metadata-action@v3
4343
with:
4444
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
45-
# The following parameter is modified to manually make pre-releases on the `master` branch;
46-
# change this accordingly before adding release automation.
4745
flavor: |
48-
latest=false
49-
# The following parameter is modified to manually make pre-releases on the `master` branch;
50-
# change this accordingly before adding release automation.
46+
latest=${{ steps.branch.outputs.branch_name == 'release' && github.event.inputs.ref == '' }}
5147
tags: |
5248
type=semver,enable=true,pattern={{version}},value=${{ github.event.inputs.ref }}
49+
type=raw,enable=${{ github.event.inputs.ref == '' }},value=latest
5350
- name: Build and push Docker image
5451
uses: docker/build-push-action@v2
5552
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
restore-keys: |
2020
${{ runner.os }}-node-
2121
- run: npm ci
22-
- run: npm publish
22+
- run: npm publish --tag alpha
2323
env:
2424
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2525
publish-docs:

CHANGELOG.md

Lines changed: 39 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
Jump directly to a version:
44

5+
| 5.x |
6+
|-------------------------------------------|
7+
| [5.0.0-alpha.1 (pre-release)](#500-alpha1-2021-10-12) |
8+
59
| 4.x |
610
|--------------------------------------|
711
| [**4.10.4 (latest release)**](#4104) |
8-
| [4.10.3](#4103) |
12+
| [4.10.3](#4103) |
913
| [4.10.2](#4102) |
1014
| [4.10.1](#4101) |
1115
| [4.10.0](#4100) |
@@ -94,10 +98,18 @@ Jump directly to a version:
9498

9599
___
96100

97-
## Unreleased (Master Branch)
98-
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.10.4...master)
101+
# [Unreleased (master branch)](https://github.com/parse-community/parse-server/compare/5.0.0-alpha.1...master)
99102

100-
### Breaking Changes
103+
## Breaking Changes
104+
- (none)
105+
## Features
106+
- (none)
107+
## Bug Fixes
108+
- (none)
109+
110+
# [5.0.0-alpha.1](https://github.com/parse-community/parse-server/compare/4.10.4...5.0.0-alpha.1) (2021-10-12)
111+
112+
## Breaking Changes
101113
- 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)
102114
- 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)
103115
- 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)
@@ -107,7 +119,7 @@ ___
107119
- Remove Session field `restricted`; the field was a code artifact from a feature that never existed in Open Source Parse Server; if you have been using this field for custom purposes, consider that for new Parse Server installations the field does not exist anymore in the schema, and for existing installations the field default value `false` will not be set anymore when creating a new session (Manuel Trezza) [#7543](https://github.com/parse-community/parse-server/pull/7543)
108120
- ci: add node engine version check (Manuel Trezza) [#7574](https://github.com/parse-community/parse-server/pull/7574)
109121

110-
### Notable Changes
122+
## Notable Changes
111123
- Alphabetical ordered GraphQL API, improved GraphQL Schema cache system and fix GraphQL input reassign issue (Moumouls) [#7344](https://github.com/parse-community/parse-server/issues/7344)
112124
- Added Parse Server Security Check to report weak security settings (Manuel Trezza, dblythy) [#7247](https://github.com/parse-community/parse-server/issues/7247)
113125
- EXPERIMENTAL: Added new page router with placeholder rendering and localization of custom and feature pages such as password reset and email verification (Manuel Trezza) [#7128](https://github.com/parse-community/parse-server/pull/7128)
@@ -117,7 +129,7 @@ ___
117129
- Add official support for MongoDB 5.0 (Manuel Trezza) [#7469](https://github.com/parse-community/parse-server/pull/7469)
118130
- Added Parse Server Configuration `enforcePrivateUsers`, which will remove public access by default on new Parse.Users (dblythy) [#7319](https://github.com/parse-community/parse-server/pull/7319)
119131

120-
### Other Changes
132+
## Other Changes
121133
- Support native mongodb syntax in aggregation pipelines (Raschid JF Rafeally) [#7339](https://github.com/parse-community/parse-server/pull/7339)
122134
- 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)
123135
- request.context for afterFind triggers (dblythy) [#7078](https://github.com/parse-community/parse-server/pull/7078)
@@ -163,33 +175,33 @@ ___
163175
- refactor: Modernize HTTPRequest tests (brandongregoryscott) [#7604](https://github.com/parse-community/parse-server/pull/7604)
164176
- Allow liveQuery on Session class (Daniel Blyth) [#7554](https://github.com/parse-community/parse-server/pull/7554)
165177

166-
## 4.10.4
178+
# 4.10.4
167179
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.10.3...4.10.4)
168180

169-
### Security Fixes
181+
## Security Fixes
170182
- Strip out sessionToken when LiveQuery is used on Parse.User (Daniel Blyth) [GHSA-7pr3-p5fm-8r9x](https://github.com/parse-community/parse-server/security/advisories/GHSA-7pr3-p5fm-8r9x)
171183

172-
## 4.10.3
184+
# 4.10.3
173185
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.10.2...4.10.3)
174186

175-
### Security Fixes
187+
## Security Fixes
176188
- Validate `explain` query parameter to avoid a server crash due to MongoDB bug [NODE-3463](https://jira.mongodb.org/browse/NODE-3463) (Kartal Kaan Bozdogan) [GHSA-xqp8-w826-hh6x](https://github.com/parse-community/parse-server/security/advisories/GHSA-xqp8-w826-hh6x)
177189

178-
## 4.10.2
190+
# 4.10.2
179191
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.10.1...4.10.2)
180192

181-
### Other Changes
193+
## Other Changes
182194
- Move graphql-tag from devDependencies to dependencies (Antonio Davi Macedo Coelho de Castro) [#7183](https://github.com/parse-community/parse-server/pull/7183)
183195

184-
## 4.10.1
196+
# 4.10.1
185197
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.10.0...4.10.1)
186198

187-
### Security Fixes
199+
## Security Fixes
188200
- Updated to Parse JS SDK 3.3.0 and other security fixes (Manuel Trezza) [#7508](https://github.com/parse-community/parse-server/pull/7508)
189201

190202
> ⚠️ This includes a security fix of the Parse JS SDK where `logIn` will default to `POST` instead of `GET` method. This may require changes in your deployment before you upgrade to this release, see the Parse JS SDK 3.0.0 [release notes](https://github.com/parse-community/Parse-SDK-JS/releases/tag/3.0.0).
191203
192-
## 4.10.0
204+
# 4.10.0
193205
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.5.2...4.10.0)
194206

195207
*Versions >4.5.2 and <4.10.0 are skipped.*
@@ -205,20 +217,20 @@ ___
205217
>
206218
>**If you are using any of the affected versions, we urgently recommend to upgrade to version `4.10.0`.**
207219
208-
## 4.5.2
220+
# 4.5.2
209221
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.5.0...4.5.2)
210222
211223
### Security Fixes
212224
- SECURITY FIX: Fixes incorrect session property `authProvider: password` of anonymous users. When signing up an anonymous user, the session field `createdWith` indicates incorrectly that the session has been created using username and password with `authProvider: password`, instead of an anonymous sign-up with `authProvider: anonymous`. This fixes the issue by setting the correct `authProvider: anonymous` for future sign-ups of anonymous users. This fix does not fix incorrect `authProvider: password` for existing sessions of anonymous users. Consider this if your app logic depends on the `authProvider` field. (Corey Baker) [GHSA-23r4-5mxp-c7g5](https://github.com/parse-community/parse-server/security/advisories/GHSA-23r4-5mxp-c7g5)
213225
214-
## 4.5.1
226+
# 4.5.1
215227
*This version was published by mistake and was deprecated.*
216228
217-
## 4.5.0
229+
# 4.5.0
218230
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.4.0...4.5.0)
219-
### Breaking Changes
231+
## Breaking Changes
220232
- FIX: Consistent casing for afterLiveQueryEvent. The afterLiveQueryEvent was introduced in 4.4.0 with inconsistent casing for the event names, which was fixed in 4.5.0. [#7023](https://github.com/parse-community/parse-server/pull/7023). Thanks to [dblythy](https://github.com/dblythy).
221-
### Other Changes
233+
## Other Changes
222234
- FIX: Properly handle serverURL and publicServerUrl in Batch requests. [#7049](https://github.com/parse-community/parse-server/pull/7049). Thanks to [Zach Goldberg](https://github.com/ZachGoldberg).
223235
- IMPROVE: Prevent invalid column names (className and length). [#7053](https://github.com/parse-community/parse-server/pull/7053). Thanks to [Diamond Lewis](https://github.com/dplewis).
224236
- IMPROVE: GraphQL: Remove viewer from logout mutation. [#7029](https://github.com/parse-community/parse-server/pull/7029). Thanks to [Antoine Cormouls](https://github.com/Moumouls).
@@ -235,7 +247,7 @@ ___
235247
- FIX: Add encryptionKey to src/options/index.js. [#6999](https://github.com/parse-community/parse-server/pull/6999). Thanks to [dblythy](https://github.com/dblythy).
236248
- IMPROVE: Update PostgresStorageAdapter.js. [#6989](https://github.com/parse-community/parse-server/pull/6989). Thanks to [Vitaly Tomilov](https://github.com/vitaly-t).
237249
238-
## 4.4.0
250+
# 4.4.0
239251
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.3.0...4.4.0)
240252
- IMPROVE: Update PostgresStorageAdapter.js. [#6981](https://github.com/parse-community/parse-server/pull/6981). Thanks to [Vitaly Tomilov](https://github.com/vitaly-t)
241253
- NEW: skipWithMasterKey on Built-In Validator. [#6972](https://github.com/parse-community/parse-server/issues/6972). Thanks to [dblythy](https://github.com/dblythy).
@@ -270,7 +282,7 @@ ___
270282
- IMPROVE: Optimized deletion of class field from schema by using an index if available to do an index scan instead of a collection scan. [#6815](https://github.com/parse-community/parse-server/issues/6815). Thanks to [Manuel Trezza](https://github.com/mtrezza).
271283
- IMPROVE: Enable MongoDB transaction test for MongoDB >= 4.0.4 [#6827](https://github.com/parse-community/parse-server/pull/6827). Thanks to [Manuel](https://github.com/mtrezza).
272284
273-
## 4.3.0
285+
# 4.3.0
274286
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.2.0...4.3.0)
275287
- PERFORMANCE: Optimizing pointer CLP query decoration done by DatabaseController#addPointerPermissions [#6747](https://github.com/parse-community/parse-server/pull/6747). Thanks to [mess-lelouch](https://github.com/mess-lelouch).
276288
- SECURITY: Fix security breach on GraphQL viewer [78239ac](https://github.com/parse-community/parse-server/commit/78239ac9071167fdf243c55ae4bc9a2c0b0d89aa), [security advisory](https://github.com/parse-community/parse-server/security/advisories/GHSA-236h-rqv8-8q73). Thanks to [Antoine Cormouls](https://github.com/Moumouls).
@@ -309,7 +321,7 @@ ___
309321
- FIX: Fix Postgres group aggregation [#6522](https://github.com/parse-community/parse-server/pull/6522). Thanks to [Siddharth Ramesh](https://github.com/srameshr).
310322
- NEW: Allow set user mapped from JWT directly on request [#6411](https://github.com/parse-community/parse-server/pull/6411). Thanks to [Gordon Sun](https://github.com/sunshineo).
311323
312-
## 4.2.0
324+
# 4.2.0
313325
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.1.0...4.2.0)
314326
315327
__BREAKING CHANGES:__
@@ -339,13 +351,13 @@ ___
339351
- NEW: Case insensitive username and email indexing and query planning for Postgres [#6506](https://github.com/parse-community/parse-server/issues/6441). Thanks to
340352
[Corey Baker](https://github.com/cbaker6).
341353
342-
## 4.1.0
354+
# 4.1.0
343355
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.0.2...4.1.0)
344356
345357
_SECURITY RELEASE_: see [advisory](https://github.com/parse-community/parse-server/security/advisories/GHSA-h4mf-75hf-67w4) for details
346358
- SECURITY FIX: Patch Regex vulnerabilities. See [3a3a5ee](https://github.com/parse-community/parse-server/commit/3a3a5eee5ffa48da1352423312cb767de14de269). Special thanks to [W0lfw00d](https://github.com/W0lfw00d) for identifying and [responsibly reporting](https://github.com/parse-community/parse-server/blob/master/SECURITY.md) the vulnerability. Thanks to [Antonio Davi Macedo Coelho de Castro](https://github.com/davimacedo) for the speedy fix.
347359
348-
## 4.0.2
360+
# 4.0.2
349361
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.0.1...4.0.2)
350362
351363
__BREAKING CHANGES:__
@@ -362,12 +374,12 @@ __BREAKING CHANGES:__
362374
363375
- FIX: attempt to get travis to deploy to npmjs again. See [#6475](https://github.com/parse-community/parse-server/pull/6457). Thanks to [Arthur Cinader](https://github.com/acinader).
364376
365-
## 4.0.1
377+
# 4.0.1
366378
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.0.0...4.0.1)
367379
- FIX: correct 'new' travis config to properly deploy. See [#6452](https://github.com/parse-community/parse-server/pull/6452). Thanks to [Arthur Cinader](https://github.com/acinader).
368380
- FIX: Better message on not allowed to protect default fields. See [#6439](https://github.com/parse-community/parse-server/pull/6439).Thanks to [Old Grandpa](https://github.com/BufferUnderflower)
369381
370-
## 4.0.0
382+
# 4.0.0
371383
[Full Changelog](https://github.com/parse-community/parse-server/compare/3.10.0...4.0.0)
372384
373385
> __Special Note on Upgrading to Parse Server 4.0.0 and above__

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse-server",
3-
"version": "4.10.4",
3+
"version": "5.0.0-alpha.1",
44
"description": "An express module providing a Parse-compatible API server",
55
"main": "lib/index.js",
66
"repository": {

0 commit comments

Comments
 (0)