feat!: upgrade mongodb driver and all related dependencies COMPASS-11067 - #862
Draft
nbbeeken wants to merge 2 commits into
Draft
feat!: upgrade mongodb driver and all related dependencies COMPASS-11067#862nbbeeken wants to merge 2 commits into
nbbeeken wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the MongoDB Node.js driver (and related dependencies like bson, mongodb-connection-string-url, socks, and native optional deps) across the devtools-shared workspace to address dependency/audit issues and align packages on the MongoDB driver v7 line.
Changes:
- Tighten
bsonversion requirements across multiple packages to^7.3.2. - Upgrade MongoDB driver usage to
^7.6.0and remove MongoDB driver v6 test coverage (mongodb6) from@mongodb-js/devtools-connect. - Refresh
package-lock.jsonto reflect the upgraded dependency tree (including updated transitive@mongosh/*packages).
Reviewed changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/shell-bson-parser/package.json | Tightens bson peer/dev dependency to ^7.3.2. |
| packages/query-parser/package.json | Tightens bson peer/dev dependency to ^7.3.2. |
| packages/mql-typescript/package.json | Upgrades mongodb to ^7.6.0 and tightens bson to ^7.3.2. |
| packages/mongodb-ts-autocomplete/package.json | Upgrades mongodb to ^7.6.0 and tightens bson to ^7.3.2. |
| packages/mongodb-schema/package.json | Tightens optional/dev dependency constraints for mongodb/bson to 7.x. |
| packages/mongodb-runner/package.json | Upgrades mongodb to ^7.6.0 and mongodb-connection-string-url to ^7.0.2. |
| packages/mongodb-redact/package.json | Upgrades mongodb-connection-string-url to ^7.0.2. |
| packages/mongodb-log-writer/package.json | Tightens bson peer dependency to ^7.3.2. |
| packages/mongodb-constants/package.json | Tightens bson peer/dev dependency to ^7.3.2. |
| packages/mongodb-build-info/package.json | Upgrades mongodb-connection-string-url to ^7.0.2. |
| packages/devtools-connect/src/connect.spec.ts | Drops integration test matrix coverage for driver v6. |
| packages/devtools-connect/package.json | Upgrades mongodb peer/dev dep to ^7.6.0, updates mongodb-connection-string-url, socks, and optional native deps. |
| package-lock.json | Updates resolved versions/metadata to match the new dependency ranges. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
nbbeeken
force-pushed
the
COMPASS-11067-rm-mongodb-6
branch
from
August 25, 2026 13:41
3f56a2c to
ded6d58
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Need to understand better what these ranges were serving but the intention here is to correct some npm elsproblems and remove old dependencies from our tree that show up in npm audit.
@mongodb-js/devtools-connect@mongodb-js/mongodb-constants@mongodb-js/mongodb-schema@mongodb-js/mongodb-ts-autocomplete@mongodb-js/mql-typescript@mongodb-js/shell-bson-parsermongodb-build-infomongodb-log-writermongodb-query-parsermongodb-redactmongodb-runnerOpen Questions
Checklist