mongodb/node-mongodb-native (mongodb)
### [`v6.6.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#660-2024-05-02)
[Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v6.5.0...v6.6.0)
##### Features
- **NODE-3639:** add a general stage to the aggregation pipeline builder ([#4079](https://togithub.com/mongodb/node-mongodb-native/issues/4079)) ([8fca1aa](https://togithub.com/mongodb/node-mongodb-native/commit/8fca1aaaeb611e26745c837868b7e7f47b287ad5))
- **NODE-5678:** add options parsing support for timeoutMS and defaultTimeoutMS ([#4068](https://togithub.com/mongodb/node-mongodb-native/issues/4068)) ([ddd1e81](https://togithub.com/mongodb/node-mongodb-native/commit/ddd1e81c970ae16b8b7adc7045832462d283e43c))
- **NODE-5762:** include `cause` and package name for all `MongoMissingDependencyError`s ([#4067](https://togithub.com/mongodb/node-mongodb-native/issues/4067)) ([62ea94b](https://togithub.com/mongodb/node-mongodb-native/commit/62ea94b9f529d1b850c77fb5219014159b4d27ab))
- **NODE-5825:** add `minRoundTripTime` to `ServerDescription` and change `roundTripTime` to a moving average ([#4059](https://togithub.com/mongodb/node-mongodb-native/issues/4059)) ([0e3d6ea](https://togithub.com/mongodb/node-mongodb-native/commit/0e3d6ead735ed067bd044c8d0c9c307d970f1986))
- **NODE-5919:** support new `type` option in create search index helpers ([#4060](https://togithub.com/mongodb/node-mongodb-native/issues/4060)) ([3598c23](https://togithub.com/mongodb/node-mongodb-native/commit/3598c23bff588f4f05f0f456261eb558d6f48cbf))
- **NODE-6020:** upgrade BSON to ^6.5.0 ([#4035](https://togithub.com/mongodb/node-mongodb-native/issues/4035)) ([8ab2055](https://togithub.com/mongodb/node-mongodb-native/commit/8ab205569436a629f8b7b8bbc7f6cb29a3939864))
##### Bug Fixes
- **NODE-3681:** Typescript error in Collection.findOneAndModify UpdateFilter $currentDate ([#4047](https://togithub.com/mongodb/node-mongodb-native/issues/4047)) ([a8670a7](https://togithub.com/mongodb/node-mongodb-native/commit/a8670a76cd2746e8353504c100050b474d844f36))
- **NODE-5530:** make topology descriptions JSON stringifiable ([#4070](https://togithub.com/mongodb/node-mongodb-native/issues/4070)) ([3a0e011](https://togithub.com/mongodb/node-mongodb-native/commit/3a0e01191be5836c4d41bd92c5cc64141b531dda))
- **NODE-5745:** ignore Read/Write Concern in Atlas Search Index Helpers ([#4042](https://togithub.com/mongodb/node-mongodb-native/issues/4042)) ([67d7bab](https://togithub.com/mongodb/node-mongodb-native/commit/67d7bab434164fa9a81e22edde9339f89be91f65))
- **NODE-5925:** driver throws error when non-read operation in a transaction has a ReadPreferenceMode other than 'primary' ([#4075](https://togithub.com/mongodb/node-mongodb-native/issues/4075)) ([39fc198](https://togithub.com/mongodb/node-mongodb-native/commit/39fc198b8fd2baed17c3aec223ca43094bb1c147))
- **NODE-5971:** attach `v` to createIndexes command when `version` is specified ([#4043](https://togithub.com/mongodb/node-mongodb-native/issues/4043)) ([1879a04](https://togithub.com/mongodb/node-mongodb-native/commit/1879a04b9053e8c77c6957e415886c534fe9992b))
- **NODE-5999:** Change TopologyDescription.error type to MongoError ([#4028](https://togithub.com/mongodb/node-mongodb-native/issues/4028)) ([30432e8](https://togithub.com/mongodb/node-mongodb-native/commit/30432e8664cb142e999159e5d06ceaaf14f51eb8))
- **NODE-6019:** indexExists always returns false when `full` is set to `true` ([#4034](https://togithub.com/mongodb/node-mongodb-native/issues/4034)) ([0ebc1ac](https://togithub.com/mongodb/node-mongodb-native/commit/0ebc1ac099a2ee869d8c1cb1c7632422c4e6a7ba))
- **NODE-6029:** update types for collection listing indexes ([#4072](https://togithub.com/mongodb/node-mongodb-native/issues/4072)) ([232bf3c](https://togithub.com/mongodb/node-mongodb-native/commit/232bf3cb9e41b717680ad0a5678bbc16d3cc243f))
- **NODE-6051:** only provide expected allowed keys to libmongocrypt after fetching aws kms credentials ([#4057](https://togithub.com/mongodb/node-mongodb-native/issues/4057)) ([c604e74](https://togithub.com/mongodb/node-mongodb-native/commit/c604e74e2ca0bcf827441558e40cecbaf9f4fe94))
- **NODE-6066:** ClusterTime.signature can be undefined ([#4069](https://togithub.com/mongodb/node-mongodb-native/issues/4069)) ([ce55ca9](https://togithub.com/mongodb/node-mongodb-native/commit/ce55ca9f5c7ea81058627b60e2cec5482d2be1f6))
##### Performance Improvements
- **NODE-6127:** move error construction into setTimeout callback ([#4094](https://togithub.com/mongodb/node-mongodb-native/issues/4094)) ([6abc074](https://togithub.com/mongodb/node-mongodb-native/commit/6abc074b3b1f2bbcc5d7252ab4cbfbd729fb4eb2))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.
### 💻 Website Preview
The latest changes are available as preview in: [https://a18870f6.graphql-scalars.pages.dev](https://a18870f6.graphql-scalars.pages.dev)
This PR contains the following updates:
6.5.0
->6.6.0
Release Notes
mongodb/node-mongodb-native (mongodb)
### [`v6.6.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#660-2024-05-02) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v6.5.0...v6.6.0) ##### Features - **NODE-3639:** add a general stage to the aggregation pipeline builder ([#4079](https://togithub.com/mongodb/node-mongodb-native/issues/4079)) ([8fca1aa](https://togithub.com/mongodb/node-mongodb-native/commit/8fca1aaaeb611e26745c837868b7e7f47b287ad5)) - **NODE-5678:** add options parsing support for timeoutMS and defaultTimeoutMS ([#4068](https://togithub.com/mongodb/node-mongodb-native/issues/4068)) ([ddd1e81](https://togithub.com/mongodb/node-mongodb-native/commit/ddd1e81c970ae16b8b7adc7045832462d283e43c)) - **NODE-5762:** include `cause` and package name for all `MongoMissingDependencyError`s ([#4067](https://togithub.com/mongodb/node-mongodb-native/issues/4067)) ([62ea94b](https://togithub.com/mongodb/node-mongodb-native/commit/62ea94b9f529d1b850c77fb5219014159b4d27ab)) - **NODE-5825:** add `minRoundTripTime` to `ServerDescription` and change `roundTripTime` to a moving average ([#4059](https://togithub.com/mongodb/node-mongodb-native/issues/4059)) ([0e3d6ea](https://togithub.com/mongodb/node-mongodb-native/commit/0e3d6ead735ed067bd044c8d0c9c307d970f1986)) - **NODE-5919:** support new `type` option in create search index helpers ([#4060](https://togithub.com/mongodb/node-mongodb-native/issues/4060)) ([3598c23](https://togithub.com/mongodb/node-mongodb-native/commit/3598c23bff588f4f05f0f456261eb558d6f48cbf)) - **NODE-6020:** upgrade BSON to ^6.5.0 ([#4035](https://togithub.com/mongodb/node-mongodb-native/issues/4035)) ([8ab2055](https://togithub.com/mongodb/node-mongodb-native/commit/8ab205569436a629f8b7b8bbc7f6cb29a3939864)) ##### Bug Fixes - **NODE-3681:** Typescript error in Collection.findOneAndModify UpdateFilter $currentDate ([#4047](https://togithub.com/mongodb/node-mongodb-native/issues/4047)) ([a8670a7](https://togithub.com/mongodb/node-mongodb-native/commit/a8670a76cd2746e8353504c100050b474d844f36)) - **NODE-5530:** make topology descriptions JSON stringifiable ([#4070](https://togithub.com/mongodb/node-mongodb-native/issues/4070)) ([3a0e011](https://togithub.com/mongodb/node-mongodb-native/commit/3a0e01191be5836c4d41bd92c5cc64141b531dda)) - **NODE-5745:** ignore Read/Write Concern in Atlas Search Index Helpers ([#4042](https://togithub.com/mongodb/node-mongodb-native/issues/4042)) ([67d7bab](https://togithub.com/mongodb/node-mongodb-native/commit/67d7bab434164fa9a81e22edde9339f89be91f65)) - **NODE-5925:** driver throws error when non-read operation in a transaction has a ReadPreferenceMode other than 'primary' ([#4075](https://togithub.com/mongodb/node-mongodb-native/issues/4075)) ([39fc198](https://togithub.com/mongodb/node-mongodb-native/commit/39fc198b8fd2baed17c3aec223ca43094bb1c147)) - **NODE-5971:** attach `v` to createIndexes command when `version` is specified ([#4043](https://togithub.com/mongodb/node-mongodb-native/issues/4043)) ([1879a04](https://togithub.com/mongodb/node-mongodb-native/commit/1879a04b9053e8c77c6957e415886c534fe9992b)) - **NODE-5999:** Change TopologyDescription.error type to MongoError ([#4028](https://togithub.com/mongodb/node-mongodb-native/issues/4028)) ([30432e8](https://togithub.com/mongodb/node-mongodb-native/commit/30432e8664cb142e999159e5d06ceaaf14f51eb8)) - **NODE-6019:** indexExists always returns false when `full` is set to `true` ([#4034](https://togithub.com/mongodb/node-mongodb-native/issues/4034)) ([0ebc1ac](https://togithub.com/mongodb/node-mongodb-native/commit/0ebc1ac099a2ee869d8c1cb1c7632422c4e6a7ba)) - **NODE-6029:** update types for collection listing indexes ([#4072](https://togithub.com/mongodb/node-mongodb-native/issues/4072)) ([232bf3c](https://togithub.com/mongodb/node-mongodb-native/commit/232bf3cb9e41b717680ad0a5678bbc16d3cc243f)) - **NODE-6051:** only provide expected allowed keys to libmongocrypt after fetching aws kms credentials ([#4057](https://togithub.com/mongodb/node-mongodb-native/issues/4057)) ([c604e74](https://togithub.com/mongodb/node-mongodb-native/commit/c604e74e2ca0bcf827441558e40cecbaf9f4fe94)) - **NODE-6066:** ClusterTime.signature can be undefined ([#4069](https://togithub.com/mongodb/node-mongodb-native/issues/4069)) ([ce55ca9](https://togithub.com/mongodb/node-mongodb-native/commit/ce55ca9f5c7ea81058627b60e2cec5482d2be1f6)) ##### Performance Improvements - **NODE-6127:** move error construction into setTimeout callback ([#4094](https://togithub.com/mongodb/node-mongodb-native/issues/4094)) ([6abc074](https://togithub.com/mongodb/node-mongodb-native/commit/6abc074b3b1f2bbcc5d7252ab4cbfbd729fb4eb2))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.