Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump mongodb from 5.1.0 to 6.6.1 #668

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 7, 2024

Bumps mongodb from 5.1.0 to 6.6.1.

Release notes

Sourced from mongodb's releases.

v6.6.1

6.6.1 (2024-05-06)

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()-ed serverSelectionTimeoutMS 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)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

v6.6.0

6.6.0 (2024-05-02)

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.

const documents = await users.aggregate().addStage({ $project: { name: true } }).toArray();

Thank you @​prenaissance for contributing this feature!

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> 

... (truncated)

Changelog

Sourced from mongodb's changelog.

6.6.1 (2024-05-06)

Bug Fixes

  • NODE-6151: MongoClient connect does not keep Node.js running (#4101) (7e0d9e6)

6.6.0 (2024-05-02)

Features

  • NODE-3639: add a general stage to the aggregation pipeline builder (#4079) (8fca1aa)
  • NODE-5678: add options parsing support for timeoutMS and defaultTimeoutMS (#4068) (ddd1e81)
  • NODE-5762: include cause and package name for all MongoMissingDependencyErrors (#4067) (62ea94b)
  • NODE-5825: add minRoundTripTime to ServerDescription and change roundTripTime to a moving average (#4059) (0e3d6ea)
  • NODE-5919: support new type option in create search index helpers (#4060) (3598c23)
  • NODE-6020: upgrade BSON to ^6.5.0 (#4035) (8ab2055)

Bug Fixes

  • NODE-3681: Typescript error in Collection.findOneAndModify UpdateFilter $currentDate (#4047) (a8670a7)
  • NODE-5530: make topology descriptions JSON stringifiable (#4070) (3a0e011)
  • NODE-5745: ignore Read/Write Concern in Atlas Search Index Helpers (#4042) (67d7bab)
  • NODE-5925: driver throws error when non-read operation in a transaction has a ReadPreferenceMode other than 'primary' (#4075) (39fc198)
  • NODE-5971: attach v to createIndexes command when version is specified (#4043) (1879a04)
  • NODE-5999: Change TopologyDescription.error type to MongoError (#4028) (30432e8)
  • NODE-6019: indexExists always returns false when full is set to true (#4034) (0ebc1ac)
  • NODE-6029: update types for collection listing indexes (#4072) (232bf3c)
  • NODE-6051: only provide expected allowed keys to libmongocrypt after fetching aws kms credentials (#4057) (c604e74)
  • NODE-6066: ClusterTime.signature can be undefined (#4069) (ce55ca9)

Performance Improvements

  • NODE-6127: move error construction into setTimeout callback (#4094) (6abc074)

6.5.0 (2024-03-11)

Features

  • NODE-5968: container and Kubernetes awareness in client metadata (#4005) (28b7040)
  • NODE-5988: Provide access to raw results doc on MongoServerError (#4016) (c023242)
  • NODE-6008: deprecate CloseOptions interface (#4030) (f6cd8d9)

Bug Fixes

... (truncated)

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...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by dbx-node, a new releaser for mongodb since your current version.


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 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 <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 5.1.0 to 6.6.1.
- [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@v5.1.0...v6.6.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 7, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 16, 2024

Superseded by #669.

@dependabot dependabot bot closed this May 16, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dev/mongodb-6.6.1 branch May 16, 2024 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants