Skip to content

feat: Add Parse.Query option useMaintenanceKey #2484

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 8 commits into from
Mar 10, 2025

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Mar 6, 2025

Pull Request

Issue

The maintenanceKey has been introduced in Parse Server and can be used via REST API to access internal fields, but not via the Parse JS SDK.

Closes: #2392

Approach

Needs a server side update to work

  • Same usage as useMasterKey

Tasks

  • Add tests
  • Add changes to documentation (guides, repository pages, code comments)

Copy link

parse-github-assistant bot commented Mar 6, 2025

🚀 Thanks for opening this pull request!

Copy link

codecov bot commented Mar 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (e6dc1b5) to head (2b08ec6).
Report is 25 commits behind head on alpha.

Additional details and impacted files
@@            Coverage Diff            @@
##             alpha     #2484   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           64        64           
  Lines         6259      6268    +9     
  Branches      1466      1456   -10     
=========================================
+ Hits          6259      6268    +9     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dplewis dplewis requested review from dblythy and a team March 6, 2025 19:16
@mtrezza
Copy link
Member

mtrezza commented Mar 8, 2025

Needs a server side update to work

How come all checks pass? Is this not part of the integration tests then?

@dplewis
Copy link
Member Author

dplewis commented Mar 9, 2025

Just unit tests no integration. The server needs to be update to accept the payload.

Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, just the conflicts....

@dplewis
Copy link
Member Author

dplewis commented Mar 9, 2025

@mtrezza Conflicts resolved

@mtrezza mtrezza changed the title feat: Add useMaintenanceKey to query options feat: Add Parse.Query option useMaintenanceKey Mar 10, 2025
@mtrezza mtrezza merged commit 2ead3f3 into parse-community:alpha Mar 10, 2025
12 checks passed
parseplatformorg pushed a commit that referenced this pull request Mar 10, 2025
# [6.1.0-alpha.2](6.1.0-alpha.1...6.1.0-alpha.2) (2025-03-10)

### Features

* Add `Parse.Query` option `useMaintenanceKey` ([#2484](#2484)) ([2ead3f3](2ead3f3))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.1.0-alpha.2

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Mar 10, 2025
parseplatformorg pushed a commit that referenced this pull request Mar 17, 2025
# [6.1.0](6.0.0...6.1.0) (2025-03-17)

### Features

* Add `Parse.Query` option `useMaintenanceKey` ([#2484](#2484)) ([2ead3f3](2ead3f3))
* Allow `Parse.Object` field names to begin with underscore `_` to access internal fields of Parse Server ([#2475](#2475)) ([08e43ba](08e43ba))
* Publish TypeScript definitions ([#2491](#2491)) ([fc3e573](fc3e573))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.1.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Mar 17, 2025
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add useMaintenanceKey to query options
3 participants