yurikrupnik / mussia6-monorepo

Mussia6 execution.
Apache License 2.0
1 stars 0 forks source link

Update dependency mongodb to v3.7.3 #70

Open renovate[bot] opened 3 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.6 -> 3.7.3 age adoption passing confidence

Release Notes

mongodb/node-mongodb-native ### [`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/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.7`](https://togithub.com/mongodb/node-mongodb-native/releases/tag/v3.6.7) [Compare Source](https://togithub.com/mongodb/node-mongodb-native/compare/v3.6.6...v3.6.7) The MongoDB Node.js team is pleased to announce version 3.6.7 of the driver #### Release Highlights This patch addresses a number of bug fixes. Notably, there was an interesting javascript related issue with sorting documents. It **only** impacts users using numerical keys in their documents. ```javascript > { a: 'asc', [23]: 'asc' } { [23]: 'asc', a: 'asc' } // numbers come first ``` In javascript, [numerical keys are always iterated first](https://262.ecma-international.org/9.0/#sec-ordinaryownpropertykeys) when looping over the keys of an object followed by the chronological specification of each string key. This effectively changes the ordering of a sort document sent to mongodb. However our driver does accept sort specification in a variety of ways and one way to avoid this problem is passing an array of tuples: ```javascript [['a', 'asc'], ['23', 'asc']] ``` This ensures that mongodb is sent the `'a'` key as the first sort key and `'23'` as the second. #### Bug Fixes - **NODE-3159:** removing incorrect apm docs ([#​2793](https://togithub.com/mongodb/node-mongodb-native/issues/2793)) ([971259a](https://togithub.com/mongodb/node-mongodb-native/commit/971259a868a8018e90ebc2f28d151eb7af3dd50a)) - **NODE-3173:** Preserve sort key order for numeric string keys ([#​2790](https://togithub.com/mongodb/node-mongodb-native/issues/2790)) ([730f43a](https://togithub.com/mongodb/node-mongodb-native/commit/730f43af6d9e53603af998353b720d8161426d8c)) - **NODE-3176:** handle errors from MessageStream ([#​2774](https://togithub.com/mongodb/node-mongodb-native/issues/2774)) ([f1afcc4](https://togithub.com/mongodb/node-mongodb-native/commit/f1afcc4efbc41ce436812a6bfa22843e939ab5cf)) - **NODE-3192:** check clusterTime is defined before access ([#​2806](https://togithub.com/mongodb/node-mongodb-native/issues/2806)) ([6ceace6](https://togithub.com/mongodb/node-mongodb-native/commit/6ceace6b245c42b8498fb1b13e7c37a97a46946d)) - **NODE-3252:** state transistion from DISCONNECTED ([#​2807](https://togithub.com/mongodb/node-mongodb-native/issues/2807)) ([5d8f649](https://togithub.com/mongodb/node-mongodb-native/commit/5d8f6493a0ba4b525434c0868e2ae12315b4c249)) - **NODE-3219:** topology no longer causes close event ([#​2791](https://togithub.com/mongodb/node-mongodb-native/issues/2791)) ([16e7064](https://togithub.com/mongodb/node-mongodb-native/commit/16e70642f25954a03b91a2c2991cea96b8356de7)) - invalid case on writeconcern makes skip check fail ([#​2773](https://togithub.com/mongodb/node-mongodb-native/issues/2773)) ([b1363c2](https://togithub.com/mongodb/node-mongodb-native/commit/b1363c26db5da5003f9db43be7e8d6e9007d45bd)) #### Documentation - Reference: http://mongodb.github.io/node-mongodb-native/3.6 - 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 driver immediately, and report any issues to the [NODE project](https://jira.mongodb.org/projects/NODE). Thanks very much to all the community members who contributed to this release!

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.

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.

next2 – ./packages/next2

🔍 Inspect: https://vercel.com/yurikrupnik/next2/6k3uhGb5Gzaeork1Cgi6tH2M1ogQ
✅ Preview: https://next2-git-renovate-mongodb-3x-yurikrupnik.vercel.app

next1 – ./packages/next1

🔍 Inspect: https://vercel.com/yurikrupnik/next1/yFmAps5AfHXowrtjdcoJuFx6JPWy
✅ Preview: https://next1-git-renovate-mongodb-3x-yurikrupnik.vercel.app

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.