Skip to content

build: Release #9034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 140 commits into from
Mar 19, 2024
Merged

build: Release #9034

merged 140 commits into from
Mar 19, 2024

Conversation

mtrezza
Copy link
Member

@mtrezza mtrezza commented Mar 19, 2024

No description provided.

dplewis and others added 30 commits September 20, 2023 10:47
# [6.4.0-alpha.1](parse-community/parse-server@6.3.0...6.4.0-alpha.1) (2023-09-20)

### Bug Fixes

* Parse Server option `fileUpload.fileExtensions` does not work with an array of extensions ([parse-community#8688](parse-community#8688)) ([6a4a00c](parse-community@6a4a00c))
* Redis 4 does not reconnect after unhandled error ([parse-community#8706](parse-community#8706)) ([2b3d4e5](parse-community@2b3d4e5))
* Remove config logging when launching Parse Server via CLI ([parse-community#8710](parse-community#8710)) ([ae68f0c](parse-community@ae68f0c))
* Server does not start via CLI when `auth` option is set ([parse-community#8666](parse-community#8666)) ([4e2000b](parse-community@4e2000b))

### Features

* Add conditional email verification via dynamic Parse Server options `verifyUserEmails`, `sendUserEmailVerification` that now accept functions ([parse-community#8425](parse-community#8425)) ([44acd6d](parse-community@44acd6d))
* Add context to Cloud Code Triggers `beforeLogin` and `afterLogin` ([parse-community#8724](parse-community#8724)) ([a9c34ef](parse-community@a9c34ef))
* Add property `Parse.Server.version` to determine current version of Parse Server in Cloud Code ([parse-community#8670](parse-community#8670)) ([a9d376b](parse-community@a9d376b))
* Add TOTP authentication adapter ([parse-community#8457](parse-community#8457)) ([cc079a4](parse-community@cc079a4))

### Performance Improvements

* Improve performance of recursive pointer iterations ([parse-community#8741](parse-community#8741)) ([45a3ed0](parse-community@45a3ed0))
# [6.4.0-alpha.3](parse-community/parse-server@6.4.0-alpha.2...6.4.0-alpha.3) (2023-09-23)

### Bug Fixes

* Parse Server option `fileUpload.fileExtensions` fails to determine file extension if filename contains multiple dots ([parse-community#8754](parse-community#8754)) ([3d6d50e](parse-community@3d6d50e))
# [6.4.0-alpha.4](parse-community/parse-server@6.4.0-alpha.3...6.4.0-alpha.4) (2023-09-29)

### Features

* Allow setting `createdAt` and `updatedAt` during `Parse.Object` creation with maintenance key ([parse-community#8696](parse-community#8696)) ([77bbfb3](parse-community@77bbfb3))
# [6.4.0-alpha.5](parse-community/parse-server@6.4.0-alpha.4...6.4.0-alpha.5) (2023-10-14)

### Bug Fixes

* Context not passed to Cloud Code Trigger `beforeFind` when using `Parse.Query.include` ([parse-community#8765](parse-community#8765)) ([7d32d89](parse-community@7d32d89))
# [6.4.0-alpha.6](parse-community/parse-server@6.4.0-alpha.5...6.4.0-alpha.6) (2023-10-18)

### Bug Fixes

* Security bump @babel/traverse from 7.20.5 to 7.23.2 ([parse-community#8777](parse-community#8777)) ([2d6b3d1](parse-community@2d6b3d1))
# [6.4.0-alpha.7](parse-community/parse-server@6.4.0-alpha.6...6.4.0-alpha.7) (2023-10-25)

### Features

* Add `$setOnInsert` operator to `Parse.Server.database.update` ([parse-community#8791](parse-community#8791)) ([f630a45](parse-community@f630a45))
…ocumentDB with collation options `enableCollationCaseComparison`, `transformEmailToLowercase`, `transformUsernameToLowercase` (parse-community#8805)
# [6.4.0-alpha.8](parse-community/parse-server@6.4.0-alpha.7...6.4.0-alpha.8) (2023-11-13)

### Features

* Add compatibility for MongoDB Atlas Serverless and AWS Amazon DocumentDB with collation options `enableCollationCaseComparison`, `transformEmailToLowercase`, `transformUsernameToLowercase` ([parse-community#8805](parse-community#8805)) ([09fbeeb](parse-community@09fbeeb))
* beta:
  chore(release): 6.4.0 [skip ci]
  release
  refactor: Server crash when uploading file without extension; fixes security vulnerability [GHSA-792q-q67h-w579](GHSA-792q-q67h-w579) (parse-community#8780)
  chore(release): 6.3.1 [skip ci]
  fix: Server crash when uploading file without extension; fixes security vulnerability [GHSA-792q-q67h-w579](GHSA-792q-q67h-w579) (parse-community#8781)
# [6.5.0-beta.1](parse-community/parse-server@6.4.0...6.5.0-beta.1) (2023-11-16)

### Bug Fixes

* Context not passed to Cloud Code Trigger `beforeFind` when using `Parse.Query.include` ([parse-community#8765](parse-community#8765)) ([7d32d89](parse-community@7d32d89))
* Parse Server option `fileUpload.fileExtensions` fails to determine file extension if filename contains multiple dots ([parse-community#8754](parse-community#8754)) ([3d6d50e](parse-community@3d6d50e))
* Security bump @babel/traverse from 7.20.5 to 7.23.2 ([parse-community#8777](parse-community#8777)) ([2d6b3d1](parse-community@2d6b3d1))
* Security upgrade graphql from 16.6.0 to 16.8.1 ([parse-community#8758](parse-community#8758)) ([71dfd8a](parse-community@71dfd8a))

### Features

* Add `$setOnInsert` operator to `Parse.Server.database.update` ([parse-community#8791](parse-community#8791)) ([f630a45](parse-community@f630a45))
* Add compatibility for MongoDB Atlas Serverless and AWS Amazon DocumentDB with collation options `enableCollationCaseComparison`, `transformEmailToLowercase`, `transformUsernameToLowercase` ([parse-community#8805](parse-community#8805)) ([09fbeeb](parse-community@09fbeeb))
* Add context to Cloud Code Triggers `beforeLogin` and `afterLogin` ([parse-community#8724](parse-community#8724)) ([a9c34ef](parse-community@a9c34ef))
* Allow setting `createdAt` and `updatedAt` during `Parse.Object` creation with maintenance key ([parse-community#8696](parse-community#8696)) ([77bbfb3](parse-community@77bbfb3))
# [6.5.0-alpha.1](parse-community/parse-server@6.4.0...6.5.0-alpha.1) (2023-11-18)

### Bug Fixes

* Context not passed to Cloud Code Trigger `beforeFind` when using `Parse.Query.include` ([parse-community#8765](parse-community#8765)) ([7d32d89](parse-community@7d32d89))
* Parse Server option `fileUpload.fileExtensions` fails to determine file extension if filename contains multiple dots ([parse-community#8754](parse-community#8754)) ([3d6d50e](parse-community@3d6d50e))
* Security bump @babel/traverse from 7.20.5 to 7.23.2 ([parse-community#8777](parse-community#8777)) ([2d6b3d1](parse-community@2d6b3d1))
* Security upgrade graphql from 16.6.0 to 16.8.1 ([parse-community#8758](parse-community#8758)) ([71dfd8a](parse-community@71dfd8a))

### Features

* Add `$setOnInsert` operator to `Parse.Server.database.update` ([parse-community#8791](parse-community#8791)) ([f630a45](parse-community@f630a45))
* Add compatibility for MongoDB Atlas Serverless and AWS Amazon DocumentDB with collation options `enableCollationCaseComparison`, `transformEmailToLowercase`, `transformUsernameToLowercase` ([parse-community#8805](parse-community#8805)) ([09fbeeb](parse-community@09fbeeb))
* Add context to Cloud Code Triggers `beforeLogin` and `afterLogin` ([parse-community#8724](parse-community#8724)) ([a9c34ef](parse-community@a9c34ef))
* Allow setting `createdAt` and `updatedAt` during `Parse.Object` creation with maintenance key ([parse-community#8696](parse-community#8696)) ([77bbfb3](parse-community@77bbfb3))
* Upgrade Parse Server Push Adapter to 5.0.2 ([parse-community#8813](parse-community#8813)) ([6ef1986](parse-community@6ef1986))
# [6.5.0-alpha.2](parse-community/parse-server@6.5.0-alpha.1...6.5.0-alpha.2) (2023-11-19)

### Performance Improvements

* Improved IP validation performance for `masterKeyIPs`, `maintenanceKeyIPs` ([parse-community#8510](parse-community#8510)) ([b87daba](parse-community@b87daba))
dependabot bot and others added 21 commits March 9, 2024 14:42
…extensions that are less than 3 or more than 4 characters long (parse-community#8699)
# [7.0.0-alpha.26](parse-community/parse-server@7.0.0-alpha.25...7.0.0-alpha.26) (2024-03-10)

### Bug Fixes

* Parse Server option `fileExtensions` default value rejects file extensions that are less than 3 or more than 4 characters long ([parse-community#8699](parse-community#8699)) ([2760381](parse-community@2760381))
# [7.0.0-alpha.27](parse-community/parse-server@7.0.0-alpha.26...7.0.0-alpha.27) (2024-03-15)

### Bug Fixes

* CacheAdapter does not connect when using a CacheAdapter with a JSON config ([parse-community#8633](parse-community#8633)) ([720d24e](parse-community@720d24e))
# [7.0.0-alpha.29](parse-community/parse-server@7.0.0-alpha.28...7.0.0-alpha.29) (2024-03-19)

### Bug Fixes

* Server crashes on invalid Cloud Function or Cloud Job name; fixes security vulnerability [GHSA-6hh7-46r2-vf29](GHSA-6hh7-46r2-vf29) ([parse-community#9024](parse-community#9024)) ([9f6e342](parse-community@9f6e342))
# [7.0.0-beta.1](parse-community/parse-server@6.5.0-beta.1...7.0.0-beta.1) (2024-03-19)

### Bug Fixes

* CacheAdapter does not connect when using a CacheAdapter with a JSON config ([parse-community#8633](parse-community#8633)) ([720d24e](parse-community@720d24e))
* Conditional email verification not working in some cases if `verifyUserEmails`, `preventLoginWithUnverifiedEmail` set to functions ([parse-community#8838](parse-community#8838)) ([8e7a6b1](parse-community@8e7a6b1))
* Deny request if master key is not set in Parse Server option `masterKeyIps` regardless of ACL and CLP ([parse-community#8957](parse-community#8957)) ([a7b5b38](parse-community@a7b5b38))
* Docker image not published to Docker Hub on new release ([parse-community#8905](parse-community#8905)) ([a2ac8d1](parse-community@a2ac8d1))
* Docker version releases by removing arm/v6 and arm/v7 support ([parse-community#8976](parse-community#8976)) ([1f62dd0](parse-community@1f62dd0))
* GraphQL file upload fails in case of use of pointer or relation ([parse-community#8721](parse-community#8721)) ([1aba638](parse-community@1aba638))
* Improve PostgreSQL injection detection; fixes security vulnerability [GHSA-6927-3vr9-fxf2](GHSA-6927-3vr9-fxf2) which affects Parse Server deployments using a Postgres database ([parse-community#8961](parse-community#8961)) ([cbefe77](parse-community@cbefe77))
* Incomplete user object in `verifyEmail` function if both username and email are changed ([parse-community#8889](parse-community#8889)) ([1eb95ae](parse-community@1eb95ae))
* Parse Server option `emailVerifyTokenReuseIfValid: true` generates new token on every email verification request ([parse-community#8885](parse-community#8885)) ([0023ce4](parse-community@0023ce4))
* Parse Server option `fileExtensions` default value rejects file extensions that are less than 3 or more than 4 characters long ([parse-community#8699](parse-community#8699)) ([2760381](parse-community@2760381))
* Server crashes on invalid Cloud Function or Cloud Job name; fixes security vulnerability [GHSA-6hh7-46r2-vf29](GHSA-6hh7-46r2-vf29) ([parse-community#9024](parse-community#9024)) ([9f6e342](parse-community@9f6e342))
* Server crashes when receiving an array of `Parse.Pointer` in the request body ([parse-community#8784](parse-community#8784)) ([66e3603](parse-community@66e3603))
* Username is `undefined` in email verification link on email change ([parse-community#8887](parse-community#8887)) ([e315c13](parse-community@e315c13))

### Features

* Add `installationId` to arguments for `verifyUserEmails`, `preventLoginWithUnverifiedEmail` ([parse-community#8836](parse-community#8836)) ([a22dbe1](parse-community@a22dbe1))
* Add `installationId`, `ip`, `resendRequest` to arguments passed to `verifyUserEmails` on verification email request ([parse-community#8873](parse-community#8873)) ([8adcbee](parse-community@8adcbee))
* Add `Parse.User` as function parameter to Parse Server options `verifyUserEmails`, `preventLoginWithUnverifiedEmail` on login ([parse-community#8850](parse-community#8850)) ([972f630](parse-community@972f630))
* Add password validation via POST request for user with unverified email using master key and option `ignoreEmailVerification` ([parse-community#8895](parse-community#8895)) ([633a9d2](parse-community@633a9d2))
* Add support for MongoDB 7 ([parse-community#8761](parse-community#8761)) ([3de8494](parse-community@3de8494))
* Add support for MongoDB query comment ([parse-community#8928](parse-community#8928)) ([2170962](parse-community@2170962))
* Add support for Node 20, drop support for Node 14, 16 ([parse-community#8907](parse-community#8907)) ([ced4872](parse-community@ced4872))
* Add support for Postgres 16 ([parse-community#8898](parse-community#8898)) ([99489b2](parse-community@99489b2))
* Allow `Parse.Session.current` on expired session token instead of throwing error ([parse-community#8722](parse-community#8722)) ([f9dde4a](parse-community@f9dde4a))
* Deprecation DEPPS5: Config option `allowClientClassCreation` defaults to `false` ([parse-community#8849](parse-community#8849)) ([29624e0](parse-community@29624e0))
* Deprecation DEPPS6: Authentication adapters disabled by default ([parse-community#8858](parse-community#8858)) ([0cf58eb](parse-community@0cf58eb))
* Deprecation DEPPS7: Remove deprecated Cloud Code file trigger syntax ([parse-community#8855](parse-community#8855)) ([4e6a375](parse-community@4e6a375))
* Deprecation DEPPS8:  Parse Server option `allowExpiredAuthDataToken` defaults to `false` ([parse-community#8860](parse-community#8860)) ([e29845f](parse-community@e29845f))
* Deprecation DEPPS9: LiveQuery `fields` option is renamed to `keys` ([parse-community#8852](parse-community#8852)) ([38983e8](parse-community@38983e8))
* Node process exits with error code 1 on uncaught exception to allow custom uncaught exception handling ([parse-community#8894](parse-community#8894)) ([70c280c](parse-community@70c280c))
* Switch GraphQL server from Yoga v2 to Apollo v4 ([parse-community#8959](parse-community#8959)) ([105ae7c](parse-community@105ae7c))
* Upgrade Parse Server Push Adapter to 5.0.2 ([parse-community#8813](parse-community#8813)) ([6ef1986](parse-community@6ef1986))
* Upgrade to Parse JS SDK 5 ([parse-community#9022](parse-community#9022)) ([ad4aa83](parse-community@ad4aa83))

### Performance Improvements

* Improved IP validation performance for `masterKeyIPs`, `maintenanceKeyIPs` ([parse-community#8510](parse-community#8510)) ([b87daba](parse-community@b87daba))

### BREAKING CHANGES

* The Parse Server option `allowClientClassCreation` defaults to `false`. ([29624e0](29624e0))
* A request using the master key will now be rejected as unauthorized if the IP from which the request originates is not set in the Parse Server option `masterKeyIps`, even if the request does not require the master key permission, for example for a public object in a public class class. ([a7b5b38](a7b5b38))
* Node process now exits with code 1 on uncaught exceptions, enabling custom handlers that were blocked by Parse Server's default behavior of re-throwing errors. This change may lead to automatic process restarts by the environment, unlike before. ([70c280c](70c280c))
* Authentication adapters are disabled by default; to use an authentication adapter it needs to be explicitly enabled in the Parse Server authentication adapter option `auth.<provider>.enabled: true` ([0cf58eb](0cf58eb))
* Parse Server option `allowExpiredAuthDataToken` defaults to `false`; a 3rd party authentication token will be validated every time the user tries to log in and the login will fail if the token has expired; the effect of this change may differ for different authentication adapters, depending on the token lifetime and the token refresh logic of the adapter ([e29845f](e29845f))
* LiveQuery `fields` option is renamed to `keys` ([38983e8](38983e8))
* Cloud Code file trigger syntax has been aligned with object trigger syntax, for example `Parse.Cloud.beforeDeleteFile'` has been changed to `Parse.Cloud.beforeDelete(Parse.File, (request) => {})'` ([4e6a375](4e6a375))
* Removes support for Node 14 and 16 ([ced4872](ced4872))
* Removes support for Postgres 11 and 12 ([99489b2](99489b2))
* 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))
* `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))
* `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))
Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title build: release build: Release Mar 19, 2024
Copy link

Thanks for opening this pull request!

  • ❌ Please link an issue that describes the reason for this pull request, otherwise your pull request will be closed. Make sure to write it as Closes: #123 in the PR description, so I can recognize it.

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

Attention: Patch coverage is 91.86047% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 94.15%. Comparing base (ac42002) to head (60cf2dd).
Report is 2 commits behind head on release.

Files Patch % Lines
src/Controllers/DatabaseController.js 71.42% 6 Missing ⚠️
src/GraphQL/loaders/filesMutations.js 88.88% 3 Missing ⚠️
src/Routers/AggregateRouter.js 33.33% 2 Missing ⚠️
src/triggers.js 71.42% 2 Missing ⚠️
src/Adapters/Storage/Mongo/MongoTransform.js 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           release    #9034      +/-   ##
===========================================
- Coverage    94.31%   94.15%   -0.17%     
===========================================
  Files          186      186              
  Lines        14770    14681      -89     
===========================================
- Hits         13931    13823     -108     
- Misses         839      858      +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mtrezza mtrezza merged commit 4c74b2b into parse-community:release Mar 19, 2024
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 7.0.0

@mtrezza mtrezza deleted the build-release branch March 19, 2024 20:50
@parseplatformorg parseplatformorg added the state:released Released as stable version label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version
Projects
None yet
Development

Successfully merging this pull request may close these issues.