Update dependency mongodb to v4 [SECURITY] #271
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.7.4
->4.17.0
^3.6.0
->^4.0.0
^3.5.9
->^4.0.0
GitHub Vulnerability Alerts
CVE-2021-32050
Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed.
Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default).
This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).
Release Notes
mongodb/node-mongodb-native (mongodb)
v4.17.0
Compare Source
The MongoDB Node.js team is pleased to announce version 4.17.0 of the
mongodb
package!Release Notes
mongodb-js/saslprep
is now installed by defaultUntil v6, the driver included the
saslprep
package as an optional dependency for SCRAM-SHA-256 authentication.saslprep
breaks when bundled with webpack because it attempted to read a file relative to the package location and consequently the driver would throw errors when using SCRAM-SHA-256 if it were bundled.The driver now depends on
mongodb-js/saslprep
, a fork ofsaslprep
that can be bundled with webpack because it includes the necessary saslprep data in memory upon loading. This will be installed by default but will only be used if SCRAM-SHA-256 authentication is used.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
Bug Fixes
Documentation
We invite you to try the
mongodb
library immediately, and report any issues to the NODE project.v4.16.0
Compare Source
The MongoDB Node.js team is pleased to announce version 4.16.0 of the
mongodb
package!Features
Bug Fixes
Documentation
We invite you to try the
mongodb
library immediately, and report any issues to the NODE project.v4.15.0
Compare Source
The MongoDB Node.js team is pleased to announce version 4.15.0 of the mongodb package!
Features
Bug Fixes
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v4.14.0
Compare Source
The MongoDB Node.js team is pleased to announce version 4.14.0 of the mongodb package!
Deprecations
Bug Fixes
Documentation
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v4.13.0
Compare Source
Features
Bug Fixes
4.12.1 (2022-11-23)
Bug Fixes
v4.12.1
Compare Source
v4.12.0
Compare Source
Features
Bug Fixes
v4.11.0
Compare Source
Features
Bug Fixes
v4.10.0
Compare Source
Features
Bug Fixes
v4.9.1
Compare Source
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
v4.9.0
Compare Source
Features
Bug Fixes
oplogReplay
option as deprecated (#3337) (6c69b7d)4.8.1 (2022-07-26)
Bug Fixes
v4.8.1
Compare Source
v4.8.0
Compare Source
Features
Bug Fixes
v4.7.0
Compare Source
Features
Bug Fixes
v4.6.0
Compare Source
Features
Bug Fixes
v4.5.0
Compare Source
Features
comment
field (#3167) (4e2f9bf)Bug Fixes
watch
type parameter to extendChangeStream
type parameter (#3183) (43ba9fc)4.4.1 (2022-03-03)
Features
Bug Fixes
v4.4.1
Compare Source
v4.4.0
Compare Source
Features
Bug Fixes
4.3.1 (2022-01-18)
Bug Fixes
v4.3.1
Compare Source
v4.3.0
Compare Source
Features
enableUtf8Validation
option (#3074) (4f56409)Bug Fixes
GridFSBucketWriteStream.prototype.end()
returnthis
for compat with @types/node@17.0.6 (#3088) (7bb9e37)4.2.2 (2021-12-13)
Bug Fixes
4.2.1 (2021-11-30)
Bug Fixes
v4.2.2
Compare Source
v4.2.1
Compare Source
v4.2.0
Compare Source
Features
authorizedCollections
option to thedb.listCollections
method (#3021) (e1234a7)Bug Fixes
defaultTransactionOptions
with POJO rather than ReadConcern instance (#3032) (53b3164)4.1.3 (2021-10-05)
Bug Fixes
4.1.2 (2021-09-14)
Bug Fixes
4.1.1 (2021-08-24)
Bug Fixes
v4.1.4
Compare Source
Release Highlights
This release includes a couple of bug fixes as noted below:
Bug Fixes
Configuration
📅 Schedule: Branch creation - "" (UTC), 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.