Skip to content

build(deps): Bump mongodb from 7.8.0 to 7.9.0 - #8264

Merged
shepardly[bot] merged 4 commits into
masterfrom
dependabot/npm_and_yarn/mongodb-7.9.0
Nov 17, 2026
Merged

shepardly[bot] merged 4 commits into
masterfrom
dependabot/npm_and_yarn/mongodb-7.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps mongodb from 7.8.0 to 7.9.0.

Release notes

Sourced from mongodb's releases.

v7.9.0

7.9.0 (2026-11-12)

The MongoDB Node.js team is pleased to announce version 7.9.0 of the mongodb package!

Release Notes

[!WARNING] Node Driver versions from 6.7.0 before 7.9.0 (this release) are affected by a security issue related to OIDC bearer tokens being inappropriately shared to domains outside those allowlisted by the application (CVE-2026-126835). Users are encouraged to upgrade to the fixed version or mitigate as soon as possible.

Applications that use OIDC_CALLBACK or OIDC_HUMAN_CALLBACK in affected versions can avoid this bearer token leak by refusing connection strings whose authMechanismProperties include ENVIRONMENT.

MongoClient now throws when both ENVIRONMENT and OIDC_CALLBACK / OIDC_HUMAN_CALLBACK are passed to its constructor

When constructing a MongoClient:

  • ENVIRONMENT can be specified in either the connection string or the options object provided to the MongoClient constructor.
  • OIDC_CALLBACK and OIDC_HUMAN_CALLBACK can be specified only in the options object.

Now, providing an environment and a callback (in any combination of options and connection string) fails.

// Now fails:
// connection string:
// 'mongodb://example.com/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:azure,TOKEN_RESOURCE:x'
const uri = process.env.MONGODB_URI;
// throws!
const client = new MongoClient(uri, {
authMechanismProperties: {
...
// get a token for the user (e.g. browser login)
OIDC_HUMAN_CALLBACK: async params => {
return { accessToken: await getUserToken(params) };
},
...
}
});

dropIndexes no longer swallows all errors

Previously, dropIndexes swallowed almost all errors. With this change, dropIndexes will only swallow NamespaceNotFound server errors, and all other errors will be thrown as expected.

Node's autoSelectFamily process default is now respected

When autoSelectFamily is not set on the MongoClient, the driver no longer forces true, so --no-network-family-autoselection and net.setDefaultAutoSelectFamily(false) now apply to its sockets. Explicit driver options still take precedence.

[!WARNING]

... (truncated)

Changelog

Sourced from mongodb's changelog.

7.9.0 (2026-11-12)

Features

  • NODE-7743: deprecate SelectServerOptions (#5108) (b22b432)
  • NODE-7968: un-deprecate single parameter overload of createIndex (#5106) (18f21e5)

Bug Fixes

  • NODE-6517: drop indexes swallowing errors (#5100) (035bffb)
  • NODE-7848: honor Node's process-level autoSelectFamily default (#5107) (7d64ea2)
Commits
  • 2503f33 chore(main): release 7.9.0 (#5110)
  • 9b7f117 Merge commit from fork
  • 8cbb725 test: fix autoSelectSocketOptions in bundled tests (#5117)
  • 7d64ea2 fix(NODE-7848): honor Node's process-level autoSelectFamily default (#5107)
  • 271f3a1 ci: bump drivers-evergreen-tools (#5116)
  • b22b432 feat(NODE-7743): deprecate SelectServerOptions (#5108)
  • 035bffb fix(NODE-6517): drop indexes swallowing errors (#5100)
  • 1971073 ci(NODE-7850): run unit tests on Linux and Windows, unbundled and bundled (#5...
  • 3815dd5 chore(NODE-7766): unpin snappy (#5109)
  • a255151 docs: generate docs from latest main [skip-ci] (#5083)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 7.8.0 to 7.9.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v7.8.0...v7.9.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-version: 7.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 16, 2026
@shepardly
shepardly Bot enabled auto-merge November 17, 2026 14:50
@shepardly
shepardly Bot merged commit 12325fc into master Nov 17, 2026
10 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/mongodb-7.9.0 branch November 17, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant