Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Update dependency mongodb to v6#138

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/mongodb-6.x
Open

Update dependency mongodb to v6#138
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/mongodb-6.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Aug 30, 2023

This PR contains the following updates:

Package Change Age Confidence
mongodb 3.5.11 -> 6.18.0 age confidence

Release Notes

mongodb/node-mongodb-native (mongodb)

v6.18.0

Compare Source

Features
Bug Fixes
  • NODE-4845: allocate sessions lazily in cursors (#​4575) (5761703)
  • NODE-6589: background task does not prune idle connections when minPoolSize=0 (#​4569) (7cbb641)
  • NODE-6955: add missing wallTime property TS change stream event interfaces (#​4541) (f153c6f)

v6.17.0

Compare Source

Features
Bug Fixes
  • NODE-6638: throw if all atomic updates are undefined (#​4519) (9625b2d)
  • NODE-6864: socket errors are not always converted to MongoNetworkErrors (#​4473) (2d86095)
  • NODE-6962: OIDC machine workflows use OIDCCallbacks internally (#​4546) (bd6030f)

v6.16.0

Compare Source

Features
Bug Fixes
  • NODE-6630: read all messages in buffer when chunk arrives (#​4512) (8c86e30)
  • NODE-6878: documents.clear() throws a TypeError after cursor is rewound (#​4488) (a1fffeb)

v6.15.0

Compare Source

Features
Bug Fixes

v6.14.2

Compare Source

Bug Fixes
  • NODE-6803: kms proxy socket creates unhandled rejection (#​4444) (ed69cf9)

v6.14.1

Compare Source

Bug Fixes

v6.14.0

Compare Source

Features
  • NODE-6676: add support for nsType in change stream create events (#​4431) (7800067)
  • NODE-6773: add support for $lookup with automatic encryption (#​4427) (965b21a)
Bug Fixes
  • NODE-6765: FindOneAndUpdateOptions supports aggregation expressions (#​4423) (421ddeb)
  • NODE-6792: use isUint8Array from driver's utils instead of util/types (#​4436) (dfe1fba)
  • NODE-6794: revert @aws-sdk/credential-providers peer compatibility change (#​4437) (488c407)

v6.13.1

Compare Source

Bug Fixes
  • NODE-6407: use conversationId returned from server in saslContinue (#​4368) (fbefa6b)
  • NODE-6613: Update error messages when primaries go stale (#​4397) (6528c8d)
  • NODE-6690: Remove extraneous Document in replaceOne return type (#​4383) (6c81d4e)
  • NODE-6763: pass WriteConcernOptions instead on WriteConcernSettings (#​4421) (26f15d7)
  • NODE-6777: update BSON to 6.10.3 (#​4428) (db5b9e0)

v6.13.0

Compare Source

Features
Bug Fixes
  • NODE-5225: concurrent MongoClient.close() calls each attempt to close the client (#​4376) (9419af7)
  • NODE-6340: OIDC reauth uses caches speculative auth result (#​4379) (8b2b7fd)
Performance Improvements
  • NODE-6452: Optimize CommandStartedEvent and CommandSucceededEvent constructors (#​4371) (41b066b)
  • NODE-6616: shortcircuit logging ejson.stringify (#​4377) (c1bcf0d)

v6.12.0

Compare Source

Features
Bug Fixes
  • NODE-6583: upgrade to BSON v6.10.1 to remove internal unbounded type cache (#​4338) (249c279)
  • NODE-6600: set object mode correctly for message chunking in SizedMessageTransform (#​4345) (5558573)
  • NODE-6602: only wrap errors from SOCKS in network errors (#​4347) (ed83f36)

v6.11.0

Compare Source

Features
Bug Fixes
  • NODE-6374: MongoOperationTimeoutError inherits MongoRuntimeError (#​4237) (9fb896a)
  • NODE-6412: read stale response from previously timed out connection (#​4273) (fd8f3bd)
  • NODE-6454: use timeoutcontext for state machine execute() cursor options (#​4291) (5dd8ee5)
  • NODE-6469: pool is cleared before connection checkin on error (#​4296) (06a2e2c)
  • NODE-6523: deleteMany in gridfs passes timeoutMS to predicate, not options (#​4319) (1965ed5)
Performance Improvements
  • NODE-6525: remove setPrototype and defineProperty from hot path (#​4321) (48ed47e)

v6.10.0

Compare Source

Features
Bug Fixes
  • NODE-6374: MongoOperationTimeoutError inherits MongoRuntimeError (#​4237) (9fb896a)
  • NODE-6412: read stale response from previously timed out connection (#​4273) (fd8f3bd)
  • NODE-6454: use timeoutcontext for state machine execute() cursor options (#​4291) (5dd8ee5)
  • NODE-6469: pool is cleared before connection checkin on error (#​4296) (06a2e2c)
  • NODE-6523: deleteMany in gridfs passes timeoutMS to predicate, not options (#​4319) (1965ed5)
Performance Improvements
  • NODE-6525: remove setPrototype and defineProperty from hot path (#​4321) (48ed47e)

v6.9.0

Compare Source

Features
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)
  • NODE-6367: enable mixed use of iteration APIs (#​4231) (08912c8)
Performance Improvements

v6.8.2

Compare Source

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

Release Notes

Fixed mixed use of cursor.next() and cursor[Symbol.asyncIterator]

In 6.8.0, we inadvertently prevented the use of cursor.next() along with using for await syntax to iterate cursors. If your code made use of the following pattern and the call to cursor.next retrieved all your documents in the first batch, then the for-await loop would never be entered. This issue is now fixed.

const firstDoc = await cursor.next();

for await (const doc of cursor) {
    // process doc
    // ...
}
Bug Fixes

Documentation

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

v6.8.1

Compare Source

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

Release Notes

Fixed enableUtf8Validation option

Starting in v6.8.0 we inadvertently removed the ability to disable UTF-8 validation when deserializing BSON. Validation is normally a good thing, but it was always meant to be configurable and the recent Node.js runtime issues (v22.7.0) make this option indispensable for avoiding errors from mistakenly generated invalid UTF-8 bytes.

Bug Fixes
  • NODE-6355: respect utf8 validation option when iterating cursors (#​4220) (886cefb)

Documentation

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

v6.8.0

Compare Source

Features
Bug Fixes
  • NODE-5801: use more specific key typing for multiple KMS provider support (#​4146) (465ffd9)
  • NODE-6085: add TS support for KMIP data key options (#​4128) (f790cc1)
  • NODE-6241: allow Binary as local KMS provider key (#​4160) (fb724eb)
  • NODE-6242: close becomes true after calling close when documents still remain (#​4161) (e3d70c3)

v6.7.0

Compare Source

Features
Bug Fixes
  • NODE-6165: useBigInt64 causes compareTopologyVersion to throw (#​4109) (21b729b)

v6.6.2

Compare Source

Bug Fixes
  • NODE-6171: RTT set to zero when serverMonitoringMode=stream (#​4110) (7a7ec5b)

v6.6.1

Compare Source

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

v6.6.0

Compare Source

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)

v6.5.0

Compare Source

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)

v6.4.0

Compare Source

Features
  • NODE-3449: Add serverConnectionId to Command Monitoring Spec (735f7aa)
  • NODE-3470: retry selects another mongos (#​3963) (84959ee)
  • NODE-3689: require hello command for connection handshake to use OP_MSG disallowing OP_QUERY (#​3938) (ce7df0f)
  • NODE-4686: Add log messages to CLAM (#​3955) (e3bfa30)
  • NODE-4687: Add logging to server selection (#​3946) (7f3ce0b)
  • NODE-4719: add SDAM Logging Spec (#​3940) (a3c0298)
  • NODE-4847: Add config error handling to logging (#​3970) (8f7bb59)
  • NODE-5717: make ExceededTimeLimit retryable reads error (#​3947) (106ab09)
  • NODE-5885: upgrade BSON to ^6.3.0 (#​3983) (9401d09)
  • NODE-5939: Implement 6.x: cache the AWS credentials provider in the MONGODB-AWS auth logic (#​3991) (e0a37e5)
  • NODE-5978: upgrade BSON to ^6.4.0 (#​4007) (90f2f70)
Bug Fixes
  • NODE-5127: implement reject kmsRequest on server close (#​3964) (568e05f)
  • NODE-5609: node driver omits base64 padding in sasl-continue command (#​3975) (b7d28d3)
  • NODE-5765: change type for countDocuments (#​3932) (22cae0f)
  • NODE-5791: type error with $addToSet in bulkWrite (#​3953) (b93d405)
  • NODE-5818: Add feature flagging to server selection logging (#​3974) (55203ef)
  • NODE-5839: support for multibyte code-points in stringifyWithMaxLen (#​3979) (aed1cf0)
  • NODE-5840: heartbeat duration includes socket creation (#​3973) (a42039b)
  • NODE-5901: propagate errors to transformed stream in cursor (#​3985) (ecfc615)
  • NODE-5944: make AWS session token optional (#​4002) (f26de76)
Performance Improvements
  • NODE-5771: improve new connection (#​3948) (a4776cf)
  • NODE-5854: Conditional logger instantiation and precompute willLog perf fix (#​3984) (a63fbc2)
  • NODE-5928: consolidate signal use and abort promise wrap (#​3992) (38742c2)

v6.3.0

Compare Source

Features
  • NODE-3449: Add serverConnectionId to Command Monitoring Spec (735f7aa)
  • NODE-3470: retry selects another mongos (#​3963) (84959ee)
  • NODE-3689: require hello command for connection handsh

@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from b25720a to 22c9415 Compare September 16, 2023 21:05
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 22c9415 to 2c6c338 Compare October 22, 2023 15:38
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 2c6c338 to 092d306 Compare November 18, 2023 18:36
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 092d306 to 2c76631 Compare March 2, 2024 21:52
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 2c76631 to b4a6ffb Compare March 13, 2024 21:37
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 2 times, most recently from 0c33c34 to c3f1807 Compare May 8, 2024 22:24
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from c3f1807 to 5cf40cf Compare May 17, 2024 20:27
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 5cf40cf to a884ea6 Compare May 31, 2024 20:19
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from a884ea6 to ee94553 Compare June 29, 2024 22:14
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 3 times, most recently from ceb37ad to c49fcca Compare September 14, 2024 19:24
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from c49fcca to 92a2d52 Compare October 23, 2024 22:35
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 92a2d52 to 536239e Compare November 24, 2024 17:19
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 536239e to 8d98a65 Compare December 12, 2024 20:23
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 8d98a65 to 45daf0b Compare February 2, 2025 01:07
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 45daf0b to 601a31f Compare February 22, 2025 22:51
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 3 times, most recently from e3abbf0 to 696b82f Compare March 6, 2025 23:15
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 696b82f to 45ffb1b Compare March 20, 2025 22:35
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 45ffb1b to 01448ba Compare April 23, 2025 19:04
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 01448ba to 756639d Compare June 6, 2025 04:32
Dependency update (patch)
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 756639d to 4670bd2 Compare July 24, 2025 23:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants