The MongoDB Node.js team is pleased to announce version 6.6.1 of the mongodb package!
Release Notes
ref()-ed timer keeps event loop running until client.connect() resolves
When the MongoClient is first starting up (client.connect()) monitoring connections begin the process of discovering servers to make them selectable. The ref()-edserverSelectionTimeoutMS timer keeps Node.js' event loop running as the monitoring connections are created. In the last release we inadvertently unref()-ed this initial timer which would allow Node.js to close before the monitors could create connections.
Bug Fixes
NODE-6151: MongoClient connect does not keep Node.js running (#4101) (7e0d9e6)
The MongoDB Node.js team is pleased to announce version 6.6.0 of the mongodb package!
Release Notes
Aggregation pipelines can now add stages manually
When creating an aggregation pipeline cursor, a new generic method addStage() has been added in the fluid API for users to add aggregation pipeline stages in a general manner.
cause and package name included for MongoMissingDependencyErrors
MongoMissingDependencyErrors now include a cause and a dependencyName field, which can be used to programmatically determine which package is missing and why the driver failed to load it.
For example:
MongoMissingDependencyError: The iHateJavascript module does not exist
</tr></table>
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show 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 from 6.5.0 to 6.6.1.
Release notes
Sourced from mongodb's releases.
... (truncated)
Changelog
Sourced from mongodb's changelog.
Commits
706cc56
chore(main): release 6.6.1 [skip-ci] (#4102)7e0d9e6
fix(NODE-6151): MongoClient connect does not keep Node.js running (#4101)2609953
docs: 6.6.0 release (#4100)400ccbc
chore(NODE-6142): add sbom lite file to driver repo (#4097)ec4c85d
chore(main): release 6.6.0 [skip-ci] (#4037)7f191cf
deps(NODE-6149): use bson 6.7.0 (#4099)cc4c874
refactor(NODE-6146): put cursor response back under a flag (#4098)9d73f45
refactor(NODE-6057): implement CursorResponse for lazy document parsing (#4085)6d8ad33
test(NODE-5610): unskip uri invalid port (zero) with hostname/IP literal test...ca2bfb0
test(NODE-6052): support assertions on topologyDescriptionChanged in expectEv...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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show