semantic-release-bot
3f5b2900a6
chore(release): 6.1.0-alpha.1 [skip ci]
...
# [6.1.0-alpha.1](https://github.com/parse-community/parse-server/compare/6.0.0...6.1.0-alpha.1 ) (2023-03-03)
### Bug Fixes
* Security upgrade jsonwebtoken to 9.0.0 ([#8420 ](https://github.com/parse-community/parse-server/issues/8420 )) ([f5bfe45 ](f5bfe4571e ))
### Features
* Add option `schemaCacheTtl` for schema cache pulling as alternative to `enableSchemaHooks` ([#8436 ](https://github.com/parse-community/parse-server/issues/8436 )) ([b3b76de ](b3b76de71b ))
* Add Parse Server option `resetPasswordSuccessOnInvalidEmail` to choose success or error response on password reset with invalid email ([#7551 ](https://github.com/parse-community/parse-server/issues/7551 )) ([e5d610e ](e5d610e5e4 ))
* Deprecate LiveQuery `fields` option in favor of `keys` for semantic consistency ([#8388 ](https://github.com/parse-community/parse-server/issues/8388 )) ([a49e323 ](a49e323d5a ))
* Export `AuthAdapter` to make it available for extension with custom authentication adapters ([#8443 ](https://github.com/parse-community/parse-server/issues/8443 )) ([40c1961 ](40c196153b ))
2023-03-03 16:52:51 +00:00
Daniel
40c196153b
feat: Export AuthAdapter to make it available for extension with custom authentication adapters ( #8443 )
2023-03-03 17:51:45 +01:00
semantic-release-bot
656bca6132
chore(release): 6.1.0-beta.1 [skip ci]
...
# [6.1.0-beta.1](https://github.com/parse-community/parse-server/compare/6.0.0...6.1.0-beta.1 ) (2023-03-02)
### Bug Fixes
* Security upgrade jsonwebtoken to 9.0.0 ([#8420 ](https://github.com/parse-community/parse-server/issues/8420 )) ([f5bfe45 ](f5bfe4571e ))
### Features
* Add option `schemaCacheTtl` for schema cache pulling as alternative to `enableSchemaHooks` ([#8436 ](https://github.com/parse-community/parse-server/issues/8436 )) ([b3b76de ](b3b76de71b ))
* Add Parse Server option `resetPasswordSuccessOnInvalidEmail` to choose success or error response on password reset with invalid email ([#7551 ](https://github.com/parse-community/parse-server/issues/7551 )) ([e5d610e ](e5d610e5e4 ))
* Deprecate LiveQuery `fields` option in favor of `keys` for semantic consistency ([#8388 ](https://github.com/parse-community/parse-server/issues/8388 )) ([a49e323 ](a49e323d5a ))
2023-03-02 10:54:13 +00:00
Manuel
29044aa9c3
build: Release beta ( #8452 )
2023-03-02 11:53:11 +01:00
Manuel Trezza
33358a6234
Merge branch 'beta' into build
2023-03-02 11:37:47 +01:00
Manuel
a74b7c2f74
ci: Remove release-automated-scheduler ( #8450 )
2023-03-01 17:28:17 +01:00
semantic-release-bot
e9ab6b055d
chore(release): 6.0.0-alpha.35 [skip ci]
...
# [6.0.0-alpha.35](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.34...6.0.0-alpha.35 ) (2023-02-27)
### Features
* Add option `schemaCacheTtl` for schema cache pulling as alternative to `enableSchemaHooks` ([#8436 ](https://github.com/parse-community/parse-server/issues/8436 )) ([b3b76de ](b3b76de71b ))
2023-02-27 00:56:49 +00:00
Daniel
b3b76de71b
feat: Add option schemaCacheTtl for schema cache pulling as alternative to enableSchemaHooks ( #8436 )
2023-02-27 01:55:47 +01:00
semantic-release-bot
bdca9f4ce3
chore(release): 6.0.0-alpha.34 [skip ci]
...
# [6.0.0-alpha.34](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.33...6.0.0-alpha.34 ) (2023-02-24)
### Features
* Add Parse Server option `resetPasswordSuccessOnInvalidEmail` to choose success or error response on password reset with invalid email ([#7551 ](https://github.com/parse-community/parse-server/issues/7551 )) ([e5d610e ](e5d610e5e4 ))
2023-02-24 19:32:10 +00:00
Daniel
e5d610e5e4
feat: Add Parse Server option resetPasswordSuccessOnInvalidEmail to choose success or error response on password reset with invalid email ( #7551 )
2023-02-24 20:30:48 +01:00
semantic-release-bot
5477848518
chore(release): 6.0.0-alpha.33 [skip ci]
...
# [6.0.0-alpha.33](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.32...6.0.0-alpha.33 ) (2023-02-17)
### Features
* Deprecate LiveQuery `fields` option in favor of `keys` for semantic consistency ([#8388 ](https://github.com/parse-community/parse-server/issues/8388 )) ([a49e323 ](a49e323d5a ))
2023-02-17 12:25:43 +00:00
Daniel
a49e323d5a
feat: Deprecate LiveQuery fields option in favor of keys for semantic consistency ( #8388 )
2023-02-17 13:24:33 +01:00
dependabot[bot]
992b3c79f5
refactor: Bump cacheable-request and all-node-versions ( #8430 )
2023-02-13 19:32:46 +01:00
semantic-release-bot
e76123b482
chore(release): 6.0.0-alpha.32 [skip ci]
...
# [6.0.0-alpha.32](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.31...6.0.0-alpha.32 ) (2023-02-07)
### Bug Fixes
* Security upgrade jsonwebtoken to 9.0.0 ([#8420 ](https://github.com/parse-community/parse-server/issues/8420 )) ([f5bfe45 ](f5bfe4571e ))
2023-02-07 11:46:57 +00:00
Daniel
f5bfe4571e
fix: Security upgrade jsonwebtoken to 9.0.0 ( #8420 )
2023-02-07 12:45:30 +01:00
Manuel
4450ecbc01
docs: Add issue scope to contribution guide ( #8423 )
2023-02-04 21:52:28 +01:00
dependabot[bot]
46e2760a46
refactor: Bump http-cache-semantics from 4.1.0 to 4.1.1 ( #8422 )
2023-02-03 20:08:30 +01:00
semantic-release-bot
8414ad3f32
chore(release): 6.0.0-alpha.31 [skip ci]
...
# [6.0.0-alpha.31](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.30...6.0.0-alpha.31 ) (2023-01-31)
### Bug Fixes
* Parse Server option `requestKeywordDenylist` can be bypassed via Cloud Code Webhooks or Triggers; fixes security vulnerability [GHSA-xprv-wvh7-qqqx](https://github.com/parse-community/parse-server/security/advisories/GHSA-xprv-wvh7-qqqx ) ([#8302 ](https://github.com/parse-community/parse-server/issues/8302 )) ([6728da1 ](6728da1e35 ))
* Prototype pollution via Cloud Code Webhooks; fixes security vulnerability [GHSA-93vw-8fm5-p2jf](https://github.com/parse-community/parse-server/security/advisories/GHSA-93vw-8fm5-p2jf ) ([#8305 ](https://github.com/parse-community/parse-server/issues/8305 )) ([60c5a73 ](60c5a73d25 ))
* Remote code execution via MongoDB BSON parser through prototype pollution; fixes security vulnerability [GHSA-prm5-8g2m-24gg](https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg ) ([#8295 ](https://github.com/parse-community/parse-server/issues/8295 )) ([50eed3c ](50eed3cffe ))
2023-01-31 15:37:19 +00:00
Manuel
70e6914173
ci: Fix CI not running for certain branches ( #8417 )
2023-01-31 16:35:59 +01:00
semantic-release-bot
f7eee19dba
chore(release): 6.0.0 [skip ci]
...
# [6.0.0](https://github.com/parse-community/parse-server/compare/5.4.0...6.0.0 ) (2023-01-31)
### Bug Fixes
* `ParseServer.verifyServerUrl` may fail if server response headers are missing; remove unnecessary logging ([#8391 ](https://github.com/parse-community/parse-server/issues/8391 )) ([1c37a7c ](1c37a7cd07 ))
* Cloud Code trigger `beforeSave` does not work with `Parse.Role` ([#8320 ](https://github.com/parse-community/parse-server/issues/8320 )) ([f29d972 ](f29d9720e9 ))
* ES6 modules do not await the import of Cloud Code files ([#8368 ](https://github.com/parse-community/parse-server/issues/8368 )) ([a7bd180 ](a7bd180cdd ))
* Nested objects are encoded incorrectly for MongoDB ([#8209 ](https://github.com/parse-community/parse-server/issues/8209 )) ([1412666 ](1412666f75 ))
* Parse Server option `masterKeyIps` does not include localhost by default for IPv6 ([#8322 ](https://github.com/parse-community/parse-server/issues/8322 )) ([ab82635 ](ab82635b0d ))
* Rate limiter may reject requests that contain a session token ([#8399 ](https://github.com/parse-community/parse-server/issues/8399 )) ([c114dc8 ](c114dc8831 ))
* Remove Node 12 and Node 17 support ([#8279 ](https://github.com/parse-community/parse-server/issues/8279 )) ([2546cc8 ](2546cc8572 ))
* Schema without class level permissions may cause error ([#8409 ](https://github.com/parse-community/parse-server/issues/8409 )) ([aa2cd51 ](aa2cd51b70 ))
* The client IP address may be determined incorrectly in some cases; this fixes a security vulnerability in which the Parse Server option `masterKeyIps` may be circumvented, see [GHSA-vm5r-c87r-pf6x](https://github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6x ) ([#8372 ](https://github.com/parse-community/parse-server/issues/8372 )) ([892040d ](892040dc2f ))
* Throwing error in Cloud Code Triggers `afterLogin`, `afterLogout` crashes server ([#8280 ](https://github.com/parse-community/parse-server/issues/8280 )) ([130d290 ](130d29074e ))
### Features
* Access the internal scope of Parse Server using the new `maintenanceKey`; the internal scope contains unofficial and undocumented fields (prefixed with underscore `_`) which are used internally by Parse Server; you may want to manipulate these fields for out-of-band changes such as data migration or correction tasks; changes within the internal scope of Parse Server may happen at any time without notice or changelog entry, it is therefore recommended to look at the source code of Parse Server to understand the effects of manipulating internal fields before using the key; it is discouraged to use the `maintenanceKey` for routine operations in a production environment; see [access scopes](https://github.com/parse-community/parse-server#access-scopes ) ([#8212 ](https://github.com/parse-community/parse-server/issues/8212 )) ([f3bcc93 ](f3bcc9365c ))
* Adapt `verifyServerUrl` for new asynchronous Parse Server start-up states ([#8366 ](https://github.com/parse-community/parse-server/issues/8366 )) ([ffa4974 ](ffa4974158 ))
* Add `ParseQuery.watch` to trigger LiveQuery only on update of specific fields ([#8028 ](https://github.com/parse-community/parse-server/issues/8028 )) ([fc92faa ](fc92faac75 ))
* Add Node 19 support ([#8363 ](https://github.com/parse-community/parse-server/issues/8363 )) ([a4990dc ](a4990dcd29 ))
* Add option to change the log level of the logs emitted by triggers ([#8328 ](https://github.com/parse-community/parse-server/issues/8328 )) ([8f3b694 ](8f3b694e39 ))
* Add request rate limiter based on IP address ([#8174 ](https://github.com/parse-community/parse-server/issues/8174 )) ([6c79f6a ](6c79f6a69e ))
* Asynchronous initialization of Parse Server ([#8232 ](https://github.com/parse-community/parse-server/issues/8232 )) ([99fcf45 ](99fcf45e55 ))
* 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 ](5bbf9cade9 ))
* Reduce Docker image size by improving stages ([#8359 ](https://github.com/parse-community/parse-server/issues/8359 )) ([40810b4 ](40810b48eb ))
* Remove deprecation `DEPPS1`: Native MongoDB syntax in aggregation pipeline ([#8362 ](https://github.com/parse-community/parse-server/issues/8362 )) ([d0d30c4 ](d0d30c4f13 ))
* Remove deprecation `DEPPS2`: Config option `directAccess` defaults to true ([#8284 ](https://github.com/parse-community/parse-server/issues/8284 )) ([f535ee6 ](f535ee6ec2 ))
* Remove deprecation `DEPPS3`: Config option `enforcePrivateUsers` defaults to `true` ([#8283 ](https://github.com/parse-community/parse-server/issues/8283 )) ([ed499e3 ](ed499e32a2 ))
* Remove deprecation `DEPPS4`: Remove convenience method for http request `Parse.Cloud.httpRequest` ([#8287 ](https://github.com/parse-community/parse-server/issues/8287 )) ([2d79c08 ](2d79c0835b ))
* Remove support for MongoDB 4.0 ([#8292 ](https://github.com/parse-community/parse-server/issues/8292 )) ([37245f6 ](37245f62ce ))
* Restrict use of `masterKey` to localhost by default ([#8281 ](https://github.com/parse-community/parse-server/issues/8281 )) ([6c16021 ](6c16021a1f ))
* Upgrade Node Package Manager lock file `package-lock.json` to version 2 ([#8285 ](https://github.com/parse-community/parse-server/issues/8285 )) ([ee72467 ](ee7246733d ))
* Upgrade Redis 3 to 4 ([#8293 ](https://github.com/parse-community/parse-server/issues/8293 )) ([7d622f0 ](7d622f06a4 ))
* Upgrade Redis 3 to 4 for LiveQuery ([#8333 ](https://github.com/parse-community/parse-server/issues/8333 )) ([b2761fb ](b2761fb378 ))
* Upgrade to Parse JavaScript SDK 4 ([#8332 ](https://github.com/parse-community/parse-server/issues/8332 )) ([9092874 ](9092874a9a ))
* Write log entry when request with master key is rejected as outside of `masterKeyIps` ([#8350 ](https://github.com/parse-community/parse-server/issues/8350 )) ([e22b73d ](e22b73d4b7 ))
### BREAKING CHANGES
* The Docker image does not contain the git dependency anymore; if you have been using git as a transitive dependency it now needs to be explicitly installed in your Docker file, for example with `RUN apk --no-cache add git` (#8359 ) ([40810b4 ](40810b4 ))
* Fields in the internal scope of Parse Server (prefixed with underscore `_`) are only returned using the new `maintenanceKey`; previously the `masterKey` allowed reading of internal fields; see [access scopes](https://github.com/parse-community/parse-server#access-scopes ) for a comparison of the keys' access permissions (#8212 ) ([f3bcc93 ](f3bcc93 ))
* The method `ParseServer.verifyServerUrl` now returns a promise instead of a callback. ([ffa4974 ](ffa4974 ))
* The MongoDB aggregation pipeline requires native MongoDB syntax instead of the custom Parse Server syntax; for example pipeline stage names require a leading dollar sign like `$match` and the MongoDB document ID is referenced using `_id` instead of `objectId` (#8362 ) ([d0d30c4 ](d0d30c4 ))
* The mechanism to determine the client IP address has been rewritten; to correctly determine the IP address it is now required to set the Parse Server option `trustProxy` accordingly if Parse Server runs behind a proxy server, see the express framework's [trust proxy](https://expressjs.com/en/guide/behind-proxies.html ) setting (#8372 ) ([892040d ](892040d ))
* The Node Package Manager lock file `package-lock.json` is upgraded to version 2; while it is backwards with version 1 for the npm installer, consider this if you run any non-npm analysis tools that use the lock file (#8285 ) ([ee72467 ](ee72467 ))
* This release introduces the asynchronous initialization of Parse Server to prevent mounting Parse Server before being ready to receive request; it changes how Parse Server is imported, initialized and started; it also removes the callback `serverStartComplete`; see the [Parse Server 6 migration guide](https://github.com/parse-community/parse-server/blob/alpha/6.0.0.md ) for more details (#8232 ) ([99fcf45 ](99fcf45 ))
* Nested objects are now properly stored in the database using JSON serialization; previously, due to a bug only top-level objects were serialized, but nested objects were saved as raw JSON; for example, a nested `Date` object was saved as a JSON object like `{ "__type": "Date", "iso": "2020-01-01T00:00:00.000Z" }` instead of its serialized representation `2020-01-01T00:00:00.000Z` (#8209 ) ([1412666 ](1412666 ))
* The Parse Server option `enforcePrivateUsers` is set to `true` by default; in previous releases this option defaults to `false`; this change improves the default security configuration of Parse Server (#8283 ) ([ed499e3 ](ed499e3 ))
* This release restricts the use of `masterKey` to localhost by default; if you are using Parse Dashboard on a different server to connect to Parse Server you need to add the IP address of the server that hosts Parse Dashboard to this option (#8281 ) ([6c16021 ](6c16021 ))
* This release upgrades to Redis 4; if you are using the Redis cache adapter with Parse Server then this is a breaking change as the Redis client options have changed; see the [Redis migration guide](https://github.com/redis/node-redis/blob/redis%404.0.0/docs/v3-to-v4.md ) for more details (#8293 ) ([7d622f0 ](7d622f0 ))
* 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 ))
* 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 ))
* 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 ))
* The convenience method for HTTP requests `Parse.Cloud.httpRequest` is removed; use your preferred 3rd party library for making HTTP requests ([2d79c08 ](2d79c08 ))
* This release removes Node 12 and Node 17 support ([2546cc8 ](2546cc8 ))
2023-01-31 03:36:12 +00:00
Manuel
c99adfa771
build: Release ( #8415 )
2023-01-31 04:35:01 +01:00
semantic-release-bot
301459d216
chore(release): 6.0.0-beta.1 [skip ci]
...
# [6.0.0-beta.1](https://github.com/parse-community/parse-server/compare/5.4.0...6.0.0-beta.1 ) (2023-01-31)
### Bug Fixes
* `ParseServer.verifyServerUrl` may fail if server response headers are missing; remove unnecessary logging ([#8391 ](https://github.com/parse-community/parse-server/issues/8391 )) ([1c37a7c ](1c37a7cd07 ))
* Cloud Code trigger `beforeSave` does not work with `Parse.Role` ([#8320 ](https://github.com/parse-community/parse-server/issues/8320 )) ([f29d972 ](f29d9720e9 ))
* ES6 modules do not await the import of Cloud Code files ([#8368 ](https://github.com/parse-community/parse-server/issues/8368 )) ([a7bd180 ](a7bd180cdd ))
* Nested objects are encoded incorrectly for MongoDB ([#8209 ](https://github.com/parse-community/parse-server/issues/8209 )) ([1412666 ](1412666f75 ))
* Parse Server option `masterKeyIps` does not include localhost by default for IPv6 ([#8322 ](https://github.com/parse-community/parse-server/issues/8322 )) ([ab82635 ](ab82635b0d ))
* Rate limiter may reject requests that contain a session token ([#8399 ](https://github.com/parse-community/parse-server/issues/8399 )) ([c114dc8 ](c114dc8831 ))
* Remove Node 12 and Node 17 support ([#8279 ](https://github.com/parse-community/parse-server/issues/8279 )) ([2546cc8 ](2546cc8572 ))
* Schema without class level permissions may cause error ([#8409 ](https://github.com/parse-community/parse-server/issues/8409 )) ([aa2cd51 ](aa2cd51b70 ))
* The client IP address may be determined incorrectly in some cases; this fixes a security vulnerability in which the Parse Server option `masterKeyIps` may be circumvented, see [GHSA-vm5r-c87r-pf6x](https://github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6x ) ([#8372 ](https://github.com/parse-community/parse-server/issues/8372 )) ([892040d ](892040dc2f ))
* Throwing error in Cloud Code Triggers `afterLogin`, `afterLogout` crashes server ([#8280 ](https://github.com/parse-community/parse-server/issues/8280 )) ([130d290 ](130d29074e ))
### Features
* Access the internal scope of Parse Server using the new `maintenanceKey`; the internal scope contains unofficial and undocumented fields (prefixed with underscore `_`) which are used internally by Parse Server; you may want to manipulate these fields for out-of-band changes such as data migration or correction tasks; changes within the internal scope of Parse Server may happen at any time without notice or changelog entry, it is therefore recommended to look at the source code of Parse Server to understand the effects of manipulating internal fields before using the key; it is discouraged to use the `maintenanceKey` for routine operations in a production environment; see [access scopes](https://github.com/parse-community/parse-server#access-scopes ) ([#8212 ](https://github.com/parse-community/parse-server/issues/8212 )) ([f3bcc93 ](f3bcc9365c ))
* Adapt `verifyServerUrl` for new asynchronous Parse Server start-up states ([#8366 ](https://github.com/parse-community/parse-server/issues/8366 )) ([ffa4974 ](ffa4974158 ))
* Add `ParseQuery.watch` to trigger LiveQuery only on update of specific fields ([#8028 ](https://github.com/parse-community/parse-server/issues/8028 )) ([fc92faa ](fc92faac75 ))
* Add Node 19 support ([#8363 ](https://github.com/parse-community/parse-server/issues/8363 )) ([a4990dc ](a4990dcd29 ))
* Add option to change the log level of the logs emitted by triggers ([#8328 ](https://github.com/parse-community/parse-server/issues/8328 )) ([8f3b694 ](8f3b694e39 ))
* Add request rate limiter based on IP address ([#8174 ](https://github.com/parse-community/parse-server/issues/8174 )) ([6c79f6a ](6c79f6a69e ))
* Asynchronous initialization of Parse Server ([#8232 ](https://github.com/parse-community/parse-server/issues/8232 )) ([99fcf45 ](99fcf45e55 ))
* 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 ](5bbf9cade9 ))
* Reduce Docker image size by improving stages ([#8359 ](https://github.com/parse-community/parse-server/issues/8359 )) ([40810b4 ](40810b48eb ))
* Remove deprecation `DEPPS1`: Native MongoDB syntax in aggregation pipeline ([#8362 ](https://github.com/parse-community/parse-server/issues/8362 )) ([d0d30c4 ](d0d30c4f13 ))
* Remove deprecation `DEPPS2`: Config option `directAccess` defaults to true ([#8284 ](https://github.com/parse-community/parse-server/issues/8284 )) ([f535ee6 ](f535ee6ec2 ))
* Remove deprecation `DEPPS3`: Config option `enforcePrivateUsers` defaults to `true` ([#8283 ](https://github.com/parse-community/parse-server/issues/8283 )) ([ed499e3 ](ed499e32a2 ))
* Remove deprecation `DEPPS4`: Remove convenience method for http request `Parse.Cloud.httpRequest` ([#8287 ](https://github.com/parse-community/parse-server/issues/8287 )) ([2d79c08 ](2d79c0835b ))
* Remove support for MongoDB 4.0 ([#8292 ](https://github.com/parse-community/parse-server/issues/8292 )) ([37245f6 ](37245f62ce ))
* Restrict use of `masterKey` to localhost by default ([#8281 ](https://github.com/parse-community/parse-server/issues/8281 )) ([6c16021 ](6c16021a1f ))
* Upgrade Node Package Manager lock file `package-lock.json` to version 2 ([#8285 ](https://github.com/parse-community/parse-server/issues/8285 )) ([ee72467 ](ee7246733d ))
* Upgrade Redis 3 to 4 ([#8293 ](https://github.com/parse-community/parse-server/issues/8293 )) ([7d622f0 ](7d622f06a4 ))
* Upgrade Redis 3 to 4 for LiveQuery ([#8333 ](https://github.com/parse-community/parse-server/issues/8333 )) ([b2761fb ](b2761fb378 ))
* Upgrade to Parse JavaScript SDK 4 ([#8332 ](https://github.com/parse-community/parse-server/issues/8332 )) ([9092874 ](9092874a9a ))
* Write log entry when request with master key is rejected as outside of `masterKeyIps` ([#8350 ](https://github.com/parse-community/parse-server/issues/8350 )) ([e22b73d ](e22b73d4b7 ))
### BREAKING CHANGES
* The Docker image does not contain the git dependency anymore; if you have been using git as a transitive dependency it now needs to be explicitly installed in your Docker file, for example with `RUN apk --no-cache add git` (#8359 ) ([40810b4 ](40810b4 ))
* Fields in the internal scope of Parse Server (prefixed with underscore `_`) are only returned using the new `maintenanceKey`; previously the `masterKey` allowed reading of internal fields; see [access scopes](https://github.com/parse-community/parse-server#access-scopes ) for a comparison of the keys' access permissions (#8212 ) ([f3bcc93 ](f3bcc93 ))
* The method `ParseServer.verifyServerUrl` now returns a promise instead of a callback. ([ffa4974 ](ffa4974 ))
* The MongoDB aggregation pipeline requires native MongoDB syntax instead of the custom Parse Server syntax; for example pipeline stage names require a leading dollar sign like `$match` and the MongoDB document ID is referenced using `_id` instead of `objectId` (#8362 ) ([d0d30c4 ](d0d30c4 ))
* The mechanism to determine the client IP address has been rewritten; to correctly determine the IP address it is now required to set the Parse Server option `trustProxy` accordingly if Parse Server runs behind a proxy server, see the express framework's [trust proxy](https://expressjs.com/en/guide/behind-proxies.html ) setting (#8372 ) ([892040d ](892040d ))
* The Node Package Manager lock file `package-lock.json` is upgraded to version 2; while it is backwards with version 1 for the npm installer, consider this if you run any non-npm analysis tools that use the lock file (#8285 ) ([ee72467 ](ee72467 ))
* This release introduces the asynchronous initialization of Parse Server to prevent mounting Parse Server before being ready to receive request; it changes how Parse Server is imported, initialized and started; it also removes the callback `serverStartComplete`; see the [Parse Server 6 migration guide](https://github.com/parse-community/parse-server/blob/alpha/6.0.0.md ) for more details (#8232 ) ([99fcf45 ](99fcf45 ))
* Nested objects are now properly stored in the database using JSON serialization; previously, due to a bug only top-level objects were serialized, but nested objects were saved as raw JSON; for example, a nested `Date` object was saved as a JSON object like `{ "__type": "Date", "iso": "2020-01-01T00:00:00.000Z" }` instead of its serialized representation `2020-01-01T00:00:00.000Z` (#8209 ) ([1412666 ](1412666 ))
* The Parse Server option `enforcePrivateUsers` is set to `true` by default; in previous releases this option defaults to `false`; this change improves the default security configuration of Parse Server (#8283 ) ([ed499e3 ](ed499e3 ))
* This release restricts the use of `masterKey` to localhost by default; if you are using Parse Dashboard on a different server to connect to Parse Server you need to add the IP address of the server that hosts Parse Dashboard to this option (#8281 ) ([6c16021 ](6c16021 ))
* This release upgrades to Redis 4; if you are using the Redis cache adapter with Parse Server then this is a breaking change as the Redis client options have changed; see the [Redis migration guide](https://github.com/redis/node-redis/blob/redis%404.0.0/docs/v3-to-v4.md ) for more details (#8293 ) ([7d622f0 ](7d622f0 ))
* 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 ))
* 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 ))
* 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 ))
* The convenience method for HTTP requests `Parse.Cloud.httpRequest` is removed; use your preferred 3rd party library for making HTTP requests ([2d79c08 ](2d79c08 ))
* This release removes Node 12 and Node 17 support ([2546cc8 ](2546cc8 ))
2023-01-31 03:18:06 +00:00
Manuel
7a0949cf79
build: Release beta ( #8414 )
2023-01-31 04:17:06 +01:00
Manuel Trezza
39a074fd0e
Merge branch 'beta' into build-release-beta
...
* beta:
docs: remove "skip release" entries from changelog
chore(release): 5.4.0 [skip ci]
refactor: Prototype pollution via Cloud Code Webhooks; fixes security vulnerability [GHSA-93vw-8fm5-p2jf](https://github.com/parse-community/parse-server/security/advisories/GHSA-93vw-8fm5-p2jf ) (#8307 )
chore(release): 5.3.3 [skip ci]
fix: Prototype pollution via Cloud Code Webhooks; fixes security vulnerability [GHSA-93vw-8fm5-p2jf](https://github.com/parse-community/parse-server/security/advisories/GHSA-93vw-8fm5-p2jf ) (#8305 )
chore(release): 5.3.2 [skip ci]
refactor: Parse Server option `requestKeywordDenylist` can be bypassed via Cloud Code Webhooks or Triggers; fixes security vulnerability [GHSA-xprv-wvh7-qqqx](https://github.com/parse-community/parse-server/security/advisories/GHSA-xprv-wvh7-qqqx ) (#8303 )
fix: Parse Server option `requestKeywordDenylist` can be bypassed via Cloud Code Webhooks or Triggers; fixes security vulnerability [GHSA-xprv-wvh7-qqqx](https://github.com/parse-community/parse-server/security/advisories/GHSA-xprv-wvh7-qqqx ) (#8302 )
refactor: Remote code execution via MongoDB BSON parser through prototype pollution; fixes security vulnerability [GHSA-prm5-8g2m-24gg](https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg ) (#8298 )
chore(release): 5.3.1 [skip ci]
fix: Remote code execution via MongoDB BSON parser through prototype pollution; fixes security vulnerability [GHSA-prm5-8g2m-24gg](https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg ) (#8295 )
2023-01-31 04:11:52 +01:00
Manuel
ab181ad1d6
refactor: Upgrade to latest Parse JS SDK dependency ( #8413 )
2023-01-31 04:04:49 +01:00
Manuel
9ed42d7fb5
docs: Consolidate LICENSE and PATENTS clauses into Apache 2.0 ( #8408 )
2023-01-31 01:02:05 +01:00
semantic-release-bot
8b97988f0d
chore(release): 6.0.0-alpha.30 [skip ci]
...
# [6.0.0-alpha.30](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.29...6.0.0-alpha.30 ) (2023-01-27)
### Bug Fixes
* Schema without class level permissions may cause error ([#8409 ](https://github.com/parse-community/parse-server/issues/8409 )) ([aa2cd51 ](aa2cd51b70 ))
2023-01-27 16:59:14 +00:00
Diamond Lewis
aa2cd51b70
fix: Schema without class level permissions may cause error ( #8409 )
2023-01-27 17:57:50 +01:00
Manuel
cf6966fa10
docs: Update README LTS references ( #8407 )
2023-01-26 15:00:28 +01:00
semantic-release-bot
fe2b5e4b7c
chore(release): 6.0.0-alpha.29 [skip ci]
...
# [6.0.0-alpha.29](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.28...6.0.0-alpha.29 ) (2023-01-26)
### Features
* Upgrade to Parse JavaScript SDK 4 ([#8332 ](https://github.com/parse-community/parse-server/issues/8332 )) ([9092874 ](9092874a9a ))
2023-01-26 09:50:08 +00:00
Daniel
9092874a9a
feat: Upgrade to Parse JavaScript SDK 4 ( #8332 )
2023-01-26 10:49:03 +01:00
semantic-release-bot
8adc054592
chore(release): 6.0.0-alpha.28 [skip ci]
...
# [6.0.0-alpha.28](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.27...6.0.0-alpha.28 ) (2023-01-25)
### Bug Fixes
* Rate limiter may reject requests that contain a session token ([#8399 ](https://github.com/parse-community/parse-server/issues/8399 )) ([c114dc8 ](c114dc8831 ))
2023-01-25 13:36:46 +00:00
Daniel
c114dc8831
fix: Rate limiter may reject requests that contain a session token ( #8399 )
2023-01-25 14:35:39 +01:00
Manuel
8f7a8f4c9d
docs: Remove migration docs of outdated versions ( #8403 )
2023-01-24 19:33:55 +01:00
semantic-release-bot
f7f5e7e203
chore(release): 6.0.0-alpha.27 [skip ci]
...
# [6.0.0-alpha.27](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.26...6.0.0-alpha.27 ) (2023-01-23)
### Bug Fixes
* `ParseServer.verifyServerUrl` may fail if server response headers are missing; remove unnecessary logging ([#8391 ](https://github.com/parse-community/parse-server/issues/8391 )) ([1c37a7c ](1c37a7cd07 ))
2023-01-23 19:41:07 +00:00
Daniel
1c37a7cd07
fix: ParseServer.verifyServerUrl may fail if server response headers are missing; remove unnecessary logging ( #8391 )
2023-01-23 20:39:48 +01:00
semantic-release-bot
5a35e6ff0d
chore(release): 6.0.0-alpha.26 [skip ci]
...
# [6.0.0-alpha.26](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.25...6.0.0-alpha.26 ) (2023-01-20)
### Bug Fixes
* ES6 modules do not await the import of Cloud Code files ([#8368 ](https://github.com/parse-community/parse-server/issues/8368 )) ([a7bd180 ](a7bd180cdd ))
2023-01-20 15:41:26 +00:00
Daniel
a7bd180cdd
fix: ES6 modules do not await the import of Cloud Code files ( #8368 )
2023-01-20 16:40:09 +01:00
semantic-release-bot
eb0311b570
chore(release): 6.0.0-alpha.25 [skip ci]
...
# [6.0.0-alpha.25](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.24...6.0.0-alpha.25 ) (2023-01-16)
### Features
* Add `ParseQuery.watch` to trigger LiveQuery only on update of specific fields ([#8028 ](https://github.com/parse-community/parse-server/issues/8028 )) ([fc92faa ](fc92faac75 ))
2023-01-16 11:33:27 +00:00
Daniel
fc92faac75
feat: Add ParseQuery.watch to trigger LiveQuery only on update of specific fields ( #8028 )
2023-01-16 12:32:22 +01:00
semantic-release-bot
62b3426b14
chore(release): 6.0.0-alpha.24 [skip ci]
...
# [6.0.0-alpha.24](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.23...6.0.0-alpha.24 ) (2023-01-09)
### Features
* Reduce Docker image size by improving stages ([#8359 ](https://github.com/parse-community/parse-server/issues/8359 )) ([40810b4 ](40810b48eb ))
### BREAKING CHANGES
* The Docker image does not contain the git dependency anymore; if you have been using git as a transitive dependency it now needs to be explicitly installed in your Docker file, for example with `RUN apk --no-cache add git` (#8359 ) ([40810b4 ](40810b4 ))
2023-01-09 18:27:16 +00:00
Corey
40810b48eb
feat: Reduce Docker image size by improving stages ( #8359 )
...
BREAKING CHANGE: The Docker image does not contain the git dependency anymore; if you have been using git as a transitive dependency it now needs to be explicitly installed in your Docker file, for example with `RUN apk --no-cache add git` (#8359 )
2023-01-09 18:26:03 +00:00
Manuel
bd82d8ede1
ci: Fix Node 14 git protocol in workflow ( #8381 )
2023-01-09 09:54:11 +01:00
semantic-release-bot
9d461df0c0
chore(release): 6.0.0-alpha.23 [skip ci]
...
# [6.0.0-alpha.23](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.22...6.0.0-alpha.23 ) (2023-01-08)
### Features
* Access the internal scope of Parse Server using the new `maintenanceKey`; the internal scope contains unofficial and undocumented fields (prefixed with underscore `_`) which are used internally by Parse Server; you may want to manipulate these fields for out-of-band changes such as data migration or correction tasks; changes within the internal scope of Parse Server may happen at any time without notice or changelog entry, it is therefore recommended to look at the source code of Parse Server to understand the effects of manipulating internal fields before using the key; it is discouraged to use the `maintenanceKey` for routine operations in a production environment; see [access scopes](https://github.com/parse-community/parse-server#access-scopes ) ([#8212 ](https://github.com/parse-community/parse-server/issues/8212 )) ([f3bcc93 ](f3bcc9365c ))
### BREAKING CHANGES
* Fields in the internal scope of Parse Server (prefixed with underscore `_`) are only returned using the new `maintenanceKey`; previously the `masterKey` allowed reading of internal fields; see [access scopes](https://github.com/parse-community/parse-server#access-scopes ) for a comparison of the keys' access permissions (#8212 ) ([f3bcc93 ](f3bcc93 ))
2023-01-08 21:04:17 +00:00
Daniel
f3bcc9365c
feat: Access the internal scope of Parse Server using the new maintenanceKey; the internal scope contains unofficial and undocumented fields (prefixed with underscore _) which are used internally by Parse Server; you may want to manipulate these fields for out-of-band changes such as data migration or correction tasks; changes within the internal scope of Parse Server may happen at any time without notice or changelog entry, it is therefore recommended to look at the source code of Parse Server to understand the effects of manipulating internal fields before using the key; it is discouraged to use the maintenanceKey for routine operations in a production environment; see [access scopes]( https://github.com/parse-community/parse-server#access-scopes ) ( #8212 )
...
BREAKING CHANGE: Fields in the internal scope of Parse Server (prefixed with underscore `_`) are only returned using the new `maintenanceKey`; previously the `masterKey` allowed reading of internal fields; see [access scopes](https://github.com/parse-community/parse-server#access-scopes ) for a comparison of the keys' access permissions (#8212 )
2023-01-08 22:02:12 +01:00
semantic-release-bot
3d57072c1f
chore(release): 6.0.0-alpha.22 [skip ci]
...
# [6.0.0-alpha.22](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.21...6.0.0-alpha.22 ) (2023-01-08)
### Features
* Adapt `verifyServerUrl` for new asynchronous Parse Server start-up states ([#8366 ](https://github.com/parse-community/parse-server/issues/8366 )) ([ffa4974 ](ffa4974158 ))
### BREAKING CHANGES
* The method `ParseServer.verifyServerUrl` now returns a promise instead of a callback. ([ffa4974 ](ffa4974 ))
2023-01-08 17:23:57 +00:00
Daniel
ffa4974158
feat: Adapt verifyServerUrl for new asynchronous Parse Server start-up states ( #8366 )
...
BREAKING CHANGE: The method `ParseServer.verifyServerUrl` now returns a promise instead of a callback.
2023-01-08 18:23:01 +01:00
semantic-release-bot
76c7a6fbd0
chore(release): 6.0.0-alpha.21 [skip ci]
...
# [6.0.0-alpha.21](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.20...6.0.0-alpha.21 ) (2023-01-06)
### Features
* Add request rate limiter based on IP address ([#8174 ](https://github.com/parse-community/parse-server/issues/8174 )) ([6c79f6a ](6c79f6a69e ))
2023-01-06 12:40:11 +00:00
Daniel
6c79f6a69e
feat: Add request rate limiter based on IP address ( #8174 )
2023-01-06 13:39:02 +01:00
semantic-release-bot
0eac5dc6d4
chore(release): 6.0.0-alpha.20 [skip ci]
...
# [6.0.0-alpha.20](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.19...6.0.0-alpha.20 ) (2023-01-06)
### Features
* Add Node 19 support ([#8363 ](https://github.com/parse-community/parse-server/issues/8363 )) ([a4990dc ](a4990dcd29 ))
2023-01-06 11:38:20 +00:00