chore(deps): update dependency mongodb to v6.21.0
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| mongodb | 6.12.0 -> 6.21.0 |
Release Notes
mongodb/node-mongodb-native (mongodb)
v6.21.0
The MongoDB Node.js team is pleased to announce version 6.21.0 of the mongodb package!
Release Notes
Deprecated items to be removed in 7.0.0
The following items have been deprecated and will be removed in 7.0.0:
MongoCredentials.authMechanismProperties.AWS_SESSION_TOKEN // URI & client options for AWS variables will no longer be respected
CommandOptions.noResponse // Unused
ConnectionOptions.cancellationToken // Unused
CursorStreamOptions // Only option, transform, removed in favor of Stream#map
Features
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v6.20.0
Features
- NODE-6883: allow rawData option on time series collections (#​4642) (0fa3cd4)
- NODE-7125: add db and client properties to collection and database objects (#​4640) (3469f86)
- NODE-7134: allow hint with unacknowledged writes for delete, update and findAndModify commands (#​4647) (82d6ce6)
- NODE-7139: remove pre-4.2 logic and deprecate dead code (#​4657) (14303bc)
- NODE-7140: deprecate driver info options (#​4654) (b813c85)
-
NODE-7157: deprecate
retryWritesinCommandOperationOptions(#​4661) (620972d)
Bug Fixes
-
NODE-4763: cache
resumeTokeninChangeStream.tryNext()(#​4636) (8331a93) - NODE-6858: treat MongoServerSelectionError as a resumable error for Change Streams (#​4653) (c6d64e7)
- NODE-7138: prevent duplicate metadata from being appended to handshake metadata (#​4651) (05c230c)
v6.19.0
Features
- NODE-4179: allow secureContext in KMS TLS options (#​4578) (0ea6eaa)
- NODE-6472: findOne and find no longer keep open cursors (#​4580) (be7f808)
- NODE-7020: remove ping on connect (#​4607) (3d296b7)
- NODE-7059, NODE-7008: add support for text queries for QE string fields (#​4597) (e4492f3)
v6.18.0
Features
- NODE-5055: Add databaseName property to command monitoring events (#​4586) (3faf0c9)
- NODE-6865: deprecate transaction getters (#​4567) (da46aea)
- NODE-6991: deprecate unintentionally public client metadata types (#​4566) (ca6554b)
- NODE-7009: add client metadata on demand (#​4574) (b9636ee)
- NODE-7053: deprecate noResponse option (#​4589) (1115319)
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
wallTimeproperty TS change stream event interfaces (#​4541) (f153c6f)
v6.17.0
Features
- NODE-6245: add keepAliveInitialDelay config (#​4510) (d6c0eb3)
- NODE-6290: add sort support to updateOne and replaceOne (#​4515) (28857b7)
- NODE-6882: eagerly close checked out connections when client is closed (#​4499) (64fdb3e)
- NODE-6884: remove support for 4.0 (#​4534) (6fe6ccc)
- NODE-6952: support configuring DEK cache expiration (#​4538) (c529f07)
- NODE-6963: use BSON 6.10.4 (#​4549) (aee490a)
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
Features
-
NODE-6494: add support for
hinton distinct commands (#​4487) (40d0e87) - NODE-6515: deprecate driver support for server 4.0 (#​4517) (4c1a8a7)
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
Features
Bug Fixes
v6.14.2
Bug Fixes
v6.14.1
Bug Fixes
v6.14.0
Features
-
NODE-6676: add support for
nsTypein 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-providerspeer compatibility change (#​4437) (488c407)
v6.13.1
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
Features
- NODE-5672: support standardized logging (#​4387) (d1b2453)
- NODE-6258: add signal support to find and aggregate (#​4364) (73def18)
- NODE-6451: retry SRV and TXT lookup for DNS timeout errors (#​4375) (fd902d3)
- NODE-6633: MongoClient.close closes active cursors (#​4372) (654069f)
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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
SafeDep Report Summary
âš 1 packages are identified as suspicious, human review is recommended.
Package Details
| Package | Malware | Vulnerability | Risky License | Report |
|---|---|---|---|---|
mongodb @ 6.21.0 pnpm-lock.yaml |
![]() |
![]() |
![]() |
🔗 |
This report is generated by SafeDep Github App

