Bump mongodb from 3.6.1 to 3.6.10
Bumps mongodb from 3.6.1 to 3.6.10.
Release notes
Sourced from mongodb's releases.
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
bsonRegExpoption 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: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.forEachwhere user defined forEach callbacks that throw errors incorrectly handled catching errors. Take a look at the comments in this example: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 hereBug Fixes
- NODE-2035: Exceptions thrown from awaited cursor forEach do not propagate (#2852) (a917dfa)
- NODE-3150: added bsonRegExp option for v3.6 (#2843) (e4a9a57)
- NODE-3358: Command monitoring objects hold internal state references (#2858) (750760c)
- NODE-3380: perform retryable write checks against server (#2861) (621677a)
- NODE-3397: report more helpful error with unsupported authMechanism in initial handshake (#2876) (3ce148d)
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.
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
... (truncated)
Commits
1297cd1chore(release): 3.6.10e9196abrefactor(NODE-3324): bump max wire version to 13 (#2875)3ce148dfix(NODE-3397): report more helpful error with unsupported authMechanism in i...558182ftest(NODE-3307): unified runner does not assert identical keys (#2867)621677afix(NODE-3380): perform retryable write checks against server (#2861)e4a9a57fix(NODE-3150): added bsonRegExp option for v3.6 (#2843)750760cfix(NODE-3358): Command monitoring objects hold internal state references (#2...a917dfafix(NODE-2035): Exceptions thrown from awaited cursor forEach do not propagat...b98f206refactor(NODE-3356): Update command monitoring logging (#2853)68b4665test(NODE-2856): ensure defaultTransactionOptions get used from session (#2845)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by nbbeeken, a new releaser for mongodb since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.