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 4.9.1 to 6.10.0 #5695

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps mongodb from 4.9.1 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)

6.9.0 (2024-09-12)

Features

  • NODE-5459: add durations to connection pool events (#4166) (7295695)
  • NODE-5614: add support for explicit resource management (#4177) (b3f3987)
  • NODE-5754: allow auto select family options (#4185) (54efb7d)
  • NODE-5908: support range v2 (#4141) (de253a7)
  • NODE-6225: add property ownership check before referencing mongocryptdSpawnPath and mongocryptdSpawnArgs (#4151) (f48f8d3)
  • NODE-6244: Bump max supported wire version and server version (#4163) (45bc098)
  • NODE-6252: insertMany and bulkWrite permit readonly arrays (#4175) (4b219d3)
  • NODE-6278: deprecate 3.6 servers (#4178) (35d8840)
  • NODE-6309: Mark range API as stable (#4190) (f53e9d9)
  • NODE-6327: new client bulk write types and builders (#4205) (6d65ae7)
  • NODE-6365: pass through allowPartialTrustChain TLS flag (#4228) (d6c147d)

Bug Fixes

  • NODE-5720: on pre-4.4 sharded servers, the node driver uses error.writeConcern.code to determine retryability (#4155) (b26c328)
  • NODE-6241: allow Binary as local kms provider key for auto encryption (#4165) (d85f827)
  • NODE-6259: replace dynamically assigned length property with a static getter (#4173) (320dde0)
  • NODE-6276: preserve top level error code MongoWriteConcernError (#4183) (e902584)
  • NODE-6284: make sparsity and trimFactor optional (#4189) (8622545)
  • NODE-6355: respect utf8 validation options when iterating cursors (#4214) (8bfe187)
  • NODE-6362: cache cursor deserialization options across deserialize calls (#4221) (833eaa4)

... (truncated)

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
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 4.9.1 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@v4.9.1...v6.10.0)

---
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 Oct 22, 2024
@dependabot dependabot bot requested a review from ar2rsawseen October 22, 2024 01:49
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.

1 participant