[Snyk] Upgrade mongodb from 5.1.0 to 5.7.0 #6660
Closed
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 was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade mongodb from 5.1.0 to 5.7.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: mongodb
Read more
The MongoDB Node.js team is pleased to announce version 5.6.0 of the
mongodb
package!Release Highlights
Node 20 support
The MongoDB Node.js Driver now supports Node.js 20! 🎉
runCursorCommand
APIWe have added the
Db#runCursorCommand
method which can be used to execute generic cursor commands. This API complements the genericDb#command
method.TypeScript support for new time series options
The driver now has TypeScript support for the
bucketMaxSpanSeconds
andbucketRoundingSeconds
options which will be available in MongoDB 7.0. You can read more about these options here.Features
Bug Fixes
Documentation
We invite you to try the
mongodb
library immediately, and report any issues to the NODE project.The MongoDB Node.js team is pleased to announce version 5.5.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.The MongoDB Node.js team is pleased to announce version 5.4.0 of the
mongodb
package!Release Highlights
ChangeStream.tryNext
Typescript fixWe have corrected the tryNext method on ChangeStream to use the
TChange
schema generic instead of the untypedDocument
interface. This may increase strictness for existing usages but aligns with the rest of the methods on the change stream class to accurately reflect the type returned from the driver.Deprecations
The
db.command()
API has a number of options deprecated that were incorrectly included in the typescript interface the method reportedly accepts. A majority of the options relate to fields that must be attached to the command directly:readConcern
,writeConcern
, andcomment
.Additionally, the collStats helper has been deprecated in favor of using database aggregations to get the same result: https://www.mongodb.com/docs/manual/reference/operator/aggregation/collStats/
NOTE: This release includes some experimental features that are not yet ready for production use. As a reminder, anything marked experimental is not a part of the stable driver API and is subject to change without notice.
Features and Deprecations
Bug Fixes
ChangeStream.tryNext()
should return TChange type (#3649) (3b58ca1)Documentation
We invite you to try the
mongodb
library immediately, and report any issues to the NODE project.The MongoDB Node.js team is pleased to announce version 5.3.0 of the
mongodb
package!Features
Bug Fixes
upsertedId
to be null inUpdateResult
(#3631) (4b5be21)Documentation
We invite you to try the
mongodb
library immediately, and report any issues to the NODE project.Commit messages
Package name: mongodb
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs