Skip to content
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

refactor: Add option to convert Parse.Object to instance in Cloud Function payload #8656

Merged
merged 17 commits into from
Jun 23, 2023

Conversation

mtrezza
Copy link
Member

@mtrezza mtrezza commented Jun 23, 2023

Pull Request

Issue

Closes: #8634

mtrezza and others added 17 commits June 18, 2023 03:19
# [6.3.0-alpha.1](parse-community/parse-server@6.2.0...6.3.0-alpha.1) (2023-06-18)

### Bug Fixes

* Cloud Code Trigger `afterSave` executes even if not set ([parse-community#8520](parse-community#8520)) ([afd0515](parse-community@afd0515))
* GridFS file storage doesn't work with certain `enableSchemaHooks` settings ([parse-community#8467](parse-community#8467)) ([d4cda4b](parse-community@d4cda4b))
* Inaccurate table total row count for PostgreSQL ([parse-community#8511](parse-community#8511)) ([0823a02](parse-community@0823a02))
* LiveQuery server is not shut down properly when `handleShutdown` is called ([parse-community#8491](parse-community#8491)) ([967700b](parse-community@967700b))
* Rate limit feature is incompatible with Node 14 ([parse-community#8578](parse-community#8578)) ([f911f2c](parse-community@f911f2c))
* Unnecessary log entries by `extendSessionOnUse` ([parse-community#8562](parse-community#8562)) ([fd6a007](parse-community@fd6a007))

### Features

* `extendSessionOnUse` to automatically renew Parse Sessions ([parse-community#8505](parse-community#8505)) ([6f885d3](parse-community@6f885d3))
* Add new Parse Server option `preventSignupWithUnverifiedEmail` to prevent returning a user without session token on sign-up with unverified email address ([parse-community#8451](parse-community#8451)) ([82da308](parse-community@82da308))
* Add option to change the log level of logs emitted by Cloud Functions ([parse-community#8530](parse-community#8530)) ([2caea31](parse-community@2caea31))
* Add support for `$eq` query constraint in LiveQuery ([parse-community#8614](parse-community#8614)) ([656d673](parse-community@656d673))
* Add zones for rate limiting by `ip`, `user`, `session`, `global` ([parse-community#8508](parse-community#8508)) ([03fba97](parse-community@03fba97))
* Allow `Parse.Object` pointers in Cloud Code arguments ([parse-community#8490](parse-community#8490)) ([28aeda3](parse-community@28aeda3))

### Reverts

* fix: Inaccurate table total row count for PostgreSQL ([6722110](parse-community@6722110))
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
…ions `verifyUserEmails`, `sendUserEmailVerification` that now accept functions (parse-community#8425)
# [6.3.0-alpha.2](parse-community/parse-server@6.3.0-alpha.1...6.3.0-alpha.2) (2023-06-20)

### 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))
Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>
Signed-off-by: Daniel <daniel-blyth@live.com.au>
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
@parse-github-assistant
Copy link

Thanks for opening this pull request!

@codecov
Copy link

codecov bot commented Jun 23, 2023

Codecov Report

Patch coverage: 97.87% and project coverage change: +0.03 🎉

Comparison is base (3d58dfe) 94.42% compared to head (1ca984e) 94.46%.

❗ Current head 1ca984e differs from pull request most recent head 101ff16. Consider uploading reports for the commit 101ff16 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             beta    #8656      +/-   ##
==========================================
+ Coverage   94.42%   94.46%   +0.03%     
==========================================
  Files         184      184              
  Lines       14613    14635      +22     
==========================================
+ Hits        13799    13825      +26     
+ Misses        814      810       -4     
Impacted Files Coverage Δ
src/Deprecator/Deprecations.js 100.00% <ø> (ø)
src/Options/Definitions.js 100.00% <ø> (ø)
src/Options/index.js 100.00% <ø> (ø)
...dapters/Storage/Postgres/PostgresStorageAdapter.js 95.74% <83.33%> (ø)
src/Controllers/UserController.js 95.91% <97.14%> (-0.24%) ⬇️
src/Adapters/Files/GridFSBucketAdapter.js 96.96% <100.00%> (+1.93%) ⬆️
src/Config.js 91.27% <100.00%> (ø)
src/RestWrite.js 95.05% <100.00%> (+0.09%) ⬆️
src/Routers/FunctionsRouter.js 94.36% <100.00%> (ø)
src/Routers/PagesRouter.js 97.71% <100.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mtrezza mtrezza merged commit e212eb5 into parse-community:beta Jun 23, 2023
@mtrezza mtrezza deleted the pr8646_beta branch June 23, 2023 14:29
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.3.0-alpha.3

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Jun 23, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.3.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Sep 16, 2023
mtrezza added a commit to mtrezza/parse-server that referenced this pull request Sep 16, 2023
* beta:
  chore(release): 6.3.0 [skip ci]
  release
  refactor: Parse Pointer allows to access internal Parse Server classes and circumvent `beforeFind` query trigger (parse-community#8734)
  chore(release): 6.2.2 [skip ci]
  fix: Parse Pointer allows to access internal Parse Server classes and circumvent `beforeFind` query trigger; fixes security vulnerability [GHSA-fcv6-fg5r-jm9q](GHSA-fcv6-fg5r-jm9q)
  refactor: Remote code execution via MongoDB BSON parser through prototype pollution; fixes security vulnerability [GHSA-462x-c3jw-7vr6](GHSA-462x-c3jw-7vr6) (parse-community#8677)
  chore(release): 6.2.1 [skip ci]
  fix: Remote code execution via MongoDB BSON parser through prototype pollution; fixes security vulnerability [GHSA-462x-c3jw-7vr6](GHSA-462x-c3jw-7vr6) (parse-community#8674)
  refactor: Add option to convert `Parse.Object` to instance in Cloud Function payload (parse-community#8656)
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.4.0-beta.1

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Sep 16, 2023
ashish-naik added a commit to ashish-naik/parse-server-FB-signup-error206 that referenced this pull request Sep 19, 2023
* commit 'b1e1bf6708f5d32b2846e66de40f48fb0ec1dc86':
  chore(release): 6.4.0-beta.1 [skip ci]
  release
  chore(release): 6.3.0 [skip ci]
  release
  chore(release): 6.3.0-alpha.9 [skip ci]
  perf: Improve performance of recursive pointer iterations (parse-community#8741)
  refactor: Parse Pointer allows to access internal Parse Server classes and circumvent `beforeFind` query trigger (parse-community#8734)
  chore(release): 6.2.2 [skip ci]
  fix: Parse Pointer allows to access internal Parse Server classes and circumvent `beforeFind` query trigger; fixes security vulnerability [GHSA-fcv6-fg5r-jm9q](GHSA-fcv6-fg5r-jm9q)
  refactor: Remote code execution via MongoDB BSON parser through prototype pollution; fixes security vulnerability [GHSA-462x-c3jw-7vr6](GHSA-462x-c3jw-7vr6) (parse-community#8677)
  chore(release): 6.2.1 [skip ci]
  fix: Remote code execution via MongoDB BSON parser through prototype pollution; fixes security vulnerability [GHSA-462x-c3jw-7vr6](GHSA-462x-c3jw-7vr6) (parse-community#8674)
  refactor: Add option to convert `Parse.Object` to instance in Cloud Function payload (parse-community#8656)
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.4.0-alpha.1

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.4.0

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 state:released-alpha Released as alpha version state:released-beta Released as beta version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants