module-federation / federation-dashboard

Dashboard service to command, control, and visualize module federation based systems
federation-dashboard-alpha.vercel.app
Apache License 2.0
19 stars 5 forks source link

Update dependency mongodb to v4 #389

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongodb 3.6.2 -> 4.9.1 age adoption passing confidence
@​types/mongodb 3.6.20 -> 4.0.6 age adoption passing confidence

Release Notes

mongodb/node-mongodb-native ### [`v4.9.1`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v4.9.1) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.9.0...v4.9.1) The MongoDB Node.js team is pleased to announce version 4.9.1 of the mongodb package! #### Release Highlights This is a bug fix release as noted below. ##### Bug Fixes - **NODE-4583:** revert nested union type support ([#​3383](https://togithub.com/mongodb/node-mongodb-native/issues/3383)) ([014d0b3](https://togithub.com/mongodb/node-mongodb-native/commit/014d0b30c26f8aff0cfeda7f51b0431ada5a1190)) - **NODE-4591:** only set loadBalanced on handshake when explicitly set ([#​3386](https://togithub.com/mongodb/node-mongodb-native/issues/3386)) ([861d465](https://togithub.com/mongodb/node-mongodb-native/commit/861d465e234b4617f7d73d7421d2e0a9fd370c2f)) ### [`v4.9.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​490-httpsgithubcommongodbnode-mongodb-nativecomparev481v490-2022-08-18) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.8.1...v4.9.0) ##### Features - **NODE-3517:** improve index spec handling and type definitions ([#​3315](https://togithub.com/mongodb/node-mongodb-native/issues/3315)) ([0754bf9](https://togithub.com/mongodb/node-mongodb-native/commit/0754bf9c322b3a6e0200968ed31b95dd39e76c4b)) - **NODE-4336:** deprecate old write concern options and add missing writeConcern to MongoClientOptions ([#​3340](https://togithub.com/mongodb/node-mongodb-native/issues/3340)) ([d2b6ad8](https://togithub.com/mongodb/node-mongodb-native/commit/d2b6ad8da39d2dd5c01ee7e7ad9622ad65e515f0)) - **NODE-4548:** export ChangeStream class from top-level ([#​3357](https://togithub.com/mongodb/node-mongodb-native/issues/3357)) ([48f295a](https://togithub.com/mongodb/node-mongodb-native/commit/48f295a2ab38e284c9437300aab35a4678650c87)) ##### Bug Fixes - **NODE-4159,NODE-4512:** remove servers with incorrect setName from topology and fix unix socket parsing ([#​3348](https://togithub.com/mongodb/node-mongodb-native/issues/3348)) ([00dcf2d](https://togithub.com/mongodb/node-mongodb-native/commit/00dcf2d51fb27c2b259f8dbf6aedf81196c5f98c)) - **NODE-4273:** pass 'comment' option through to distinct command ([#​3339](https://togithub.com/mongodb/node-mongodb-native/issues/3339)) ([753ecfe](https://togithub.com/mongodb/node-mongodb-native/commit/753ecfed437138808f21e31d436a58a44f3513b9)) - **NODE-4413:** set maxTimeMS on getMores when maxAwaitTimeMS is specified ([#​3319](https://togithub.com/mongodb/node-mongodb-native/issues/3319)) ([dcbfd6e](https://togithub.com/mongodb/node-mongodb-native/commit/dcbfd6e943c2db2fbc223e221a6661996df25fe0)) - **NODE-4429:** select server sync for endSessions during close ([#​3363](https://togithub.com/mongodb/node-mongodb-native/issues/3363)) ([5086ead](https://togithub.com/mongodb/node-mongodb-native/commit/5086eadf52e13369f584b9bd64477ab7f3522ff6)) - **NODE-4467:** Add back support for `oplogReplay` option as deprecated ([#​3337](https://togithub.com/mongodb/node-mongodb-native/issues/3337)) ([6c69b7d](https://togithub.com/mongodb/node-mongodb-native/commit/6c69b7d51d98cf858607b0fdcad41d26691f97db)) - **NODE-4496:** counter values incorrecly compared when instance of Long ([#​3342](https://togithub.com/mongodb/node-mongodb-native/issues/3342)) ([d29eb8c](https://togithub.com/mongodb/node-mongodb-native/commit/d29eb8c2b683f0044accfdb2bb3c1770034f28f3)) - **NODE-4513:** type for nested objects in query & update ([#​3349](https://togithub.com/mongodb/node-mongodb-native/issues/3349)) ([ec1a68f](https://togithub.com/mongodb/node-mongodb-native/commit/ec1a68f8cdf34763ad3797c3d2b663b55ede3e4e)) - **NODE-4533:** session support error message and unified test runner ([#​3355](https://togithub.com/mongodb/node-mongodb-native/issues/3355)) ([6a0e502](https://togithub.com/mongodb/node-mongodb-native/commit/6a0e502139bb09d1eeadf01eb20461cf88d538b0)) - **NODE-4555:** export BSON internally ([#​3367](https://togithub.com/mongodb/node-mongodb-native/issues/3367)) ([4ce6e4c](https://togithub.com/mongodb/node-mongodb-native/commit/4ce6e4cceea9117048d87af36c18da538f96a20f)) ##### [4.8.1](https://togithub.com/mongodb/node-mongodb-native/compare/v4.8.0...v4.8.1) (2022-07-26) ##### Bug Fixes - **NODE-4423:** better type support for nested objects in query & update ([#​3328](https://togithub.com/mongodb/node-mongodb-native/issues/3328)) ([05e007b](https://togithub.com/mongodb/node-mongodb-native/commit/05e007b0b5ff98151c3ff972ee2f881b4203639e)) - **NODE-4425:** webpack optional import of FLE issue ([#​3324](https://togithub.com/mongodb/node-mongodb-native/issues/3324)) ([5ab2b05](https://togithub.com/mongodb/node-mongodb-native/commit/5ab2b0517216b6675bed38824448fd9d598fd096)) - **NODE-4444:** use Node.js clear timers ([#​3327](https://togithub.com/mongodb/node-mongodb-native/issues/3327)) ([c5cfe21](https://togithub.com/mongodb/node-mongodb-native/commit/c5cfe214ac320386033effc1b62967efa0eabf46)) ### [`v4.8.1`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​481-httpsgithubcommongodbnode-mongodb-nativecomparev480v481-2022-07-26) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.8.0...v4.8.1) ### [`v4.8.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​480-httpsgithubcommongodbnode-mongodb-nativecomparev470v480-2022-07-13) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.7.0...v4.8.0) ##### Features - **NODE-4078:** allow comment with estimated doc count ([#​3301](https://togithub.com/mongodb/node-mongodb-native/issues/3301)) ([bed1fe3](https://togithub.com/mongodb/node-mongodb-native/commit/bed1fe3cc070861b4566ff494512d78a5b1d37a8)) - **NODE-4267:** support nested fields in type completion for UpdateFilter ([#​3259](https://togithub.com/mongodb/node-mongodb-native/issues/3259)) ([1a9a44c](https://togithub.com/mongodb/node-mongodb-native/commit/1a9a44cf91847258cf33454d6d3c71c3ba002507)) - **NODE-4294:** mark queryable encryption options beta ([#​3300](https://togithub.com/mongodb/node-mongodb-native/issues/3300)) ([4c07bbb](https://togithub.com/mongodb/node-mongodb-native/commit/4c07bbbed939516e50369aac44b170ec02ceeba3)) - **NODE-4301:** remove shared lib experimental tags ([#​3298](https://togithub.com/mongodb/node-mongodb-native/issues/3298)) ([3976783](https://togithub.com/mongodb/node-mongodb-native/commit/3976783331114ec52740982fea3b82b789581ed5)) ##### Bug Fixes - **NODE-4125:** change stream resumability ([#​3289](https://togithub.com/mongodb/node-mongodb-native/issues/3289)) ([aa5f97e](https://togithub.com/mongodb/node-mongodb-native/commit/aa5f97ec65ca49f5320812ae36044f525a8fd9c8)) - **NODE-4262:** make startSession work without a connection ([#​3286](https://togithub.com/mongodb/node-mongodb-native/issues/3286)) ([89ad7c3](https://togithub.com/mongodb/node-mongodb-native/commit/89ad7c3e5f3ae9ac485b7e1ff6699aed32e2eb34)) - sync showExpandedEvents spec tests ([#​3288](https://togithub.com/mongodb/node-mongodb-native/issues/3288)) ([cfe18f9](https://togithub.com/mongodb/node-mongodb-native/commit/cfe18f966c6d40f3dcc874b668bac65640275449)) ### [`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)) ### [`v3.7.3`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.7.3) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.7.2...v3.7.3) The MongoDB Node.js team is pleased to announce version 3.7.3 of the mongodb package! #### What's Changed - fix(NODE-3515): do proper opTime merging in bulk results by [@​durran](https://togithub.com/durran) in [https://github.com/mongodb/node-mongodb-native/pull/3011](https://togithub.com/mongodb/node-mongodb-native/pull/3011) **Full Changelog**: https://github.com/mongodb/node-mongodb-native/compare/v3.7.2...v3.7.3 #### Documentation - Reference: https://docs.mongodb.com/drivers/node - API: https://mongodb.github.io/node-mongodb-native/3.7 - Changelog: https://github.com/mongodb/node-mongodb-native/blob/3.7/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). ### [`v3.7.2`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.7.2) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.7.1...v3.7.2) The MongoDB Node.js team is pleased to announce version 3.7.2 of the mongodb package! #### Release Highlights This release contains a fix for optional require of dependencies on yarn berry. ##### Bug Fixes - **NODE-3622:** bump optional-require for additional yarn berry pnp support ([#​2989](https://togithub.com/mongodb/node-mongodb-native/issues/2989)) ([ec23d6302](https://togithub.com/mongodb/node-mongodb-native/commit/https://github.com/mongodb/node-mongodb-native/commit/ec23d6302)) #### Documentation - Reference: https://docs.mongodb.com/drivers/node - API: https://mongodb.github.io/node-mongodb-native/3.7 - Changelog: https://github.com/mongodb/node-mongodb-native/blob/3.7/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). ### [`v3.7.1`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.7.1) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.7.0...v3.7.1) The MongoDB Node.js team is pleased to announce version 3.7.1 of the mongodb package! #### Release Highlights This release contains an internal improvement that makes our monitor utilize the new hello handshake for monitoring when available. ##### Features - **NODE-3424:** use hello for monitoring commands ([#​2964](https://togithub.com/mongodb/node-mongodb-native/issues/2964)) ([910c564](https://togithub.com/mongodb/node-mongodb-native/commit/910c56491f72b8ce4d94bf683a97e193b66c6985)) #### Documentation - Reference: https://docs.mongodb.com/drivers/node - API: https://mongodb.github.io/node-mongodb-native/3.7 - Changelog: https://github.com/mongodb/node-mongodb-native/blob/3.7/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). ### [`v3.7.0`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.7.0) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.6.12...v3.7.0) The MongoDB Node.js team is pleased to announce version 3.7.0 of the mongodb package! #### Release Highlights #### Versioned API Versioned API is a new feature in MongoDB 5.0 that allows user-selectable API versions, subsets of MongoDB server semantics, to be declared on a client. During communication with a server, clients with a declared API version will force the server to behave in a manner compatible with the API version. Declaring an API version on a client can be used to ensure consistent responses from a server, providing long term API stability for an application. The declared API version is applied to all commands run through the client, including those sent through the generic RunCommand helper. Specifying versioned API options in the command document AND declaring an API version on the client is not supported and will lead to undefined behavior. ##### Declare an API version on a client ```javascript // Declare API version "1" for the client client = new MongoClient(uri, { serverApi: { version: '1' } }); cursor = client.db('database').collection('coll').find(...); ``` ##### Strict mode Declaring a `strict` API version will cause the MongoDB server to reject all commands that are not part of the declared API version. This includes command options and aggregation pipeline stages. For example, the following `find` call would fail because the `tailable` option is not part of version 1: ```javascript // Declare API version "1" for the client, with strict on client = new MongoClient(uri, { serverApi: { version: '1', strict: true } }); // Fails with an error cursor = client.db('database').collection('coll').find({ ... }, { tailable: true }); ``` ##### Deprecation Errors The `deprecationErrors` option can be used to enable command failures when using functionality that is deprecated from version 1. Note that at the time of this writing, no deprecations in version 1 exist. ```javascript // Declare API version "1" for the client, with deprecationErrors on client = new MongoClient(uri, { serverApi: { version: '1', deprecationErrors: true } }); // Note: since API version "1" is the initial version, there are no deprecated commands to provide as an example yet. ``` ##### Features - **NODE-3191:** backport versioned api ([#​2850](https://togithub.com/mongodb/node-mongodb-native/issues/2850)) ([93a47fd](https://togithub.com/mongodb/node-mongodb-native/commit/93a47fdbd92a27f0821cbcf59a951d581bfec9c0)) ##### Bug Fixes - **NODE-3377:** driver should allow arbitrary explain levels ([#​2961](https://togithub.com/mongodb/node-mongodb-native/issues/2961)) ([96c8ab4](https://togithub.com/mongodb/node-mongodb-native/commit/96c8ab41e38eb5a4c012b4cd5df3ab8c59a5d9fe)) - **NODE-3463:** pass explain error through to callback ([#​2949](https://togithub.com/mongodb/node-mongodb-native/issues/2949)) ([e5975af](https://togithub.com/mongodb/node-mongodb-native/commit/e5975af98615b2e0ef82b0031d4ec687d5a85109)) #### Documentation - Reference: https://docs.mongodb.com/drivers/node/current/ - API: https://mongodb.github.io/node-mongodb-native/3.7/api/ - Changelog: https://github.com/mongodb/node-mongodb-native/blob/v3.7.0/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). ### [`v3.6.12`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.6.12) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.6.11...v3.6.12) The MongoDB Node.js team is pleased to announce version 3.6.12 of the mongodb package! ##### Bug Fixes - **NODE-3487:** check for nullish aws mechanism property ([#​2957](https://togithub.com/mongodb/node-mongodb-native/issues/2957)) ([5902b4c](https://togithub.com/mongodb/node-mongodb-native/commit/5902b4c13a977c659af94b1fbcbcfbe5e7ca4db4)) - **NODE-3528:** add support for snappy v7 ([#​2947](https://togithub.com/mongodb/node-mongodb-native/issues/2947)) ([54f5c2d](https://togithub.com/mongodb/node-mongodb-native/commit/54f5c2d682828bc751242cf4e90ea73f0342c842)) #### Documentation - Reference: https://docs.mongodb.com/drivers/node/current/ - API: https://mongodb.github.io/node-mongodb-native/3.6/api/ - Changelog: https://github.com/mongodb/node-mongodb-native/blob/v3.6.12/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). ### [`v3.6.11`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.6.11) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.6.10...v3.6.11) The MongoDB Node.js team is pleased to announce version 3.6.11 of the mongodb package! #### Release Highlights This patch addresses a few bugs listed below. Notably, we fixed an issue with the way we imported one of our optional dependencies that blocked webpack bundling. If you are a webpack user you will still get warnings for our optional dependencies (if you don't use them). You can hush the warnings by adding [this option](https://webpack.js.org/configuration/externals/) to your webpack config: ```javascript { // ... externals: [ 'mongodb-client-encryption', 'aws4', 'saslprep', 'kerberos', 'snappy', 'bson-ext', ], // ... } ``` It is important to note that this will leave the imports in place and not pull in the code to your bundle. If you later do adopt using these dependencies you'll want to revert the relevant setting. ##### Bug Fixes - **NODE-1843:** bulk operations ignoring provided sessions ([#​2898](https://togithub.com/mongodb/node-mongodb-native/issues/2898)) ([9244b17](https://togithub.com/mongodb/node-mongodb-native/commit/9244b1771e538f7b685fd6d4aa83d9da84b20093)) - **NODE-3199:** unable to bundle driver due to uncaught require ([#​2903](https://togithub.com/mongodb/node-mongodb-native/issues/2903)) ([60efe9d](https://togithub.com/mongodb/node-mongodb-native/commit/60efe9d0030477da462d326c2e2ddc5fe6c0ffff)) #### Documentation - Reference: https://docs.mongodb.com/drivers/node/current/ - API: http://mongodb.github.io/node-mongodb-native/3.6/api - Changelog: https://github.com/mongodb/node-mongodb-native/blob/3.6/HISTORY.md We invite you to try the mongodb package immediately, and report any issues to the [NODE project](https://jira.mongodb.org/projects/NODE). ### [`v3.6.10`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.6.10) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.6.9...v3.6.10) The MongoDB Node.js team is pleased to announce version 3.6.10 of the mongodb package! #### Release Highlights This patch addresses a few bugs listed below. Notably the `bsonRegExp` option is now respected by the underlying BSON library, you can use this to decode regular expressions that contain syntax not permitted in native JS RegExp objects. Take a look at this example: ```javascript await collection.insertOne({ a: new BSONRegExp('(?-i)AA_') }) await collection.findOne({ a: new BSONRegExp('(?-i)AA_') }, { bsonRegExp: true }) // { _id: ObjectId, a: BSONRegExp { pattern: '(?-i)AA_', options: '' } } ``` Also there was an issue with `Cursor.forEach` where user defined forEach callbacks that throw errors incorrectly handled catching errors. Take a look at the comments in this example: ```javascript collection.find({}).forEach(doc => { if(doc.bad) throw new Error('bad document!'); }).catch(error => { // now this is called! and error is `bad document!` }) // before this fix the `bad document!` error would be thrown synchronously // and have to be caught with try catch out here ``` ##### Bug Fixes - **NODE-2035:** Exceptions thrown from awaited cursor forEach do not propagate ([#​2852](https://togithub.com/mongodb/node-mongodb-native/issues/2852)) ([a917dfa](https://togithub.com/mongodb/node-mongodb-native/commit/a917dfada67859412344ed238796cf3bee243f5f)) - **NODE-3150:** added bsonRegExp option for v3.6 ([#​2843](https://togithub.com/mongodb/node-mongodb-native/issues/2843)) ([e4a9a57](https://togithub.com/mongodb/node-mongodb-native/commit/e4a9a572427666fd1a89576dadf50b9c452e1659)) - **NODE-3358:** Command monitoring objects hold internal state references ([#​2858](https://togithub.com/mongodb/node-mongodb-native/issues/2858)) ([750760c](https://togithub.com/mongodb/node-mongodb-native/commit/750760c324ddedb72491befde9f7aff1ceec009c)) - **NODE-3380:** perform retryable write checks against server ([#​2861](https://togithub.com/mongodb/node-mongodb-native/issues/2861)) ([621677a](https://togithub.com/mongodb/node-mongodb-native/commit/621677a42772e0b26aa13883f57d7e42f86df43f)) - **NODE-3397:** report more helpful error with unsupported authMechanism in initial handshake ([#​2876](https://togithub.com/mongodb/node-mongodb-native/issues/2876)) ([3ce148d](https://togithub.com/mongodb/node-mongodb-native/commit/3ce148d8fb37faea1ee056f6e9331e5282e65cd0)) #### Documentation - Reference: https://docs.mongodb.com/drivers/node/current/ - API: http://mongodb.github.io/node-mongodb-native/3.6/api - Changelog: https://github.com/mongodb/node-mongodb-native/blob/3.6/HISTORY.md We invite you to try the mongodb package immediately, and report any issues to the [NODE project](https://jira.mongodb.org/projects/NODE). ### [`v3.6.9`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.6.9) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.6.8...v3.6.9) The MongoDB Node.js team is pleased to announce version 3.6.9 of the driver! #### Release Highlights This release fixes a major performance bug in bulk write operations, which was inadvertently introduced by an incomplete code change in the previous release. The bug resulted in redundant array iterations and caused exponential increases in bulk operation completion times. Thank you Jan Schwalbe for bringing this to our attention! ##### Bug Fixes - **NODE-3309:** remove redundant iteration of bulk write result ([#​2815](https://togithub.com/mongodb/node-mongodb-native/issues/2815)) ([fac9610](https://togithub.com/mongodb/node-mongodb-native/commit/fac961086eafa0f7437576fd6af900e1f9fe22ed)) - **NODE-3234:** fix url parsing for a mongodb+srv url that has commas in the database name ([#​2789](https://togithub.com/mongodb/node-mongodb-native/issues/2789)) ([58c4e69](https://togithub.com/mongodb/node-mongodb-native/commit/58c4e693cc3a717254144d5f9bdddd8414217e97)) #### Documentation - Reference: https://docs.mongodb.com/drivers/node/current/ - API: http://mongodb.github.io/node-mongodb-native/3.6/api - Changelog: https://github.com/mongodb/node-mongodb-native/blob/3.6/HISTORY.md We invite you to try the mongodb package immediately, and report any issues to the [NODE project](https://jira.mongodb.org/projects/NODE). ### [`v3.6.8`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.6.8) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.6.7...v3.6.8) The MongoDB Node.js team is pleased to announce version 3.6.8 of the mongodb package! #### Release Highlights Thanks to the quick adoption of the previous new patch by the mongoose package ([https://github.com/Automattic/mongoose/pull/10265](https://togithub.com/Automattic/mongoose/pull/10265)) a small bug was identified when connections to mongodb would timeout causing unnecessary clean up operations to run. Thank you [@​vkarpov15](https://togithub.com/vkarpov15)! ##### Bug Fixes - **NODE-3305:** undo flipping of `beforeHandshake` flag for timeout errors ([#​2813](https://togithub.com/mongodb/node-mongodb-native/issues/2813)) ([6e3bab3](https://togithub.com/mongodb/node-mongodb-native/commit/6e3bab32204ea905ab9b949edccb68556b50d382)) #### Documentation - Reference: https://docs.mongodb.com/driv
changeset-bot[bot] commented 3 years ago

⚠️ No Changeset found

Latest commit: 32010884fe74fc626ecb852cb51229c537f068e0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

medusa-example-nav – ./dashboard-example/nav

πŸ” Inspect: https://vercel.com/module-federation/medusa-example-nav/75aTPKSrRReAZB7ZzoG1jDQJ4JgY
βœ… Preview: https://medusa-example-nav-git-renovate-mongodb-4x-module-federation.vercel.app

[Deployment for e8298dd failed]

federation-dashboard – ./dashboard-fe

πŸ” Inspect: https://vercel.com/module-federation/federation-dashboard/9n6nu3qUuURsPy9x6m3tVReufJow
βœ… Preview: https://federation-dashboard-git-renovate-mongodb-4x-module-federation.vercel.app

[Deployment for e8298dd failed]

medusa-example-utils – ./dashboard-example/utils

πŸ” Inspect: https://vercel.com/module-federation/medusa-example-utils/CLxDniMzZtf1NDM9oXZSZs8Z68m1
βœ… Preview: https://medusa-example-utils-git-renovate-mongodb-4x-module-federation.vercel.app

[Deployment for e8298dd failed]

medusa-example-search – ./dashboard-example/search

πŸ” Inspect: https://vercel.com/module-federation/medusa-example-search/3neHccwrYtRjkySzVzD9QGq1tjGp
βœ… Preview: https://medusa-example-search-git-renovate-mongodb-4x-module-federation.vercel.app

[Deployment for e8298dd failed]

medusa-example-dsl – ./dashboard-example/dsl

πŸ” Inspect: https://vercel.com/module-federation/medusa-example-dsl/9MMZBxhCSwoqtBNUexv7X6fNxVaj
βœ… Preview: https://medusa-example-dsl-git-renovate-mongodb-4x-module-federation.vercel.app

[Deployment for e8298dd failed]

medusa-example-home – ./dashboard-example/home

πŸ” Inspect: https://vercel.com/module-federation/medusa-example-home/4XCZQsUqgaPJ4FqLmEErfkbXmnyJ
βœ… Preview: https://medusa-example-home-git-renovate-mongodb-4x-module-federation.vercel.app

[Deployment for e8298dd failed]

vercel[bot] commented 2 years ago

Deployment failed with the following error:

Invalid request: `target` should be string.
vercel[bot] commented 2 years ago

Deployment failed with the following error:

The most recent charge for your active payment method has failed. Please update it here: https://vercel.com/teams/module-federation/settings/billing.
vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated
federation-dashboard ❌ Failed (Inspect) Aug 31, 2022 at 11:20PM (UTC)
medusa-example-dsl ❌ Failed (Inspect) Aug 31, 2022 at 11:20PM (UTC)
medusa-example-home ❌ Failed (Inspect) Aug 31, 2022 at 11:20PM (UTC)
medusa-example-nav ❌ Failed (Inspect) Aug 31, 2022 at 11:20PM (UTC)
medusa-example-search ❌ Failed (Inspect) Aug 31, 2022 at 11:20PM (UTC)
medusa-example-utils ❌ Failed (Inspect) Aug 31, 2022 at 11:20PM (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.