Skip to content

perf: Upgrade to mongodb 7.1.0#10087

Merged
mtrezza merged 1 commit intoparse-community:alphafrom
mtrezza:feat/mongodb-7.1.0
Mar 3, 2026
Merged

perf: Upgrade to mongodb 7.1.0#10087
mtrezza merged 1 commit intoparse-community:alphafrom
mtrezza:feat/mongodb-7.1.0

Conversation

@mtrezza
Copy link
Member

@mtrezza mtrezza commented Mar 3, 2026

Pull Request

Issue

Upgrade to mongodb 7.1.0

Tasks

  • Add tests
  • Add changes to documentation (guides, repository pages, code comments)
  • Add security check
  • Add new Parse Error codes to Parse JS SDK

Summary by CodeRabbit

  • Chores
    • Updated MongoDB dependency to the latest version.

@parse-github-assistant
Copy link

🚀 Thanks for opening this pull request!

@parseplatformorg
Copy link
Contributor

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@coderabbitai
Copy link

coderabbitai bot commented Mar 3, 2026

📝 Walkthrough

Walkthrough

MongoDB dependency in package.json is updated from version 7.0.0 to 7.1.0, representing a minor version upgrade.

Changes

Cohort / File(s) Summary
Dependency Update
package.json
MongoDB dependency bumped from 7.0.0 to 7.1.0

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The description follows the template structure but is incomplete; it lacks an 'Approach' section explaining the changes and all tasks remain unchecked. Add an 'Approach' section describing what the upgrade entails and clarify which tasks apply to this dependency bump.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'perf: Upgrade to mongodb 7.1.0' directly reflects the main change—updating the mongodb dependency from 7.0.0 to 7.1.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 48: Ensure package-lock.json is updated to lock mongodb@7.1.0: after
changing "mongodb": "7.1.0" in package.json, run npm install or npm ci to
regenerate/refresh package-lock.json and verify the lockfile contains the exact
version 7.1.0 for the package named "mongodb" (search for the package entry in
package-lock.json) so CI and npm ci will consistently resolve to 7.1.0.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f69a7f5 and 3fa580a.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.61%. Comparing base (8f17397) to head (3fa580a).
⚠️ Report is 8 commits behind head on alpha.

Additional details and impacted files
@@           Coverage Diff           @@
##            alpha   #10087   +/-   ##
=======================================
  Coverage   92.61%   92.61%           
=======================================
  Files         191      191           
  Lines       15776    15776           
  Branches      180      180           
=======================================
  Hits        14611    14611           
  Misses       1153     1153           
  Partials       12       12           

☔ 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.

@mtrezza mtrezza merged commit bebf2fd into parse-community:alpha Mar 3, 2026
24 checks passed
parseplatformorg pushed a commit that referenced this pull request Mar 3, 2026
## [9.4.1-alpha.2](9.4.1-alpha.1...9.4.1-alpha.2) (2026-03-03)

### Performance Improvements

* Upgrade to mongodb 7.1.0 ([#10087](#10087)) ([bebf2fd](bebf2fd))
@parseplatformorg
Copy link
Contributor

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

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Mar 3, 2026
@mtrezza mtrezza deleted the feat/mongodb-7.1.0 branch March 3, 2026 13:58
parseplatformorg pushed a commit that referenced this pull request Mar 4, 2026
## [9.4.1](9.4.0...9.4.1) (2026-03-04)

### Bug Fixes

* Cloud Hooks and Cloud Jobs bypass `readOnlyMasterKey` write restriction ([GHSA-vc89-5g3r-cmhh](https://github.com/parse-community/parse-server/security/advisories/GHSA-vc89-5g3r-cmhh)) ([#10088](#10088)) ([9a3dd4d](9a3dd4d))
* MongoDB default batch size changed from 1000 to 100 without announcement ([#10085](#10085)) ([8f17397](8f17397))

### Performance Improvements

* Upgrade to mongodb 7.1.0 ([#10087](#10087)) ([bebf2fd](bebf2fd))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 9.4.1

@parseplatformorg parseplatformorg added the state:released Released as stable version label Mar 4, 2026
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.

2 participants