shelfio / jest-mongodb

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

chore(deps): update dependency mongodb to v4.13.0 #387

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongodb 4.9.1 -> 4.13.0 age adoption passing confidence

Release Notes

mongodb/node-mongodb-native ### [`v4.13.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​4130-httpsgithubcommongodbnode-mongodb-nativecomparev4121v4130-2022-12-19) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.12.1...v4.13.0) ##### Features - **NODE-4691:** interrupt in-flight operations on heartbeat failure ([#​3457](https://togithub.com/mongodb/node-mongodb-native/issues/3457)) ([e641bd4](https://togithub.com/mongodb/node-mongodb-native/commit/e641bd44ef39d64b8b572e7a8ab6bfc71a2b4bed)) - **NODE-4810:** define the new Logger ([#​3475](https://togithub.com/mongodb/node-mongodb-native/issues/3475)) ([6ef11d7](https://togithub.com/mongodb/node-mongodb-native/commit/6ef11d70c07e2e223d376e7527354ddf758a163a)) ##### Bug Fixes - **NODE-4447:** disable causal consistency in implicit sessions ([#​3479](https://togithub.com/mongodb/node-mongodb-native/issues/3479)) ([6566fb5](https://togithub.com/mongodb/node-mongodb-native/commit/6566fb58400c956bb5e56bd7c8affe2ebf2ce558)) - **NODE-4834:** ensure that MessageStream is destroyed when connections are destroyed ([#​3482](https://togithub.com/mongodb/node-mongodb-native/issues/3482)) ([8338bae](https://togithub.com/mongodb/node-mongodb-native/commit/8338bae933c777dee4e7e49dbcf52c4fd7047528)) ##### [4.12.1](https://togithub.com/mongodb/node-mongodb-native/compare/v4.12.0...v4.12.1) (2022-11-23) ##### Bug Fixes - **NODE-4830:** lazily import aws module ([#​3476](https://togithub.com/mongodb/node-mongodb-native/issues/3476)) ([ff375e9](https://togithub.com/mongodb/node-mongodb-native/commit/ff375e9cfb84c85b7036a7ef0f87385d3ec126bb)) - **NODE-4831:** check map value is not undefined ([#​3477](https://togithub.com/mongodb/node-mongodb-native/issues/3477)) ([9795cdb](https://togithub.com/mongodb/node-mongodb-native/commit/9795cdb19f8e652b4dc4badd4fe8e6d1a7b837a6)) ### [`v4.12.1`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​4121-httpsgithubcommongodbnode-mongodb-nativecomparev4120v4121-2022-11-23) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.12.0...v4.12.1) ### [`v4.12.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​4120-httpsgithubcommongodbnode-mongodb-nativecomparev4110v4120-2022-11-16) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.11.0...v4.12.0) ##### Features - **NODE-4681:** deprecate modify result ([#​3459](https://togithub.com/mongodb/node-mongodb-native/issues/3459)) ([6a8776c](https://togithub.com/mongodb/node-mongodb-native/commit/6a8776c32c8c63beb7871458413baadd9e126efa)) - **NODE-4683:** make ChangeStream an async iterable ([#​3454](https://togithub.com/mongodb/node-mongodb-native/issues/3454)) ([df8d9a4](https://togithub.com/mongodb/node-mongodb-native/commit/df8d9a4f2bb68f747ecb2b4d88a9137ca4f6ecb4)) - **NODE-4733:** deprecate result and getLastOp ([#​3458](https://togithub.com/mongodb/node-mongodb-native/issues/3458)) ([a143d3b](https://togithub.com/mongodb/node-mongodb-native/commit/a143d3bc6768076fe65368feac0726ca201d4bb0)) - **NODE-4757:** deprecate unused PipeOptions ([#​3466](https://togithub.com/mongodb/node-mongodb-native/issues/3466)) ([1a5e619](https://togithub.com/mongodb/node-mongodb-native/commit/1a5e619f13c3112d75f7b40d2e2cbde027de7f0b)) - **NODE-4809:** deprecate the existing logger ([#​3464](https://togithub.com/mongodb/node-mongodb-native/issues/3464)) ([1eea4f0](https://togithub.com/mongodb/node-mongodb-native/commit/1eea4f0f5821bb44c86f653d5a3a6c022a5cf55b)) ##### Bug Fixes - **NODE-4609:** allow mapping to falsey non-null values in cursors ([#​3452](https://togithub.com/mongodb/node-mongodb-native/issues/3452)) ([1bf6ef1](https://togithub.com/mongodb/node-mongodb-native/commit/1bf6ef1792deb108f3fc58429b165e9bdd06b4a7)) - **NODE-4735:** fix change stream consecutive resumabilty ([#​3453](https://togithub.com/mongodb/node-mongodb-native/issues/3453)) ([89b27e9](https://togithub.com/mongodb/node-mongodb-native/commit/89b27e93e5416fb74ec716f3dc541c104c3a90ce)) - **NODE-4753:** remove erroneous deprecation of geoNear ([#​3465](https://togithub.com/mongodb/node-mongodb-native/issues/3465)) ([199dcaf](https://togithub.com/mongodb/node-mongodb-native/commit/199dcaf7b462b1c488544cbdbaecaad0417c62d7)) - **NODE-4783:** handle orphaned operation descriptions ([#​3463](https://togithub.com/mongodb/node-mongodb-native/issues/3463)) ([4c9b4d8](https://togithub.com/mongodb/node-mongodb-native/commit/4c9b4d846e5ba6e86d0d0592ff8bf76654d0fa51)) ### [`v4.11.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​4110-httpsgithubcommongodbnode-mongodb-nativecomparev4100v4110-2022-10-19) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.10.0...v4.11.0) ##### Features - **NODE-3255:** add minPoolSizeCheckIntervalMS option to connection pool ([#​3429](https://togithub.com/mongodb/node-mongodb-native/issues/3429)) ([5f34ad0](https://togithub.com/mongodb/node-mongodb-native/commit/5f34ad07220bfbaf3b9fb6da2fdf67b78b92cb9e)) - **NODE-3651:** add hashed index type ([#​3432](https://togithub.com/mongodb/node-mongodb-native/issues/3432)) ([f6b56a1](https://togithub.com/mongodb/node-mongodb-native/commit/f6b56a17bfd707bb8f42c22af09915dc8b4e6e68)) - **NODE-3875:** support recursive schema types ([#​3433](https://togithub.com/mongodb/node-mongodb-native/issues/3433)) ([26bce4a](https://togithub.com/mongodb/node-mongodb-native/commit/26bce4a8debb65df5a42dc8599e886c9c83de10d)) - **NODE-4503:** throw original error when server attaches NoWritesPerformed label ([#​3441](https://togithub.com/mongodb/node-mongodb-native/issues/3441)) ([a7dab96](https://togithub.com/mongodb/node-mongodb-native/commit/a7dab96cf0a148bc411eb943d4433ba659451117)) - **NODE-4650:** handle handshake errors with SDAM ([#​3426](https://togithub.com/mongodb/node-mongodb-native/issues/3426)) ([cbe7533](https://togithub.com/mongodb/node-mongodb-native/commit/cbe75332d767a921551d71ea5725fac250906b00)) - **NODE-4721:** add aws-sdk as optional dependency ([#​3446](https://togithub.com/mongodb/node-mongodb-native/issues/3446)) ([b879cb5](https://togithub.com/mongodb/node-mongodb-native/commit/b879cb590e1c1880d12522aea2a3ac3a66e6031d)) ##### Bug Fixes - **NODE-3712,NODE-4546:** electionId should be ordered before setVersion ([#​3174](https://togithub.com/mongodb/node-mongodb-native/issues/3174)) ([ca51fec](https://togithub.com/mongodb/node-mongodb-native/commit/ca51feca25ab1413df7efe9e79b1de051ceb21eb)) - **NODE-3921:** error on invalid TLS option combinations ([#​3405](https://togithub.com/mongodb/node-mongodb-native/issues/3405)) ([1a550df](https://togithub.com/mongodb/node-mongodb-native/commit/1a550df3aa328f8c1790c0e02cd1cdd4731b88f8)) - **NODE-4186:** accept ReadPreferenceLike in TransactionOptions type ([#​3425](https://togithub.com/mongodb/node-mongodb-native/issues/3425)) ([dc62bcb](https://togithub.com/mongodb/node-mongodb-native/commit/dc62bcb158e52f4fbc6536f513bc2cab6d01640b)) - **NODE-4475:** make interrupted message more specific ([#​3437](https://togithub.com/mongodb/node-mongodb-native/issues/3437)) ([5f37cb6](https://togithub.com/mongodb/node-mongodb-native/commit/5f37cb6454878294ae004d13a5fcf62eef6adbbe)) - **NODE-4608:** prevent parallel monitor checks ([#​3404](https://togithub.com/mongodb/node-mongodb-native/issues/3404)) ([78bcfe4](https://togithub.com/mongodb/node-mongodb-native/commit/78bcfe4834d03d7f85bd0aaaf8ffc3a316be372d)) - **NODE-4647:** improve error message ([#​3409](https://togithub.com/mongodb/node-mongodb-native/issues/3409)) ([0d3c02e](https://togithub.com/mongodb/node-mongodb-native/commit/0d3c02e25f5327d3200d8631a5472309d93a6c8c)) - **NODE-4649:** use SDAM handling for errors from min pool size population ([#​3424](https://togithub.com/mongodb/node-mongodb-native/issues/3424)) ([ef3b55d](https://togithub.com/mongodb/node-mongodb-native/commit/ef3b55dd99eb52972e6cbebb4cb3d2ed2f72c081)) ### [`v4.10.0`](https://togithub.com/mongodb/node-mongodb-native/blob/HEAD/HISTORY.md#​4100-httpsgithubcommongodbnode-mongodb-nativecomparev490v4100-2022-09-19) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v4.9.1...v4.10.0) ##### Features - **NODE-4385:** add cmap pool pausing functionality ([#​3321](https://togithub.com/mongodb/node-mongodb-native/issues/3321)) ([335ee55](https://togithub.com/mongodb/node-mongodb-native/commit/335ee55d04d4f7f5a6a0dfb06884dd318dc0fc2d)) - **NODE-4484:** add experimental support for disambiguatedPaths in change stream documents ([#​3365](https://togithub.com/mongodb/node-mongodb-native/issues/3365)) ([846365a](https://togithub.com/mongodb/node-mongodb-native/commit/846365a5ef58acb53480fbd5a7e0e83cbfed2a3e)) - **NODE-4519:** deprecate promiseLibrary and PromiseProvider ([#​3403](https://togithub.com/mongodb/node-mongodb-native/issues/3403)) ([5c322b6](https://togithub.com/mongodb/node-mongodb-native/commit/5c322b647fb878534f612329e1ac99daad6405d2)) - **NODE-4547:** mark all callback APIs as deprecated ([#​3388](https://togithub.com/mongodb/node-mongodb-native/issues/3388)) ([a983f14](https://togithub.com/mongodb/node-mongodb-native/commit/a983f147776e38a8c09a063120f64d5053619842)) - **NODE-4607:** add exports needed by legacy client ([#​3396](https://togithub.com/mongodb/node-mongodb-native/issues/3396)) ([972f760](https://togithub.com/mongodb/node-mongodb-native/commit/972f760947330d11895579acc63b509fcaac893c)) - **NODE-4634:** add support for bulk FindOperators.hint() ([#​3408](https://togithub.com/mongodb/node-mongodb-native/issues/3408)) ([8758890](https://togithub.com/mongodb/node-mongodb-native/commit/87588901c620f3cf350acf188726c45a4acf30c4)) ##### Bug Fixes - **NODE-3144:** pool clear event ordering and retryability tests ([#​3407](https://togithub.com/mongodb/node-mongodb-native/issues/3407)) ([bdc0d67](https://togithub.com/mongodb/node-mongodb-native/commit/bdc0d675598805f725806f95714cf33aacf3d2dc)) - **NODE-3986:** unskip MONGODB-AWS test ([#​3397](https://togithub.com/mongodb/node-mongodb-native/issues/3397)) ([5676f81](https://togithub.com/mongodb/node-mongodb-native/commit/5676f8116a7d07faf73f47b000a6fb2f462ab681)) - **NODE-4557:** randomize servers when there are only 2 eligible servers ([#​3390](https://togithub.com/mongodb/node-mongodb-native/issues/3390)) ([ddcfa49](https://togithub.com/mongodb/node-mongodb-native/commit/ddcfa49e753d0a674ad8a7b8e7c17a540d9734cc)) - **NODE-4583:** revert nested union type support ([#​3383](https://togithub.com/mongodb/node-mongodb-native/issues/3383)) ([7f94f0a](https://togithub.com/mongodb/node-mongodb-native/commit/7f94f0a19d48cc3e779216a5b4c51881ab8ddbf0)) - **NODE-4591:** only set loadBalanced on handshake when explicitly set ([#​3386](https://togithub.com/mongodb/node-mongodb-native/issues/3386)) ([57e9f2d](https://togithub.com/mongodb/node-mongodb-native/commit/57e9f2d9a617732f49c7e4dcfa3549912209584e)) - **NODE-4621:** ipv6 address handling in HostAddress ([#​3410](https://togithub.com/mongodb/node-mongodb-native/issues/3410)) ([5eb3978](https://togithub.com/mongodb/node-mongodb-native/commit/5eb3978a71941b88d877f2121910f9612d15e9e5)) - **NODE-4639:** allow PromiseProvider to be null ([#​3412](https://togithub.com/mongodb/node-mongodb-native/issues/3412)) ([d29b3d9](https://togithub.com/mongodb/node-mongodb-native/commit/d29b3d9db6824c048b75e6a74433d3638a41163f))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.