Ruffpuff1 / foxxie

https://foxxie.reese.gay
MIT License
5 stars 2 forks source link

chore(deps): update dependency mongodb to v4 #560

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongodb ^3.7.3 -> ^4.0.0 age adoption passing confidence

Release Notes

mongodb/node-mongodb-native ### [`v4.7.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​470-httpsgithubcommongodbnode-mongodb-nativecomparev460v470-2022-06-06) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.6.0...v4.7.0) ##### Features - **NODE-1837:** add zstd compression option ([#​3237](https://togithub.com/mongodb/node-mongodb-native/issues/3237)) ([1261432](https://togithub.com/mongodb/node-mongodb-native/commit/12614320d34478693ad3821e75f7b15da44c2230)) - **NODE-2993:** implement maxConnecting ([#​3255](https://togithub.com/mongodb/node-mongodb-native/issues/3255)) ([c9d3816](https://togithub.com/mongodb/node-mongodb-native/commit/c9d38163199d5cb0974d2c497e80e4c317927f6e)) - **NODE-3750:** make maxConnecting configurable ([#​3261](https://togithub.com/mongodb/node-mongodb-native/issues/3261)) ([ee41447](https://togithub.com/mongodb/node-mongodb-native/commit/ee414476aa839e364bce6b26ab47859be1b99307)) - **NODE-3938:** Add support for pre/post images in change streams ([#​3250](https://togithub.com/mongodb/node-mongodb-native/issues/3250)) ([981465c](https://togithub.com/mongodb/node-mongodb-native/commit/981465c35e9c104ef3e4de3d9c5d033337220cf7)) - **NODE-4079:** estimated document count uses count ([#​3244](https://togithub.com/mongodb/node-mongodb-native/issues/3244)) ([a752e75](https://togithub.com/mongodb/node-mongodb-native/commit/a752e75a26025e56ab9e47e4da59e1e6ccee511f)) - **NODE-4081:** fix and deprecate change stream resume options ([#​3270](https://togithub.com/mongodb/node-mongodb-native/issues/3270)) ([47adfb3](https://togithub.com/mongodb/node-mongodb-native/commit/47adfb3db6e38e153e8e78f2b6e4463754775cc6)) - **NODE-4139:** streaming protocol message changes ([#​3256](https://togithub.com/mongodb/node-mongodb-native/issues/3256)) ([4b9ad77](https://togithub.com/mongodb/node-mongodb-native/commit/4b9ad777fb78cc37b71dece0e647593950efccb8)) - **NODE-4192:** make MongoClient.connect optional ([#​3232](https://togithub.com/mongodb/node-mongodb-native/issues/3232)) ([a2359e4](https://togithub.com/mongodb/node-mongodb-native/commit/a2359e43d7a59acf69785104b5f6e6c1516a5e27)) - **NODE-4196:** add support for showExpandedEvents in change streams ([#​3254](https://togithub.com/mongodb/node-mongodb-native/issues/3254)) ([9c1782e](https://togithub.com/mongodb/node-mongodb-native/commit/9c1782e23c7d63dc45d9242e451953fb2ef294a6)) - **NODE-4229:** bump maxWireVersion to 17 ([#​3265](https://togithub.com/mongodb/node-mongodb-native/issues/3265)) ([d13cec2](https://togithub.com/mongodb/node-mongodb-native/commit/d13cec2e1ae1da2983218275aefccc48d0cfd260)) ##### Bug Fixes - **NODE-4103:** respect BSON options when creating change streams ([#​3247](https://togithub.com/mongodb/node-mongodb-native/issues/3247)) ([b2798d9](https://togithub.com/mongodb/node-mongodb-native/commit/b2798d939ee9ed7a5ff9a63980ad6a29ddea3cf1)) - **NODE-4108:** improve return type for withTransaction() ([#​3236](https://togithub.com/mongodb/node-mongodb-native/issues/3236)) ([48e0e6e](https://togithub.com/mongodb/node-mongodb-native/commit/48e0e6ed17a5227b0781cbdf8c547824e5c26d59)) - **NODE-4254:** allow csfle to be dynamically required ([#​3260](https://togithub.com/mongodb/node-mongodb-native/issues/3260)) ([cd6b5a0](https://togithub.com/mongodb/node-mongodb-native/commit/cd6b5a08964363d93be5d702476b5d331c78a7b2)) - **NODE-4281:** ensure that the driver always uses Node.js timers ([#​3275](https://togithub.com/mongodb/node-mongodb-native/issues/3275)) ([4501a1c](https://togithub.com/mongodb/node-mongodb-native/commit/4501a1ce55ba4adf141fdb851ccd33ff4f2a4e59)) ### [`v4.6.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​460-httpsgithubcommongodbnode-mongodb-nativecomparev460-alpha0v460-2022-05-11) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.5.0...v4.6.0) ##### Features - **NODE-4185:** Allow opting out of disk use on cursor builder ([#​3230](https://togithub.com/mongodb/node-mongodb-native/issues/3230)) ([d216725](https://togithub.com/mongodb/node-mongodb-native/commit/d216725fd7557811170abea2ed06856e5940395b)) - **NODE-4189:** Add support for clustered collections ([#​3229](https://togithub.com/mongodb/node-mongodb-native/issues/3229)) ([79a917b](https://togithub.com/mongodb/node-mongodb-native/commit/79a917b3d6426f681f0ba55243d29c92a7254dcc)) ##### Bug Fixes - **NODE-3565:** Improve error message for insertMany with partially empty array ([#​3221](https://togithub.com/mongodb/node-mongodb-native/issues/3221)) ([0ef2516](https://togithub.com/mongodb/node-mongodb-native/commit/0ef251655271b1a9200d5f23344092e9513c5379)) - **NODE-4232:** stream() also returns generic AsyncIterable ([ed4ba58](https://togithub.com/mongodb/node-mongodb-native/commit/ed4ba587b991a8979d73af5ba6f3ff2690a21f85)) ### [`v4.5.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​450-httpsgithubcommongodbnode-mongodb-nativecomparev441v450-2022-04-04) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.4.1...v4.5.0) ##### Features - **NODE-3697:** reduce serverSession allocation ([#​3171](https://togithub.com/mongodb/node-mongodb-native/issues/3171)) ([5132bc9](https://togithub.com/mongodb/node-mongodb-native/commit/5132bc9d8ba816b0d98e1fceb6dfc96be0beb1da)) - **NODE-3699:** add support for `comment` field ([#​3167](https://togithub.com/mongodb/node-mongodb-native/issues/3167)) ([4e2f9bf](https://togithub.com/mongodb/node-mongodb-native/commit/4e2f9bf924872067b6ddbf98809bd0c1577f2017)) - **NODE-4014:** Add let option to bulk write operations ([#​3160](https://togithub.com/mongodb/node-mongodb-native/issues/3160)) ([6f633d1](https://togithub.com/mongodb/node-mongodb-native/commit/6f633d1a742fbb150cdb654c37c1380f40e798b1)) - **NODE-4085:** add typings for csfle shared library option support ([#​3179](https://togithub.com/mongodb/node-mongodb-native/issues/3179)) ([d2897ab](https://togithub.com/mongodb/node-mongodb-native/commit/d2897ab4010a74e5fc98617785dfc9068c453c93)) ##### Bug Fixes - **NODE-3769:** retryable writes are not compliant with specification ([#​3144](https://togithub.com/mongodb/node-mongodb-native/issues/3144)) ([ff26b12](https://togithub.com/mongodb/node-mongodb-native/commit/ff26b12543206f58a379460348dbef8144fd1ac4)) - **NODE-3810:** delay timeout errors by one event loop tick ([#​3180](https://togithub.com/mongodb/node-mongodb-native/issues/3180)) ([0ed7cbf](https://togithub.com/mongodb/node-mongodb-native/commit/0ed7cbff646725655d1bc3855be0570c19dad91c)) - **NODE-4069:** remove 'default' from options for fullDocument field in change stream options ([#​3169](https://togithub.com/mongodb/node-mongodb-native/issues/3169)) ([799689e](https://togithub.com/mongodb/node-mongodb-native/commit/799689e9f831dce00db8b95799491a2f873b95cf)) - **NODE-4074:** ensure getTopology doesn't throw synchronously ([#​3172](https://togithub.com/mongodb/node-mongodb-native/issues/3172)) ([329f081](https://togithub.com/mongodb/node-mongodb-native/commit/329f08166d13eafe282cc2e5912a603a9bb336c1)) - **NODE-4129:** constrain `watch` type parameter to extend `ChangeStream` type parameter ([#​3183](https://togithub.com/mongodb/node-mongodb-native/issues/3183)) ([43ba9fc](https://togithub.com/mongodb/node-mongodb-native/commit/43ba9fcc2730081a25d608af95a4193cc4a1ce8c)) ##### [4.4.1](https://togithub.com/mongodb/node-mongodb-native/compare/v4.4.0...v4.4.1) (2022-03-03) ##### Features - **NODE-3866:** Add let option to ReplaceOptions for replaceOne operation ([#​3148](https://togithub.com/mongodb/node-mongodb-native/issues/3148)) ([f76635a](https://togithub.com/mongodb/node-mongodb-native/commit/f76635a0b5f268cb52a37afe050a8574630622c0)) ##### Bug Fixes - **NODE-3521:** update session support checks ([#​3151](https://togithub.com/mongodb/node-mongodb-native/issues/3151)) ([aaa453d](https://togithub.com/mongodb/node-mongodb-native/commit/aaa453d6e35be887d12cba8260780dd2c7fb39e0)) - **NODE-3948:** Add error code to MongoSystemError ([#​3149](https://togithub.com/mongodb/node-mongodb-native/issues/3149)) ([446da95](https://togithub.com/mongodb/node-mongodb-native/commit/446da952db3e20d859a42b08481ac88b0e8e0f08)) ### [`v4.4.1`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​441-httpsgithubcommongodbnode-mongodb-nativecomparev440v441-2022-03-03) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.4.0...v4.4.1) ### [`v4.4.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​440-httpsgithubcommongodbnode-mongodb-nativecomparev431v440-2022-02-17) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.3.1...v4.4.0) ##### Features - **NODE-2938:** add service host mechanism property ([#​3130](https://togithub.com/mongodb/node-mongodb-native/issues/3130)) ([46d5821](https://togithub.com/mongodb/node-mongodb-native/commit/46d5821088e5897cd707246ef55f3474bc1c130c)) - **NODE-2939:** add new hostname canonicalization opts ([#​3131](https://togithub.com/mongodb/node-mongodb-native/issues/3131)) ([d0390d0](https://togithub.com/mongodb/node-mongodb-native/commit/d0390d02f53bd385f65d749f6a019568b0b98210)) - **NODE-3351:** use hostname canonicalization ([#​3122](https://togithub.com/mongodb/node-mongodb-native/issues/3122)) ([f5c76f3](https://togithub.com/mongodb/node-mongodb-native/commit/f5c76f3ef61bc319790c6b8072c72489c2a2041f)) - **NODE-3777:** add csfle kmip support ([#​3070](https://togithub.com/mongodb/node-mongodb-native/issues/3070)) ([44bbd6e](https://togithub.com/mongodb/node-mongodb-native/commit/44bbd6e94d58fac9eb07a07e5437662eb6409dc5)) - **NODE-3867:** deprecate cursor count and update v4 docs ([#​3127](https://togithub.com/mongodb/node-mongodb-native/issues/3127)) ([a48d7e2](https://togithub.com/mongodb/node-mongodb-native/commit/a48d7e2c69e7d9010f65a34859afcbaee7f01d9b)) ##### Bug Fixes - fix csfle imports ([#​3142](https://togithub.com/mongodb/node-mongodb-native/issues/3142)) ([541e939](https://togithub.com/mongodb/node-mongodb-native/commit/541e939e2ef3376930efd1b0077d984a578fa205)) - **NODE-3621:** fixed type of documentKey property on ChangeStreamDocument ([#​3118](https://togithub.com/mongodb/node-mongodb-native/issues/3118)) ([c63a21b](https://togithub.com/mongodb/node-mongodb-native/commit/c63a21b1d42f10359cfe7c34ff18ff73b70379a2)) - **NODE-3795:** unexpected No auth provider for DEFAULT defined error ([#​3092](https://togithub.com/mongodb/node-mongodb-native/issues/3092)) ([fb38a56](https://togithub.com/mongodb/node-mongodb-native/commit/fb38a561a3025f21b3c926e54336ce2fd2f79d17)) - **NODE-3813:** unexpected type conversion of read preference tags ([#​3138](https://togithub.com/mongodb/node-mongodb-native/issues/3138)) ([3e7b894](https://togithub.com/mongodb/node-mongodb-native/commit/3e7b89483ed858c54b8378526e28346d0ea8ba19)) - **NODE-3878:** use legacy count operation on collection.count ([#​3126](https://togithub.com/mongodb/node-mongodb-native/issues/3126)) ([12c6835](https://togithub.com/mongodb/node-mongodb-native/commit/12c6835155c256eefac8fed7bd36c41120731b91)) - **NODE-3917:** Throw an error when directConnection is set with multiple hosts ([#​3143](https://togithub.com/mongodb/node-mongodb-native/issues/3143)) ([b192493](https://togithub.com/mongodb/node-mongodb-native/commit/b192493cd790e5fd7c05ca4926535e06ceffb55e)) ##### [4.3.1](https://togithub.com/mongodb/node-mongodb-native/compare/v4.3.0...v4.3.1) (2022-01-18) ##### Bug Fixes - **NODE-3792:** remove offensive language throughout the codebase ([#​3091](https://togithub.com/mongodb/node-mongodb-native/issues/3091)) ([8e2b0cc](https://togithub.com/mongodb/node-mongodb-native/commit/8e2b0ccc273d18f5d744807b990f80f014ca16f6)) - **NODE-3852,NODE-3854,NODE-3856:** Misc typescript fixes for 4.3.1 ([#​3102](https://togithub.com/mongodb/node-mongodb-native/issues/3102)) ([dd5195a](https://togithub.com/mongodb/node-mongodb-native/commit/dd5195a5a6d2ae3ae7817685270ae19c3a7f1b06)) ### [`v4.3.1`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​431-httpsgithubcommongodbnode-mongodb-nativecomparev430v431-2022-01-18) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.3.0...v4.3.1) ### [`v4.3.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​430-httpsgithubcommongodbnode-mongodb-nativecomparev422v430-2022-01-06) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.2.2...v4.3.0) ##### Features - **NODE-3589:** support dot-notation attributes in Filter ([#​2972](https://togithub.com/mongodb/node-mongodb-native/issues/2972)) ([76fff97](https://togithub.com/mongodb/node-mongodb-native/commit/76fff97606d5e8b33ff8453400ccaefd18a54a1a)) - **NODE-3633:** add Socks5 support ([#​3041](https://togithub.com/mongodb/node-mongodb-native/issues/3041)) ([451627a](https://togithub.com/mongodb/node-mongodb-native/commit/451627a3a5ac93f259410a12b71d87b0911715e1)) - **NODE-3784:** Add `enableUtf8Validation` option ([#​3074](https://togithub.com/mongodb/node-mongodb-native/issues/3074)) ([4f56409](https://togithub.com/mongodb/node-mongodb-native/commit/4f56409e5ddeaf9aa1796135008869dec9d7c690)) - **NODE-3793:** Remove offensive language from code and tests ([#​3082](https://togithub.com/mongodb/node-mongodb-native/issues/3082)) ([91a67e0](https://togithub.com/mongodb/node-mongodb-native/commit/91a67e0f370e46b36665966ad49988207907624d)) ##### Bug Fixes - **gridfs:** make `GridFSBucketWriteStream.prototype.end()` return `this` for compat with [@​types/node](https://togithub.com/types/node)[@​17](https://togithub.com/17).0.6 ([#​3088](https://togithub.com/mongodb/node-mongodb-native/issues/3088)) ([7bb9e37](https://togithub.com/mongodb/node-mongodb-native/commit/7bb9e3729a23e845a68532f554808fb52decfacb)) - **NODE-2899:** sort and correct circular imports ([#​3072](https://togithub.com/mongodb/node-mongodb-native/issues/3072)) ([48cc729](https://togithub.com/mongodb/node-mongodb-native/commit/48cc72940ac13a81a1aef7899d227da9159f0675)) - **NODE-3675:** SRV option bug correctly defaults authSource to $external ([#​3079](https://togithub.com/mongodb/node-mongodb-native/issues/3079)) ([30f2a2d](https://togithub.com/mongodb/node-mongodb-native/commit/30f2a2d9304a429f025a0be244c83ca97e72cddf)) - **NODE-3803:** Fix \_id typing on collection create operations ([#​3077](https://togithub.com/mongodb/node-mongodb-native/issues/3077)) ([f1979db](https://togithub.com/mongodb/node-mongodb-native/commit/f1979db85370bf8b674ff7074d5e5b1dd1a020e9)) ##### [4.2.2](https://togithub.com/mongodb/node-mongodb-native/compare/v4.2.1...v4.2.2) (2021-12-13) ##### Bug Fixes - **NODE-3705:** ReadPreference.fromOptions omitting hedge and maxStalenessSeconds when readPreference is a string ([#​3060](https://togithub.com/mongodb/node-mongodb-native/issues/3060)) ([b9fbac5](https://togithub.com/mongodb/node-mongodb-native/commit/b9fbac5b13e0305a196f05b30b25111632f3ef13)) - **NODE-3711:** retry txn end on retryable write ([#​3045](https://togithub.com/mongodb/node-mongodb-native/issues/3045)) ([7b00d0f](https://togithub.com/mongodb/node-mongodb-native/commit/7b00d0f06052b5302583fedec15796142cb151cf)) - **NODE-3765:** make replacement for replaceOne operations without \_id ([#​3040](https://togithub.com/mongodb/node-mongodb-native/issues/3040)) ([e07e564](https://togithub.com/mongodb/node-mongodb-native/commit/e07e564dc073eee12d12c98635f7d61a04665251)) - stricter protocol check in connection string ([#​3078](https://togithub.com/mongodb/node-mongodb-native/issues/3078)) ([bc05671](https://togithub.com/mongodb/node-mongodb-native/commit/bc056719dac0b34cbfd59ac544f92a992f30ca76)) ##### [4.2.1](https://togithub.com/mongodb/node-mongodb-native/compare/v4.2.0...v4.2.1) (2021-11-30) ##### Bug Fixes - **NODE-2370:** correct a return type of hasNext() ([#​3058](https://togithub.com/mongodb/node-mongodb-native/issues/3058)) ([b6a63df](https://togithub.com/mongodb/node-mongodb-native/commit/b6a63df6269898fb09dd180b512197822727e90a)) - **NODE-3627:** Enable flexible BSON validation for server error key containing invalid utf-8 ([#​3054](https://togithub.com/mongodb/node-mongodb-native/issues/3054)) ([7a507f0](https://togithub.com/mongodb/node-mongodb-native/commit/7a507f08905d2e30f4c4b53adf0bf506e65e357f)) - **NODE-3648:** run get more ops through server selection ([#​3030](https://togithub.com/mongodb/node-mongodb-native/issues/3030)) ([268e211](https://togithub.com/mongodb/node-mongodb-native/commit/268e2110c0a26e51fa82f42e84251a21fa30a5d0)) - **NODE-3767:** don't delete dbName if authSource is provided ([#​3055](https://togithub.com/mongodb/node-mongodb-native/issues/3055)) ([0a830e2](https://togithub.com/mongodb/node-mongodb-native/commit/0a830e240adcd8564b6f11d8af0da50a411db58f)) - **NODE-3770:** Filter type uses WithId on the schema ([#​3053](https://togithub.com/mongodb/node-mongodb-native/issues/3053)) ([307d623](https://togithub.com/mongodb/node-mongodb-native/commit/307d623ea597c5d89c548b6731bd692fec7a8047)) ### [`v4.2.2`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​422-httpsgithubcommongodbnode-mongodb-nativecomparev421v422-2021-12-13) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.2.1...v4.2.2) ### [`v4.2.1`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​421-httpsgithubcommongodbnode-mongodb-nativecomparev420v421-2021-11-30) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.2.0...v4.2.1) ### [`v4.2.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​420-httpsgithubcommongodbnode-mongodb-nativecomparev413v420-2021-11-17) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.1.4...v4.2.0) ##### Features - **NODE-3083:** support aggregate writes on secondaries ([#​3022](https://togithub.com/mongodb/node-mongodb-native/issues/3022)) ([f696909](https://togithub.com/mongodb/node-mongodb-native/commit/f69690917c2355619027872b676bdaeeb254e427)) - **NODE-3446:** deprecate mapReduce command ([#​3036](https://togithub.com/mongodb/node-mongodb-native/issues/3036)) ([b6c73bf](https://togithub.com/mongodb/node-mongodb-native/commit/b6c73bf7ec71204eceee34dce4fc572830072cd0)) - **NODE-3467:** implement srvMaxHosts, srvServiceName options ([#​3031](https://togithub.com/mongodb/node-mongodb-native/issues/3031)) ([1f8b539](https://togithub.com/mongodb/node-mongodb-native/commit/1f8b539cd3d60dd9f36baa22fd287241b5c65380)) - **NODE-3469,NODE-3615,NODE-3507:** update min and max wire versions ([#​3014](https://togithub.com/mongodb/node-mongodb-native/issues/3014)) ([2a78d5a](https://togithub.com/mongodb/node-mongodb-native/commit/2a78d5a185ce1a6e8f35ce89dae479fcd0877bc6)) - **NODE-3691:** make time series options granularity type strict ([#​3005](https://togithub.com/mongodb/node-mongodb-native/issues/3005)) ([98017f9](https://togithub.com/mongodb/node-mongodb-native/commit/98017f9f7f7c218de7eeb44fb14d749d774acc38)) - **NODE-3692:** make change stream events typing more generic ([#​3034](https://togithub.com/mongodb/node-mongodb-native/issues/3034)) ([d5ae78e](https://togithub.com/mongodb/node-mongodb-native/commit/d5ae78ed73c1d7a850b9a830d1a9ef5c6b963bfb)) - **NODE-3728:** Allow to pass `authorizedCollections` option to the `db.listCollections` method ([#​3021](https://togithub.com/mongodb/node-mongodb-native/issues/3021)) ([e1234a7](https://togithub.com/mongodb/node-mongodb-native/commit/e1234a795f05ed687014651c154c8b9f9e8f2cbb)) - **NODE-3729:** add withId to default return type for collection.find and collection.findOne ([#​3039](https://togithub.com/mongodb/node-mongodb-native/issues/3039)) ([52520aa](https://togithub.com/mongodb/node-mongodb-native/commit/52520aac08ddb73888c7e6ee133f94ab5a481094)) ##### Bug Fixes - **NODE-3116:** reschedule unreliable async interval first ([#​3006](https://togithub.com/mongodb/node-mongodb-native/issues/3006)) ([33886a7](https://togithub.com/mongodb/node-mongodb-native/commit/33886a7ca5601b687d4be1062b5fe8583ec54b6d)) - **NODE-3344:** allow setting `defaultTransactionOptions` with POJO rather than ReadConcern instance ([#​3032](https://togithub.com/mongodb/node-mongodb-native/issues/3032)) ([53b3164](https://togithub.com/mongodb/node-mongodb-native/commit/53b3164b8ceb19c8c8be8b5084fd03476f5635b9)) - **NODE-3515:** do proper opTime merging in bulk results ([#​3012](https://togithub.com/mongodb/node-mongodb-native/issues/3012)) ([43300c3](https://togithub.com/mongodb/node-mongodb-native/commit/43300c393a190c00f174bc5be0b3fc6d0906e970)) - **NODE-3668:** compile error with OptionalId on TS 4.5 beta ([#​3004](https://togithub.com/mongodb/node-mongodb-native/issues/3004)) ([ee7f095](https://togithub.com/mongodb/node-mongodb-native/commit/ee7f095e28aacf07014de8055ce75b16a92a8965)) - **NODE-3726:** add optional option overloads of Db's createCollection function ([#​3019](https://togithub.com/mongodb/node-mongodb-native/issues/3019)) ([c3149e1](https://togithub.com/mongodb/node-mongodb-native/commit/c3149e17f301e7333fb5504b58b01e74f324c8e3)) - **NODE-3727:** add overloads for BulkOperationBase's execute function ([#​3018](https://togithub.com/mongodb/node-mongodb-native/issues/3018)) ([216d194](https://togithub.com/mongodb/node-mongodb-native/commit/216d1949301438b74ed71da8af9bb766bcbdbf92)) ##### [4.1.3](https://togithub.com/mongodb/node-mongodb-native/compare/v4.1.2...v4.1.3) (2021-10-05) ##### Bug Fixes - **NODE-3609:** correct listDatabases return type ([#​2986](https://togithub.com/mongodb/node-mongodb-native/issues/2986)) ([a8e9938](https://togithub.com/mongodb/node-mongodb-native/commit/a8e9938abcb00b67816438fb7c9db890e35d63c9)) - **NODE-3624:** Incorrect default aggregation generic type ([#​2987](https://togithub.com/mongodb/node-mongodb-native/issues/2987)) ([440517e](https://togithub.com/mongodb/node-mongodb-native/commit/440517edb3980135dd9fcdbc9e96b5fec8baa067)) ##### [4.1.2](https://togithub.com/mongodb/node-mongodb-native/compare/v4.1.1...v4.1.2) (2021-09-14) ##### Bug Fixes - **NODE-3434:** errInfo should be exposed on bulk write ([#​2977](https://togithub.com/mongodb/node-mongodb-native/issues/2977)) ([6b3c161](https://togithub.com/mongodb/node-mongodb-native/commit/6b3c161675df30b728a9fecfdb7ac7dcb8461598)) - **NODE-3467:** allow object type for aggregate out helper ([#​2971](https://togithub.com/mongodb/node-mongodb-native/issues/2971)) ([cd603e8](https://togithub.com/mongodb/node-mongodb-native/commit/cd603e8c78f24422dcad4c65e9ca22eed94aa55e)) - **NODE-3487:** check for nullish aws mechanism property ([#​2951](https://togithub.com/mongodb/node-mongodb-native/issues/2951)) ([78ec0dd](https://togithub.com/mongodb/node-mongodb-native/commit/78ec0ddabb3c875b204abc748910515d8344d711)) - **NODE-3559:** incorrect GridFS stream type ([#​2981](https://togithub.com/mongodb/node-mongodb-native/issues/2981)) ([3915ea8](https://togithub.com/mongodb/node-mongodb-native/commit/3915ea83f546588817c291b6aa8c0e712c5bcdd8)) - **NODE-3567:** correct typing on aggregation out helper ([#​2967](https://togithub.com/mongodb/node-mongodb-native/issues/2967)) ([a299a0b](https://togithub.com/mongodb/node-mongodb-native/commit/a299a0bf30decef451b4fd3218ea2c9719fd962e)) - **NODE-3574:** reintroduce ObjectID export ([#​2965](https://togithub.com/mongodb/node-mongodb-native/issues/2965)) ([2291119](https://togithub.com/mongodb/node-mongodb-native/commit/2291119512160d6d0bef9215f95d60264cd225ab)) - **NODE-3585:** MongoClientOptions#compressors has incorrect type ([#​2976](https://togithub.com/mongodb/node-mongodb-native/issues/2976)) ([f1b896d](https://togithub.com/mongodb/node-mongodb-native/commit/f1b896de6cbea212cf877696977300c7fa394a1a)) - **NODE-3591:** tlsCertificateKeyFile option does not default cert ([#​2979](https://togithub.com/mongodb/node-mongodb-native/issues/2979)) ([6d42267](https://togithub.com/mongodb/node-mongodb-native/commit/6d42267925947793af88d8d810790cade3545ea8)) - **NODE-3599:** incorrect indexes return type ([#​2980](https://togithub.com/mongodb/node-mongodb-native/issues/2980)) ([122b9f3](https://togithub.com/mongodb/node-mongodb-native/commit/122b9f3045368f2bd71c635ed4fe12ddf4e16e4c)) ##### [4.1.1](https://togithub.com/mongodb/node-mongodb-native/compare/v4.1.0...v4.1.1) (2021-08-24) ##### Bug Fixes - **NODE-3454:** projection types are too narrow ([#​2924](https://togithub.com/mongodb/node-mongodb-native/issues/2924)) ([48d6da9](https://togithub.com/mongodb/node-mongodb-native/commit/48d6da99b7990b03df5043a879db3dece5615ad8)) - **NODE-3468:** remove generic overrides from find ([#​2935](https://togithub.com/mongodb/node-mongodb-native/issues/2935)) ([74bd7bd](https://togithub.com/mongodb/node-mongodb-native/commit/74bd7bdd7a9d02c81cafec1237cb477192778cd8)) - **NODE-3511:** deprecate fullResponse and remove associated buggy code paths ([#​2943](https://togithub.com/mongodb/node-mongodb-native/issues/2943)) ([dfc39d1](https://togithub.com/mongodb/node-mongodb-native/commit/dfc39d175b03b6f34568f92ffd0107b829015c7d)) - **NODE-3528:** add support for snappy 7 ([#​2939](https://togithub.com/mongodb/node-mongodb-native/issues/2939)) ([0f7f300](https://togithub.com/mongodb/node-mongodb-native/commit/0f7f3003b948d230edf1491fab775e7acc29381e)) - **NODE-3546:** revert findOne not found result type to null ([#​2945](https://togithub.com/mongodb/node-mongodb-native/issues/2945)) ([1c576e9](https://togithub.com/mongodb/node-mongodb-native/commit/1c576e9ff525a177ae886cf51e7b52e2e6a56676)) ### [`v4.1.4`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v4.1.4) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.1.3...v4.1.4) #### Release Highlights This release includes a couple of bug fixes as noted below: ##### Bug Fixes - **NODE-3515:** do proper opTime merging in bulk results ([#​3012](https://togithub.com/mongodb/node-mongodb-native/issues/3012)) ([43300c3](https://togithub.com/mongodb/node-mongodb-native/commit/43300c393a190c00f174bc5be0b3fc6d0906e970)) - **NODE-3668:** compile error with OptionalId on TS 4.5 beta ([#​3004](https://togithub.com/mongodb/node-mongodb-native/issues/3004)) ([ee7f095](https://togithub.com/mongodb/node-mongodb-native/commit/ee7f095e28aacf07014de8055ce75b16a92a8965)) #### Documentation - Reference: https://docs.mongodb.com/drivers/node - API: https://mongodb.github.io/node-mongodb-native/4.1 - Changelog: https://github.com/mongodb/node-mongodb-native/blob/4.1/HISTORY.md We invite you to try the mongodb library immediately, and report any issues to the [NODE project](https://jira.mongodb.org/projects/NODE). ### [`v4.1.3`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​413-httpsgithubcommongodbnode-mongodb-nativecomparev412v413-2021-10-05) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.1.2...v4.1.3) ### [`v4.1.2`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​412-httpsgithubcommongodbnode-mongodb-nativecomparev411v412-2021-09-14) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.1.1...v4.1.2) ### [`v4.1.1`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​411-httpsgithubcommongodbnode-mongodb-nativecomparev410v411-2021-08-24) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​410-httpsgithubcommongodbnode-mongodb-nativecomparev401v410-2021-08-03) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.0.1...v4.1.0) ##### Features - **NODE-2843:** implement sessions advanceClusterTime method ([#​2920](https://togithub.com/mongodb/node-mongodb-native/issues/2920)) ([1fd0244](https://togithub.com/mongodb/node-mongodb-native/commit/1fd0244d77a304460948666b8dedcd62901808b3)) - **NODE-3011:** Load Balancer Support ([#​2909](https://togithub.com/mongodb/node-mongodb-native/issues/2909)) ([c554a7a](https://togithub.com/mongodb/node-mongodb-native/commit/c554a7a0d132437078a4c9d5e9ed828cce982455)) ##### Bug Fixes - **NODE-2883:** Aggregate Operation should not require parent parameter ([#​2918](https://togithub.com/mongodb/node-mongodb-native/issues/2918)) ([dc6e2d6](https://togithub.com/mongodb/node-mongodb-native/commit/dc6e2d6c5762ec62d1096a52d670b76b02aa2bf3)) - **NODE-3058:** accept null or undefined anywhere we permit nullish values ([#​2921](https://togithub.com/mongodb/node-mongodb-native/issues/2921)) ([b42a1b4](https://togithub.com/mongodb/node-mongodb-native/commit/b42a1b417e8a4e222000336b0fe9e94053d30d98)) - **NODE-3441:** fix typings for createIndexes ([#​2915](https://togithub.com/mongodb/node-mongodb-native/issues/2915)) ([f87f376](https://togithub.com/mongodb/node-mongodb-native/commit/f87f37662f4a90f762cc2133d109794dd79e9da8)) - **NODE-3442:** AsyncIterator has incorrect return type ([#​2916](https://togithub.com/mongodb/node-mongodb-native/issues/2916)) ([4a10389](https://togithub.com/mongodb/node-mongodb-native/commit/4a103890d3db68328163a152e37dbcd2a416e97b)) - **NODE-3452:** readonly filters not permitted by typings ([#​2927](https://togithub.com/mongodb/node-mongodb-native/issues/2927)) ([ce51e78](https://togithub.com/mongodb/node-mongodb-native/commit/ce51e784c25e6342dc2fb711b647ccc2c8cc4a92)) - **NODE-3510:** omit incorrect `| void` in declaration of Promise overload of `rename()` ([#​2922](https://togithub.com/mongodb/node-mongodb-native/issues/2922)) ([58c1e84](https://togithub.com/mongodb/node-mongodb-native/commit/58c1e846482575a90d23a39e35711fa1a51e3c33)) - **NODE-3513:** default command monitoring to off ([#​2926](https://togithub.com/mongodb/node-mongodb-native/issues/2926)) ([3c60245](https://togithub.com/mongodb/node-mongodb-native/commit/3c60245a65e45ce2b944cbd70daafb4c1a44ab81)) ##### [4.0.1](https://togithub.com/mongodb/node-mongodb-native/compare/v4.0.0...v4.0.1) (2021-07-20) ##### Features - **NODE-3419:** define MongoRuntimeError children ([#​2893](https://togithub.com/mongodb/node-mongodb-native/issues/2893)) ([eadeb01](https://togithub.com/mongodb/node-mongodb-native/commit/eadeb01ec689c72032a9c21e3e8486001a026945)) ##### Bug Fixes - **NODE-3199:** unable to bundle driver due to uncaught require ([#​2904](https://togithub.com/mongodb/node-mongodb-native/issues/2904)) ([9e48bbd](https://togithub.com/mongodb/node-mongodb-native/commit/9e48bbdc95149ca62fa21404624125b87c3c9d56)) - **NODE-3393:** snapshot time not applied if distinct executed first ([#​2908](https://togithub.com/mongodb/node-mongodb-native/issues/2908)) ([7aa3008](https://togithub.com/mongodb/node-mongodb-native/commit/7aa3008d58b9d9869c2ea4af7809fa6b5cfbf6f4)) - **NODE-3417:** allow calling `db()` before MongoClient is connected ([#​2889](https://togithub.com/mongodb/node-mongodb-native/issues/2889)) ([51ea86d](https://togithub.com/mongodb/node-mongodb-native/commit/51ea86d0abfbe18a3ae0a5e41a6b8c5b974f3c3b)) ### [`v4.0.1`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​401-httpsgithubcommongodbnode-mongodb-nativecomparev400v401-2021-07-20) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.0.0...v4.0.1) ### [`v4.0.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​400-httpsgithubcommongodbnode-mongodb-nativecomparev400-beta6v400-2021-07-13) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.7.3...v4.0.0) ##### Features - **NODE-3095:** add timeseries options to db.createCollection ([#​2878](https://togithub.com/mongodb/node-mongodb-native/issues/2878)) ([c145c91](https://togithub.com/mongodb/node-mongodb-native/commit/c145c91dfa060d819406a599e21d573782291ad4)) - **NODE-3392:** enable snapshot reads on secondaries ([#​2897](https://togithub.com/mongodb/node-mongodb-native/issues/2897)) ([523e05c](https://togithub.com/mongodb/node-mongodb-native/commit/523e05c3684dcf98c8bbfa4f0631092debd8a85c)) - **NODE-3403:** define MongoRuntimeError children ([#​2894](https://togithub.com/mongodb/node-mongodb-native/issues/2894)) ([cb0db49](https://togithub.com/mongodb/node-mongodb-native/commit/cb0db494859db6d8f62152cf4bac5e256b9bc650)) - **NODE-3410:** added MongoRuntimeError ([#​2892](https://togithub.com/mongodb/node-mongodb-native/issues/2892)) ([ee903cb](https://togithub.com/mongodb/node-mongodb-native/commit/ee903cb79f341c6052f058f48a61b6ed2e566f50)) ##### Bug Fixes - **NODE-1797:** error when ChangeStream used as iterator and emitter concurrently ([#​2871](https://togithub.com/mongodb/node-mongodb-native/issues/2871)) ([e0b3afe](https://togithub.com/mongodb/node-mongodb-native/commit/e0b3afe8d2849a0e362a067e25f693d6a4353a12)) - **NODE-1843:** bulk operations ignoring provided sessions ([#​2868](https://togithub.com/mongodb/node-mongodb-native/issues/2868)) ([70810d1](https://togithub.com/mongodb/node-mongodb-native/commit/70810d191c625447eb2d5324f627c36009a762a7)) - **NODE-3063:** fix custom csfle test script ([#​2884](https://togithub.com/mongodb/node-mongodb-native/issues/2884)) ([d73c80c](https://togithub.com/mongodb/node-mongodb-native/commit/d73c80c3c69a8cd69af506e747eb54f98b76fe92)) - **NODE-3279:** use "hello" for monitoring if supported ([#​2895](https://togithub.com/mongodb/node-mongodb-native/issues/2895)) ([5a8842a](https://togithub.com/mongodb/node-mongodb-native/commit/5a8842ad9de2ce6a89ecba985ff6a2a005205afc)) - **NODE-3386:** listCollections result type definition ([#​2866](https://togithub.com/mongodb/node-mongodb-native/issues/2866)) ([c12979a](https://togithub.com/mongodb/node-mongodb-native/commit/c12979a9c0c1615a3808db41bac64a19449d42d4)) - **NODE-3413:** accept tls=false in mongodb+srv connection strings ([#​2886](https://togithub.com/mongodb/node-mongodb-native/issues/2886)) ([526c73f](https://togithub.com/mongodb/node-mongodb-native/commit/526c73f3bab5fae734f4870668083b253378a10a)) - **NODE-3416:** make change stream generic default to Document ([#​2882](https://togithub.com/mongodb/node-mongodb-native/issues/2882)) ([3d490dc](https://togithub.com/mongodb/node-mongodb-native/commit/3d490dcf854a18bb94a9bd94e9a72d155ea414f4)) - **NODE-3430:** watch method types on MongoClient and Db ([#​2900](https://togithub.com/mongodb/node-mongodb-native/issues/2900)) ([17cc291](https://togithub.com/mongodb/node-mongodb-native/commit/17cc2918767acd41eaec8b602d82fc0a909e5950))

Configuration

📅 Schedule: Branch creation - "after 5am,before 9am" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
api-foxxie ❌ Failed (Inspect) Jun 20, 2022 at 8:42AM (UTC)
renovate[bot] commented 2 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 4.x releases. However, if you upgrade to 4.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.