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

Bump mongodb from 6.9.0 to 6.10.0 in /backend #759

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 24, 2024

Bumps mongodb from 6.9.0 to 6.10.0.

Release notes

Sourced from mongodb's releases.

v6.10.0

6.10.0 (2024-10-21)

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

Release Notes

[!WARNING]
Server versions 3.6 and lower will get a compatibility error on connection and support for MONGODB-CR authentication is now also removed.

Support for new client bulkWrite API (8.0+)

A new bulk write API on the MongoClient is now supported for users on server versions 8.0 and higher. This API is meant to replace the existing bulk write API on the Collection as it supports a bulk write across multiple databases and collections in a single call.

Usage

Users of this API call MongoClient#bulkWrite and provide a list of bulk write models and options. The models have a structure as follows:

Insert One

Note that when no _id field is provided in the document, the driver will generate a BSON ObjectId automatically.

{
  namespace: '<db>.<collection>',
  name: 'insertOne',
  document: Document
}

Update One

{
  namespace: '<db>.<collection>',
  name: 'updateOne',
  filter: Document,
  update: Document | Document[],
  arrayFilters?: Document[],
  hint?: Document | string,
  collation?: Document,
  upsert: boolean
}

Update Many

... (truncated)

Changelog

Sourced from mongodb's changelog.

6.10.0 (2024-10-21)

Features

  • NODE-5838: remove support for server 3.6 (#4182) (7b71e1f)
  • NODE-6060: set fire-and-forget protocol when writeConcern is w: 0 (#4219) (643a875)
  • NODE-6289: allow valid srv hostnames with less than 3 parts (#4197) (3d5bd51)
  • NODE-6329: client bulk write happy path (#4206) (3d3da40)
  • NODE-6337: implement client bulk write batching (#4248) (d56e235)
  • NODE-6338: implement client bulk write error handling (#4262) (8def42d)
  • NODE-6342: support maxTimeMS for explain commands (#4207) (20396e1)
  • NODE-6350: add typescript support to client bulkWrite API (#4257) (30c61f2)
  • NODE-6409: new errors for unacknowledged bulk writes (#4276) (7fde8dd)
  • NODE-6419: deprecate explain options API for find and aggregate (#4271) (a473de9)

Bug Fixes

  • NODE-6394: data events missed while awaiting drain (#4249) (3f9d243)
  • NODE-6418: change stream resumes infinitely after failed aggregates (#4267) (6ecf198)
  • NODE-6436: only force majority write concern on commitTransaction retry (#4284) (a7d1d43)
Commits
  • a275567 chore(main): release 6.10.0 [skip-ci] (#4241)
  • 51b021e chore: fix bson import lint (#4286)
  • 30c61f2 feat(NODE-6350): add typescript support to client bulkWrite API (#4257)
  • e9e8bf5 chore: add lint rule to prevent import from bson in driver src (#4285)
  • a7d1d43 fix(NODE-6436): only force majority write concern on commitTransaction retry ...
  • 3d5bd51 feat(NODE-6289): allow valid srv hostnames with less than 3 parts (#4197)
  • 7fde8dd feat(NODE-6409): new errors for unacknowledged bulk writes (#4276)
  • a473de9 feat(NODE-6419): deprecate explain options API for find and aggregate (#4271)
  • 8def42d feat(NODE-6338): implement client bulk write error handling (#4262)
  • 27618ae chore(NODE-6400): migrate node download script to drivers-tools (#4244)
  • 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 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 6.9.0 to 6.10.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@v6.9.0...v6.10.0)

---
updated-dependencies:
- dependency-name: mongodb
  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 Oct 24, 2024
Copy link

sonarcloud bot commented Oct 24, 2024

Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 24, 2024

Looks like mongodb is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Oct 24, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/backend/dev/mongodb-6.10.0 branch October 24, 2024 21:34
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