shelfio / jest-mongodb

Jest preset for MongoDB in-memory server
MIT License
587 stars 83 forks source link

chore(deps): update dependency mongodb to v5.8.1 - autoclosed #421

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongodb 5.1.0 -> 5.8.1 age adoption passing confidence

Release Notes

mongodb/node-mongodb-native (mongodb) ### [`v5.8.1`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v5.8.1) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v5.8.0...v5.8.1) The MongoDB Node.js team is pleased to announce version 5.8.1 of the `mongodb` package! #### Release Notes ##### Import of `saslprep` updated to correct library. Fixes the import of saslprep to be the correct `@mongodb-js/saslprep` library. ##### Bug Fixes - **NODE-5572:** fix saslprep import ([#​3837](https://togithub.com/mongodb/node-mongodb-native/issues/3837)) ([250dc21](https://togithub.com/mongodb/node-mongodb-native/commit/250dc213843a177938fc7bcd11c44a430f13e1fb)) #### Documentation - [Reference](https://docs.mongodb.com/drivers/node/current/) - [API](https://mongodb.github.io/node-mongodb-native/5.8/) - [Changelog](https://togithub.com/mongodb/node-mongodb-native/blob/v5.8.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). ### [`v5.8.0`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v5.8.0) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v5.7.0...v5.8.0) The MongoDB Node.js team is pleased to announce version 5.8.0 of the `mongodb` package! #### Release Notes ##### The `AutoEncrypter` interface has been deprecated The `AutoEncrypter` interface was used internally but accidentally made public in the 4.x version of the driver. It is now deprecated and will be made internal in the next major release. ##### Kerberos support for 1.x and 2.x Moves the kerberos dependency back to `^1.0.0 || ^2.0.0` to indicate support for both 1.x and 2.x. Support for 1.x is removed in 6.0. ##### Fixed accidental deprecation warning Because of internal options handling, a deprecation was emitted for `tlsCertificateFile` when using `tlsCertificateKeyFile`. That has been corrected. ##### Remove credential availability on `ConnectionPoolCreatedEvent` In order to avoid mistakenly printing credentials the `ConnectionPoolCreatedEvent` will replace the credentials option with an empty object. The credentials are still accessble via MongoClient options: `client.options.credentials`. ##### Features - **NODE-5399:** use mongodb-js/saslprep instead of saslprep ([#​3818](https://togithub.com/mongodb/node-mongodb-native/issues/3818)) ([c0d3927](https://togithub.com/mongodb/node-mongodb-native/commit/c0d39273793d09cc9a0c1ca9955afaf77f9f62c6)) - **NODE-5429:** deprecate the `AutoEncrypter` interface ([#​3764](https://togithub.com/mongodb/node-mongodb-native/issues/3764)) ([9bb0d95](https://togithub.com/mongodb/node-mongodb-native/commit/9bb0d955e73a6bc819992617c99c4406d7f9c550)) - **NODE-5465,NODE-5538:** lower `@aws-sdk/credential-providers` version to 3.188.0 and `zstd` to `^1.0.0` ([#​3821](https://togithub.com/mongodb/node-mongodb-native/issues/3821)) ([39ff81d](https://togithub.com/mongodb/node-mongodb-native/commit/39ff81d40220e1fc03627fce8f5af85f11283e97)) ##### Bug Fixes - **NODE-5489:** set kerberos compatibility to ^1.0.0 || ^2.0.0 ([#​3803](https://togithub.com/mongodb/node-mongodb-native/issues/3803)) ([c3b35b3](https://togithub.com/mongodb/node-mongodb-native/commit/c3b35b321b6ac0408af4dc10251c84a196a6f953)) - **NODE-5495:** do not emit deprecation warning when tlsCertificateKeyFile is specified and tlsCertificateFile is not ([#​3810](https://togithub.com/mongodb/node-mongodb-native/issues/3810)) ([e81d4a2](https://togithub.com/mongodb/node-mongodb-native/commit/e81d4a2fc0ffc1d32dc3e124ceadd887e0a78ec4)) - **NODE-5537:** remove credentials from ConnectionPoolCreatedEvent options ([#​3813](https://togithub.com/mongodb/node-mongodb-native/issues/3813)) ([4cf1e96](https://togithub.com/mongodb/node-mongodb-native/commit/4cf1e96c68410d743c592b27e8864917ca16e160)) #### Documentation - [Reference](https://docs.mongodb.com/drivers/node/current/) - [API](https://mongodb.github.io/node-mongodb-native/5.8/) - [Changelog](https://togithub.com/mongodb/node-mongodb-native/blob/v5.8.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). ### [`v5.7.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#570-2023-07-06) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v5.6.0...v5.7.0) ##### Features - **NODE-4929:** Add OIDC Azure workflow ([#​3670](https://togithub.com/mongodb/node-mongodb-native/issues/3670)) ([b3482f3](https://togithub.com/mongodb/node-mongodb-native/commit/b3482f32551ea5fcfefa861eca52961a99c82fe3)) - **NODE-5008:** add zstd and kerberos to peer deps ([#​3691](https://togithub.com/mongodb/node-mongodb-native/issues/3691)) ([9561f32](https://togithub.com/mongodb/node-mongodb-native/commit/9561f32a9dda6969be7f727c9bd1bd96980f5e95)) - **NODE-5241:** add option to return modified document ([#​3710](https://togithub.com/mongodb/node-mongodb-native/issues/3710)) ([d9c2600](https://togithub.com/mongodb/node-mongodb-native/commit/d9c2600daf3bb6c8106e0f3a27cb2f12b770c8eb)) - **NODE-5243:** add change stream split event ([#​3745](https://togithub.com/mongodb/node-mongodb-native/issues/3745)) ([1c84f82](https://togithub.com/mongodb/node-mongodb-native/commit/1c84f82424acb23b510fdc10e64f304eafecfc1d)) - **NODE-5274:** deprecate write concern options ([#​3752](https://togithub.com/mongodb/node-mongodb-native/issues/3752)) ([1f880ea](https://togithub.com/mongodb/node-mongodb-native/commit/1f880eaea6e3bc2aa0bf48a70d020a4f9271286d)) - **NODE-5287:** deprecate ssl options ([#​3743](https://togithub.com/mongodb/node-mongodb-native/issues/3743)) ([f9b5677](https://togithub.com/mongodb/node-mongodb-native/commit/f9b5677657a05b22cc47c20f910e6ae264da8717)) - **NODE-5319:** mark search index api public ([#​3741](https://togithub.com/mongodb/node-mongodb-native/issues/3741)) ([c015e54](https://togithub.com/mongodb/node-mongodb-native/commit/c015e5446dbeccfa4d63a4a6f46d06add74deb8b)) - **NODE-5407:** update bson to 5.4.0 ([#​3754](https://togithub.com/mongodb/node-mongodb-native/issues/3754)) ([6a574cf](https://togithub.com/mongodb/node-mongodb-native/commit/6a574cf94e8cb923ff33f3a1d241a33d7fd90eb0)) ##### Bug Fixes - **NODE-4977:** load snappy lazily ([#​3726](https://togithub.com/mongodb/node-mongodb-native/issues/3726)) ([865e658](https://togithub.com/mongodb/node-mongodb-native/commit/865e658e7a341c8e9bd64e411bac2e9f5160820d)) - **NODE-5102:** listDatabases nameOnly setting is sent as NaN ([#​3742](https://togithub.com/mongodb/node-mongodb-native/issues/3742)) ([b97132e](https://togithub.com/mongodb/node-mongodb-native/commit/b97132ea0d39d52192ee9bcf06e85d7e8db0c4ca)) - **NODE-5289:** prevent scram auth from throwing TypeError if saslprep is not a function ([#​3727](https://togithub.com/mongodb/node-mongodb-native/issues/3727)) ([e006347](https://togithub.com/mongodb/node-mongodb-native/commit/e0063477961bbd9c5ca34953e9afe554a1235581)) - **NODE-5374:** do not apply cursor transform in Cursor.hasNext ([#​3746](https://togithub.com/mongodb/node-mongodb-native/issues/3746)) ([0668cd8](https://togithub.com/mongodb/node-mongodb-native/commit/0668cd8d566acb02c9d8cc38bcffe51e1a9cd585)) ### [`v5.6.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#560-2023-06-01) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v5.5.0...v5.6.0) ##### Features - **NODE-5019:** add runCursorCommand API ([#​3655](https://togithub.com/mongodb/node-mongodb-native/issues/3655)) ([4da926e](https://togithub.com/mongodb/node-mongodb-native/commit/4da926e0989b97cfbdf8384bd197dd6ed204fd12)) - **NODE-5071:** support additional time series options ([#​3667](https://togithub.com/mongodb/node-mongodb-native/issues/3667)) ([ccf555d](https://togithub.com/mongodb/node-mongodb-native/commit/ccf555d069f3bd0eb7e7b2cca0d5ecdc7d571332)) - **NODE-5314:** add search index helpers ([#​3672](https://togithub.com/mongodb/node-mongodb-native/issues/3672)) ([f647542](https://togithub.com/mongodb/node-mongodb-native/commit/f64754211fe9c142558e3fe9db3adf606d204fc9)) ##### Bug Fixes - **NODE-5249:** remove strict flag from create collection options ([#​3677](https://togithub.com/mongodb/node-mongodb-native/issues/3677)) ([be8faaf](https://togithub.com/mongodb/node-mongodb-native/commit/be8faaf63996c70e54e9cccb130fd05f64651e34)) - **NODE-5296:** construct error messages for AggregateErrors in Node16+ ([#​3682](https://togithub.com/mongodb/node-mongodb-native/issues/3682)) ([e03178e](https://togithub.com/mongodb/node-mongodb-native/commit/e03178ebc84e489e9058a72f576646a847470379)) ### [`v5.5.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#550-2023-05-11) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v5.4.0...v5.5.0) ##### Features - **NODE-4720:** Add log messages to CMAP spec ([#​3645](https://togithub.com/mongodb/node-mongodb-native/issues/3645)) ([b27f385](https://togithub.com/mongodb/node-mongodb-native/commit/b27f385fe6a2bc53b3902465a570d832f52df4e6)) - **NODE-5004:** dont create or drop ecc collections ([#​3660](https://togithub.com/mongodb/node-mongodb-native/issues/3660)) ([2264fbb](https://togithub.com/mongodb/node-mongodb-native/commit/2264fbb5a9c99ced4cb3c3d71ff2a59e4505f898)) ##### Bug Fixes - **NODE-5260:** AWS Lambda metadata detection logic is too permissive ([#​3663](https://togithub.com/mongodb/node-mongodb-native/issues/3663)) ([d74d3f9](https://togithub.com/mongodb/node-mongodb-native/commit/d74d3f9a1b7180542a7fda980e7b15f6f1460be0)) ### [`v5.4.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#540-2023-05-04) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v5.3.0...v5.4.0) ##### Features - **NODE-4814:** implement remaining severity logging methods ([#​3629](https://togithub.com/mongodb/node-mongodb-native/issues/3629)) ([d7a8079](https://togithub.com/mongodb/node-mongodb-native/commit/d7a80790d8f629e25ff090ef8c2d8c6a7b0b0a07)) - **NODE-4815:** stringify and truncate BSON documents in log messages ([#​3635](https://togithub.com/mongodb/node-mongodb-native/issues/3635)) ([d6bd1d1](https://togithub.com/mongodb/node-mongodb-native/commit/d6bd1d1602c213e5c46a702163351d1865cdc727)) - **NODE-4970:** deprecate collStats collection helper ([#​3638](https://togithub.com/mongodb/node-mongodb-native/issues/3638)) ([325c4bc](https://togithub.com/mongodb/node-mongodb-native/commit/325c4bc37decdf12e957bfad8bd4ee4d28b1bf95)) - **NODE-5166:** bump max wire version for 7.0 ([#​3659](https://togithub.com/mongodb/node-mongodb-native/issues/3659)) ([561229b](https://togithub.com/mongodb/node-mongodb-native/commit/561229ba53c2ea422da01625adf5597556332fee)) - **NODE-5191:** OIDC Auth Updates ([#​3637](https://togithub.com/mongodb/node-mongodb-native/issues/3637)) ([c52a4ed](https://togithub.com/mongodb/node-mongodb-native/commit/c52a4edfb79934249ea58703b9ddd4a94ef34418)) - **NODE-5207:** deprecate unsupported runCommand options and add spec tests ([#​3643](https://togithub.com/mongodb/node-mongodb-native/issues/3643)) ([d6d76b4](https://togithub.com/mongodb/node-mongodb-native/commit/d6d76b4f239ab3d53e867a5c9ace9e18aa12886a)) ##### Bug Fixes - **NODE-5213:** `ChangeStream.tryNext()` should return TChange type ([#​3649](https://togithub.com/mongodb/node-mongodb-native/issues/3649)) ([3b58ca1](https://togithub.com/mongodb/node-mongodb-native/commit/3b58ca1ec873bab3ed56b2de970f9c513a81c741)) ### [`v5.3.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#530-2023-04-18) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v5.2.0...v5.3.0) ##### Features - **NODE-4696:** add FaaS env information to client metadata ([#​3626](https://togithub.com/mongodb/node-mongodb-native/issues/3626)) ([0424080](https://togithub.com/mongodb/node-mongodb-native/commit/04240809f71bb8c2f88d50344d2b8d0d1d2ceea8)) - **NODE-4774:** deprecate cursor forEach ([#​3622](https://togithub.com/mongodb/node-mongodb-native/issues/3622)) ([8d76a71](https://togithub.com/mongodb/node-mongodb-native/commit/8d76a7173fb8ac70c0f097366830da273c8a4d94)) - **NODE-4791:** deprecate duplicate bulk methods ([#​3623](https://togithub.com/mongodb/node-mongodb-native/issues/3623)) ([2839e95](https://togithub.com/mongodb/node-mongodb-native/commit/2839e95256094cbf75fae2753d2e40551c04d87c)) - **NODE-4795:** deprecate addUser helper ([#​3624](https://togithub.com/mongodb/node-mongodb-native/issues/3624)) ([53a0aae](https://togithub.com/mongodb/node-mongodb-native/commit/53a0aae584fb33b598e16dcea5dc559c3d8dca5e)) - **NODE-5169:** Implement emergency logger ([#​3610](https://togithub.com/mongodb/node-mongodb-native/issues/3610)) ([d502eb0](https://togithub.com/mongodb/node-mongodb-native/commit/d502eb0eb1d2f56ae3603a2da665a79040bc898c)) - **NODE-5188:** add alternative runtime detection to client metadata ([#​3636](https://togithub.com/mongodb/node-mongodb-native/issues/3636)) ([2a26de3](https://togithub.com/mongodb/node-mongodb-native/commit/2a26de3a2cd95b4fc21918a96dd21dc4bc62000a)) - **NODE-5189:** deprecate tcp keepalive options ([#​3621](https://togithub.com/mongodb/node-mongodb-native/issues/3621)) ([cc7c75a](https://togithub.com/mongodb/node-mongodb-native/commit/cc7c75a64720efe40b70f952e77c1d99d269bf06)) ##### Bug Fixes - **NODE-5042:** relax SRV record validation to account for a dot suffix ([#​3633](https://togithub.com/mongodb/node-mongodb-native/issues/3633)) ([ad15881](https://togithub.com/mongodb/node-mongodb-native/commit/ad158811fb23f27d323f5fcada386abaa415fbe6)) - **NODE-5171:** allow `upsertedId` to be null in `UpdateResult` ([#​3631](https://togithub.com/mongodb/node-mongodb-native/issues/3631)) ([4b5be21](https://togithub.com/mongodb/node-mongodb-native/commit/4b5be2121fdcca0879447be24e8e935dfcd14764)) - **NODE-5201:** prevent warning when default value for deprecation option is used ([#​3646](https://togithub.com/mongodb/node-mongodb-native/issues/3646)) ([e7f6e4e](https://togithub.com/mongodb/node-mongodb-native/commit/e7f6e4e34faa65678a34d14ad5b72aacb5dc8dc7)) ### [`v5.2.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#520-2023-04-04) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v5.1.0...v5.2.0) ##### Features - **NODE-5035:** enable OIDC authentication ([#​3577](https://togithub.com/mongodb/node-mongodb-native/issues/3577)) ([35879f6](https://togithub.com/mongodb/node-mongodb-native/commit/35879f66dd1bd906d6b38cb7cd21ff1fb51c52a1)) - **NODE-5036:** reauthenticate OIDC and retry ([#​3589](https://togithub.com/mongodb/node-mongodb-native/issues/3589)) ([a41846d](https://togithub.com/mongodb/node-mongodb-native/commit/a41846db3d769e2c10aedbf6feec53271fdb0a48)) - **NODE-5077:** automatic Azure kms credential refresh ([#​3599](https://togithub.com/mongodb/node-mongodb-native/issues/3599)) ([8e87e5c](https://togithub.com/mongodb/node-mongodb-native/commit/8e87e5c5be04902a75887c968f06325c1c7f0477)) ##### Bug Fixes - **NODE-3998:** metadata duplication in handshake ([#​3615](https://togithub.com/mongodb/node-mongodb-native/issues/3615)) ([6d894d6](https://togithub.com/mongodb/node-mongodb-native/commit/6d894d6652d6a286d8a699f4be0a7127a795b1ac)) - **NODE-4518:** error message with invalid authMechanism is provided (#undefined) ([1a16b7e](https://togithub.com/mongodb/node-mongodb-native/commit/1a16b7e2c4c2de9890591e9ac0196705684eb62c)) - **NODE-4854:** set timeout on write and reset on message ([#​3582](https://togithub.com/mongodb/node-mongodb-native/issues/3582)) ([4a7b5ec](https://togithub.com/mongodb/node-mongodb-native/commit/4a7b5ec7dfcc3d0c4825ee939cb3eaf7bc79347b)) - **NODE-5106:** prevent multiple mongo client connect()s from leaking topology ([#​3596](https://togithub.com/mongodb/node-mongodb-native/issues/3596)) ([eb836bb](https://togithub.com/mongodb/node-mongodb-native/commit/eb836bbd1d0029c78acead0ec985ec11ea94f978)) - **NODE-5126:** find operations fail when passed an ObjectId as filter ([#​3604](https://togithub.com/mongodb/node-mongodb-native/issues/3604)) ([2647b61](https://togithub.com/mongodb/node-mongodb-native/commit/2647b6154069731f566a4066a01e5d75bc2318b0))

Configuration

📅 Schedule: Branch creation - "before 6am on Tuesday,before 6am on Friday" in timezone Europe/Kiev, 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.