Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 28, 2023

This PR contains the following updates:

Package Change Age Confidence
mongodb 4.17.2 -> 6.19.0 age confidence

Release Notes

mongodb/node-mongodb-native (mongodb)

v6.19.0

Compare Source

Features

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

@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 6648b29 to 6646d19 Compare September 14, 2023 22:57
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 6646d19 to c515754 Compare October 6, 2023 21:54
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from c515754 to fc552c9 Compare October 20, 2023 18:48
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from fc552c9 to e6a3bc5 Compare November 16, 2023 17:34
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from e6a3bc5 to 0468c92 Compare December 5, 2023 22:57
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 2 times, most recently from 2a9f1a9 to 0730b97 Compare February 29, 2024 22:12
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 0730b97 to 29b2d34 Compare March 11, 2024 20:14
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 2 times, most recently from 58513fb to 40336a0 Compare May 6, 2024 22:28
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 40336a0 to ca26eb1 Compare May 15, 2024 21:33
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from ca26eb1 to bf51735 Compare May 29, 2024 19:25
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from bf51735 to 08d4dd6 Compare June 27, 2024 21:58
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 08d4dd6 to 667c37c Compare July 18, 2024 23:08
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 2 times, most recently from fbc46c4 to 7ea6973 Compare September 12, 2024 18:23
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 7ea6973 to 2838eab Compare September 22, 2024 00:48
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 3 times, most recently from 4575cf3 to 93d6888 Compare October 11, 2024 12:21
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 93d6888 to 4ca7924 Compare October 21, 2024 21:22
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 4ca7924 to 42d2e41 Compare November 22, 2024 20:37
@renovate renovate bot changed the title fix(deps): update dependency mongodb to v6 fix(deps): update dependency mongodb to v6 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/mongodb-6.x branch December 8, 2024 18:54
@renovate renovate bot changed the title fix(deps): update dependency mongodb to v6 - autoclosed fix(deps): update dependency mongodb to v6 Dec 8, 2024
@renovate renovate bot reopened this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 42d2e41 to 6193177 Compare December 10, 2024 20:32
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 6193177 to 18ae2a7 Compare December 30, 2024 18:03
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 18ae2a7 to c618b61 Compare January 31, 2025 01:31
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 2 times, most recently from 631f94a to 808fd9b Compare February 20, 2025 21:34
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 3 times, most recently from 1b4b2a3 to c0286ce Compare March 4, 2025 22:33
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from c0286ce to 9ec6432 Compare March 18, 2025 22:56
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 9ec6432 to 0077ca7 Compare April 21, 2025 22:39
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 0077ca7 to de92c99 Compare May 3, 2025 01:50
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from de92c99 to 4936c4e Compare May 17, 2025 02:26
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 4936c4e to 58e7236 Compare June 3, 2025 22:42
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 58e7236 to 684b5ea Compare July 22, 2025 23:49
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 684b5ea to 2b8208b Compare August 2, 2025 15:02
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch 2 times, most recently from 2486a9b to 9ec4557 Compare August 13, 2025 14:14
@renovate renovate bot force-pushed the renovate/mongodb-6.x branch from 9ec4557 to 8dbadfe Compare August 26, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants