Skip to content

chore: bump mongodb and bson dependencies#829

Merged
nbbeeken merged 3 commits into
mainfrom
bump-driver
Jul 23, 2026
Merged

chore: bump mongodb and bson dependencies#829
nbbeeken merged 3 commits into
mainfrom
bump-driver

Conversation

@nbbeeken

Copy link
Copy Markdown
Collaborator

Description

Bump mongodb and bson across packages and fix where script to do so

Open Questions

Checklist

Copilot AI review requested due to automatic review settings July 23, 2026 13:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the monorepo’s MongoDB Node.js driver dependencies (and associated lockfile resolutions) and adjusts the root where helper script to use the monorepo-tools implementation.

Changes:

  • Bumped mongodb from ^7.2.0 to ^7.5.0 across multiple packages.
  • Updated package-lock.json to reflect mongodb@7.5.0 and newly resolved bson versions.
  • Changed the root where script to point at monorepo-tools’ where implementation.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/mql-typescript/package.json Bumps mongodb to ^7.5.0 for this package.
packages/mongodb-ts-autocomplete/package.json Bumps mongodb (devDependency) to ^7.5.0 and reorders deps.
packages/mongodb-runner/package.json Bumps runtime mongodb dependency to ^7.5.0.
packages/mongodb-constants/package.json Reorders bson devDependency entry (no functional change).
packages/devtools-connect/package.json Bumps mongodb devDependency to ^7.5.0 and reorders entries.
package.json Updates the root where script target.
package-lock.json Updates lockfile to mongodb@7.5.0 and related dependency graph changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
"test-ci": "lerna run test-ci --concurrency 1",
"test": "lerna run test --concurrency 1 --stream",
"where": "node ./scripts/src/where.js",
"where": "node packages/monorepo-tools/dist/where.js",
@nbbeeken
nbbeeken enabled auto-merge (squash) July 23, 2026 13:36
Comment thread .github/workflows/check-test.yaml Outdated
os: [ubuntu-latest, windows-latest, macos-latest]
# Tests are sharded across hosts by package (see compute-test-shard.mjs).
# When changing the shard count, update every list entry below.
shard: [1, 2, 3, 4]

@Anemy Anemy Jul 23, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit, not a blocker. Should we use the wording group instead of shard like we do for Compass e2e tests? https://github.com/mongodb-js/compass/blob/80ef906493ef0891197fdb4c9af324c1d98d2e43/.evergreen/buildvariants-and-tasks.in.yml#L162
I'm worried shard could cause confusion. Maybe there's a better word?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Terminology alignment totally worth doing, group is good, fixed!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there a reason to not use typescript here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Node.js 22 is currently the test node here so it would need a flag to run the ts, I could do the flag, or I could upgrade the node, I chose neither 🤣

@nbbeeken
nbbeeken disabled auto-merge July 23, 2026 20:02
@nbbeeken
nbbeeken merged commit 5b02887 into main Jul 23, 2026
18 checks passed
@nbbeeken
nbbeeken deleted the bump-driver branch July 23, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants