Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Jun 21, 2023

Please run the release_notes action before releasing to generate release highlights

7.0.0 (2025-10-20)

⚠ BREAKING CHANGES

  • NODE-6296: remove cursor default batch size of 1000 (#4729)
  • NODE-7150: update peer dependency matrix for 3rd party peer deps (#4720)
  • NODE-7046: remove AWS uri/options support (#4689)
  • NODE-4808: remove support for stream() transform on cursors and change streams (#4728)
  • NODE-6377: remove noResponse option (#4724)
  • NODE-6473: remove MONGODB-CR auth (#4717)
  • NODE-5994: Remove metadata-related properties from public driver API (#4716)
  • NODE-7016: remove beta namespace and move resource management into driver (#4719)
  • NODE-4184: don't throw on aggregate with write concern and explain (#4718)
  • NODE-7043, NODE-7217: adopt mongodb-client-encryption v7 (#4705)
  • NODE-6065: throw MongoRuntimeError instead of MissingDependencyError in crypto connection (#4711)
  • NODE-6584: improve typing for filepaths in AutoEncryptionOptions (#4341)
  • NODE-6334: rename PoolRequstedRetry to PoolRequestedRetry (#4696)
  • NODE-7174: drop support for Node16 and Node18 (#4668)
  • NODE-7047: use custom credential provider first after URI (#4656)
  • NODE-6988: require aws sdk for aws auth (#4659)

Features

  • NODE-4179: allow secureContext in KMS TLS options (#4578) (0ea6eaa)
  • NODE-4184: don't throw on aggregate with write concern and explain (#4718) (88e02a4)
  • NODE-4808: remove support for stream() transform on cursors and change streams (#4728) (1702987)
  • NODE-5055: Add databaseName property to command monitoring events (#4586) (3faf0c9)
  • NODE-5459: add durations to connection pool events (#4166) (7295695)
  • NODE-5464: OIDC machine and callback workflow (#3912) (2ba8434)
  • NODE-5545: remove deprecated objects (#4704) (cfbada6)
  • NODE-5614: add support for explicit resource management (#4177) (b3f3987)
  • NODE-5672: support standardized logging (#4387) (d1b2453)
  • NODE-5682: set maxTimeMS on commands and preempt I/O (#4174) (e4e6a5e)
  • NODE-5718: add ReadConcernMajorityNotAvailableYet to retryable errors (#4154) (4f32dec)
  • NODE-5754: allow auto select family options (#4185) (54efb7d)
  • NODE-5801: allow multiple providers providers per type (#4137) (4d209ce)
  • NODE-5838: remove support for server 3.6 (#4182) (7b71e1f)
  • NODE-5844: add iscryptd to ServerDescription (#4239) (c39d443)
  • NODE-5853: support delegated KMIP data key option (#4129) (aa429f8)
  • NODE-5908: support range v2 (#4141) (de253a7)
  • NODE-5994: Remove metadata-related properties from public driver API (#4716) (b59c5ce)
  • NODE-6060: set fire-and-forget protocol when writeConcern is w: 0 (#4219) (643a875)
  • NODE-6065: throw MongoRuntimeError instead of MissingDependencyError in crypto connection (#4711) (ff229fa)
  • NODE-6069: OIDC k8s machine workflow (#4270) (82c931c)
  • NODE-6090: Implement CSOT logic for connection checkout and server selection (bd8a9f4)
  • NODE-6136: parse cursor responses on demand (#4112) (3ed6a2a)
  • NODE-6141: allow custom aws sdk config (#4373) (3d047ed)
  • NODE-6157: add signature to github releases (#4119) (f38c5fe)
  • NODE-6225: add property ownership check before referencing mongocryptdSpawnPath and mongocryptdSpawnArgs (#4151) (f48f8d3)
  • NODE-6231: Add CSOT behaviour for retryable reads and writes (#4186) (2ffd5eb)
  • NODE-6244: Bump max supported wire version and server version (#4163) (45bc098)
  • NODE-6245: add keepAliveInitialDelay config (#4510) (d6c0eb3)
  • NODE-6252: insertMany and bulkWrite permit readonly arrays (#4175) (4b219d3)
  • NODE-6258: add signal support to find and aggregate (#4364) (73def18)
  • NODE-6274: add CSOT support to bulkWrite (#4250) (c5a9ae5)
  • NODE-6275: Add CSOT support to GridFS (#4246) (3cb8187)
  • NODE-6278: deprecate 3.6 servers (#4178) (35d8840)
  • NODE-6289: allow valid srv hostnames with less than 3 parts (#4197) (3d5bd51)
  • NODE-6290: add sort support to updateOne and replaceOne (#4515) (28857b7)
  • NODE-6296: remove cursor default batch size of 1000 (#4729) (f8a855f)
  • NODE-6304: add CSOT support for non-tailable cursors (#4195) (131f6ed)
  • NODE-6305: Add CSOT support to tailable cursors (#4218) (2398fc6)
  • NODE-6309: Mark range API as stable (#4190) (f53e9d9)
  • NODE-6312: add error transformation for server timeouts (#4192) (c2c0cb9)
  • NODE-6313: add CSOT support to sessions and transactions (#4199) (5f1102f)
  • NODE-6327: new client bulk write types and builders (#4205) (6d65ae7)
  • NODE-6329: client bulk write happy path (#4206) (3d3da40)
  • NODE-6334: rename PoolRequstedRetry to PoolRequestedRetry (#4696) (84db848)
  • 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-6365: pass through allowPartialTrustChain TLS flag (#4228) (d6c147d)
  • NODE-6377: remove noResponse option (#4724) (9e9059a)
  • NODE-6387: Add CSOT support to change streams (#4256) (4588ff2)
  • NODE-6389: add support for timeoutMS in StateMachine.execute() (#4243) (c55f965)
  • NODE-6390: Add timeoutMS support to auto encryption (#4265) (55e08e7)
  • NODE-6391: Add timeoutMS support to explicit encryption (#4269) (f745b99)
  • NODE-6392: add timeoutMS support to ClientEncryption helpers part 1 (#4281) (e86f11e)
  • NODE-6403: add CSOT support to client bulk write (#4261) (365d63b)
  • NODE-6409: new errors for unacknowledged bulk writes (#4276) (7fde8dd)
  • NODE-6419: deprecate explain options API for find and aggregate (#4271) (a473de9)
  • NODE-6421: add support for timeoutMS to explain helpers (#4268) (5b2629b)
  • NODE-6446: deprecate legacy timeout options (#4279) (c28608b)
  • NODE-6451: retry SRV and TXT lookup for DNS timeout errors (#4375) (fd902d3)
  • NODE-6472: findOne and find no longer keep open cursors (#4580) (be7f808)
  • NODE-6473: remove MONGODB-CR auth (#4717) (9a1bc65)
  • NODE-6494: add support for hint on distinct commands (#4487) (40d0e87)
  • NODE-6515: deprecate driver support for server 4.0 (#4517) (4c1a8a7)
  • NODE-6551: update bson to 6.10.0 (#4329) (adb15fe)
  • NODE-6584: improve typing for filepaths in AutoEncryptionOptions (#4341) (dab4c7c)
  • NODE-6593: add support for zstd@2.x (#4346) (ea8a33f)
  • NODE-6605: add error message when invalidating primary (#4340) (37613f1)
  • NODE-6633: MongoClient.close closes active cursors (#4372) (654069f)
  • NODE-6676: add support for nsType in change stream create events (#4431) (7800067)
  • NODE-6773: add support for $lookup with automatic encryption (#4427) (965b21a)
  • NODE-6865: deprecate transaction getters (#4567) (da46aea)
  • NODE-6882: eagerly close checked out connections when client is closed (#4499) (64fdb3e)
  • NODE-6883: allow rawData option on time series collections (#4642) (0fa3cd4)
  • 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)
  • NODE-6988: require aws sdk for aws auth (#4659) (b7c6750)
  • NODE-6991: deprecate unintentionally public client metadata types (#4566) (ca6554b)
  • NODE-7009: add client metadata on demand (#4574) (b9636ee)
  • NODE-7016: remove beta namespace and move resource management into driver (#4719) (fb2824f)
  • NODE-7020: remove ping on connect (#4607) (3d296b7)
  • NODE-7043, NODE-7217: adopt mongodb-client-encryption v7 (#4705) (3f7196e)
  • NODE-7046: remove AWS uri/options support (#4689) (d14ac3f)
  • NODE-7047: use custom credential provider first after URI (#4656) (2a47bbb)
  • NODE-7053: deprecate noResponse option (#4589) (1115319)
  • NODE-7059, NODE-7008: add support for text queries for QE string fields (#4597) (e4492f3)
  • 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-7150: update peer dependency matrix for 3rd party peer deps (#4720) (0451dae)
  • NODE-7157: deprecate retryWrites in CommandOperationOptions (#4661) (620972d)
  • NODE-7174: drop support for Node16 and Node18 (#4668) (a576b7d)
  • NODE-7223: run checkout on connect regardless of credentials (#4715) (c5f74ab)

Bug Fixes

  • NODE-4763: cache resumeToken in ChangeStream.tryNext() (#4636) (8331a93)
  • NODE-4845: allocate sessions lazily in cursors (#4575) (5761703)
  • NODE-5225: concurrent MongoClient.close() calls each attempt to close the client (#4376) (9419af7)
  • NODE-5720: on pre-4.4 sharded servers, the node driver uses error.writeConcern.code to determine retryability (#4155) (b26c328)
  • 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-6151: MongoClient connect does not keep Node.js running (#4101) (7e0d9e6)
  • NODE-6165: useBigInt64 causes compareTopologyVersion to throw (#4109) (21b729b)
  • NODE-6171: RTT set to zero when serverMonitoringMode=stream (#4110) (7a7ec5b)
  • NODE-6241: allow Binary as local KMS provider key (#4160) (fb724eb)
  • NODE-6241: allow Binary as local kms provider key for auto encryption (#4165) (d85f827)
  • NODE-6242: close becomes true after calling close when documents still remain (#4161) (e3d70c3)
  • 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-6340: OIDC reauth uses caches speculative auth result (#4379) (8b2b7fd)
  • 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)
  • NODE-6374: MongoOperationTimeoutError inherits MongoRuntimeError (#4237) (9fb896a)
  • NODE-6394: data events missed while awaiting drain (#4249) (3f9d243)
  • NODE-6407: use conversationId returned from server in saslContinue (#4368) (fbefa6b)
  • NODE-6412: read stale response from previously timed out connection (#4273) (fd8f3bd)
  • NODE-6418: change stream resumes infinitely after failed aggregates (#4267) (6ecf198)
  • NODE-6436: only force majority write concern on commitTransaction retry (#4284) (a7d1d43)
  • 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)
  • NODE-6583: upgrade to BSON v6.10.1 to remove internal unbounded type cache (#4338) (249c279)
  • NODE-6589: background task does not prune idle connections when minPoolSize=0 (#4569) (7cbb641)
  • 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)
  • NODE-6613: Update error messages when primaries go stale (#4397) (6528c8d)
  • NODE-6630: read all messages in buffer when chunk arrives (#4512) (8c86e30)
  • NODE-6638: throw if all atomic updates are undefined (#4519) (9625b2d)
  • NODE-6690: Remove extraneous Document in replaceOne return type (#4383) (6c81d4e)
  • NODE-6763: pass WriteConcernOptions instead on WriteConcernSettings (#4421) (26f15d7)
  • NODE-6765: FindOneAndUpdateOptions supports aggregation expressions (#4423) (421ddeb)
  • NODE-6777: update BSON to 6.10.3 (#4428) (db5b9e0)
  • 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)
  • NODE-6801: set token on connection from cache (#4438) (cb13746)
  • NODE-6803: kms proxy socket creates unhandled rejection (#4444) (ed69cf9)
  • NODE-6845: ensure internal rejections are handled (#4448) (06e941a)
  • NODE-6858: treat MongoServerSelectionError as a resumable error for Change Streams (#4653) (c6d64e7)
  • NODE-6864: socket errors are not always converted to MongoNetworkErrors (#4473) (2d86095)
  • NODE-6878: documents.clear() throws a TypeError after cursor is rewound (#4488) (a1fffeb)
  • NODE-6955: add missing wallTime property TS change stream event interfaces (#4541) (f153c6f)
  • NODE-6962: OIDC machine workflows use OIDCCallbacks internally (#4546) (bd6030f)
  • NODE-7138: prevent duplicate metadata from being appended to handshake metadata (#4651) (05c230c)
  • NODE-7232: only send endSessions during client close if the topology supports sessions (#4722) (cc85ebf)

Performance Improvements

  • NODE-5906: optimize toArray to use batches (#4171) (5565d50)
  • NODE-6452: Optimize CommandStartedEvent and CommandSucceededEvent constructors (#4371) (41b066b)
  • NODE-6525: remove setPrototype and defineProperty from hot path (#4321) (48ed47e)
  • NODE-6616: shortcircuit logging ejson.stringify (#4377) (c1bcf0d)

This PR was generated with Release Please. See documentation.

@github-actions github-actions bot changed the title chore(main): release 5.7.0 [skip-ci] chore(main): release 6.0.0 [skip-ci] Jul 7, 2023
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 6886c2c to 2ee465e Compare July 7, 2023 14:41
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 2ee465e to 96912b3 Compare July 26, 2023 22:37
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch 2 times, most recently from 2f7cc70 to 5384d46 Compare August 8, 2023 20:30
@github-actions github-actions bot changed the title chore(main): release 6.0.0 [skip-ci] chore(main): release 7.0.0 [skip-ci] Aug 31, 2023
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 5384d46 to c8d4f3d Compare August 31, 2023 21:01
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from c8d4f3d to 9153e2b Compare October 3, 2023 16:39
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 9153e2b to 5251074 Compare November 9, 2023 18:50
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 5251074 to c49af7f Compare February 12, 2024 21:40
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from c49af7f to 8510e04 Compare February 26, 2024 19:04
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 8510e04 to 189959f Compare March 8, 2024 18:29
baileympearson added a commit that referenced this pull request Mar 11, 2024
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 189959f to 7a25fed Compare April 23, 2024 20:56
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch 2 times, most recently from 9848470 to 29011f0 Compare May 29, 2024 19:13
@github-actions github-actions bot changed the title chore(main): release 7.0.0 [skip-ci] chore(main): release 6.8.0 [skip-ci] Jun 5, 2024
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch 2 times, most recently from 76ee303 to a71f5dd Compare June 7, 2024 21:02
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from a71f5dd to b44be57 Compare June 24, 2024 20:16
@github-actions github-actions bot changed the title chore(main): release 6.8.0 [skip-ci] chore(main): release 7.0.0 [skip-ci] Aug 21, 2024
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from b44be57 to f3e17e6 Compare August 21, 2024 14:48
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from f3e17e6 to 46a5109 Compare September 10, 2024 22:45
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch 2 times, most recently from 633d9fe to 972d426 Compare October 1, 2024 20:08
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 972d426 to b583ddb Compare October 31, 2024 17:28
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from b583ddb to cf3a437 Compare November 27, 2024 23:02
@github-actions github-actions bot changed the title chore(main): release 7.0.0 [skip-ci] chore(main): release 6.18.0 Jun 25, 2025
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from cf3a437 to 6248a09 Compare June 25, 2025 15:34
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 6248a09 to 08d2a27 Compare July 14, 2025 17:57
@github-actions github-actions bot changed the title chore(main): release 6.18.0 chore(main): release 6.19.0 Aug 5, 2025
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 08d2a27 to 912dc40 Compare August 5, 2025 17:22
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 912dc40 to 6ce1ead Compare August 25, 2025 18:28
@github-actions github-actions bot changed the title chore(main): release 6.19.0 chore(main): release 6.20.0 Aug 29, 2025
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 6ce1ead to 9757889 Compare August 29, 2025 20:02
@github-actions github-actions bot changed the title chore(main): release 6.20.0 chore(main): release 7.0.0 Sep 29, 2025
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from 9757889 to ac36e23 Compare September 29, 2025 20:02
@github-actions github-actions bot force-pushed the release-please--branches--main--components--mongodb branch from ac36e23 to 159392b Compare October 20, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant