[Snyk] Upgrade mongodb from 5.7.0 to 5.9.0#38
Open
jonasdamher wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade mongodb from 5.7.0 to 5.9.0. See this package in npm: https://www.npmjs.com/package/mongodb See this project in Snyk: https://app.snyk.io/org/jonasdamher/project/e52eafa1-a039-45dd-bef9-c1097c705f1f?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.7.0 to 5.9.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
-
5.9.0 - 2023-09-14
- NODE-5564: bump bson version to ^5.5.0 (#3865) (dc110e0)
- NODE-5550: set AWS region from environment variable for STSClient (#3851) (2fab06b)
- NODE-5587: recursive calls to next cause memory leak (#3842) (f60f1b5)
- Reference
- API
- Changelog
-
5.8.1 - 2023-08-23
- NODE-5572: fix saslprep import (#3837) (250dc21)
- Reference
- API
- Changelog
-
5.8.0 - 2023-08-21
- NODE-5399: use mongodb-js/saslprep instead of saslprep (#3818) (c0d3927)
- NODE-5429: deprecate the
- NODE-5465,NODE-5538: lower
- NODE-5489: set kerberos compatibility to ^1.0.0 || ^2.0.0 (#3803) (c3b35b3)
- NODE-5495: do not emit deprecation warning when tlsCertificateKeyFile is specified and tlsCertificateFile is not (#3810) (e81d4a2)
- NODE-5537: remove credentials from ConnectionPoolCreatedEvent options (#3813) (4cf1e96)
- Reference
- API
- Changelog
-
5.7.0 - 2023-07-06
from mongodb GitHub release notes5.9.0 (2023-09-14)
The MongoDB Node.js team is pleased to announce version 5.9.0 of the
mongodbpackage!Release Notes
Bumped
bsonversion to make use of newDecimal128behaviourIn this release, we have adopted the changes made to
Decimal128in bson version 5.5. TheDecimal128constructor andfromString()methods now throw when detecting a loss of precision (more than 34 significant digits). We also expose a newfromStringWithRounding()method which restores the previous rounding behaviour.See the bson v5.5.0 release notes for more information.
Use region settings for STS AWS credentials request
When using IAM AssumeRoleWithWebIdentity AWS authentication the driver uses the @ aws-sdk/credential-providers package to contact the Security Token Service API for temporary credentials. AWS recommends using Regional AWS STS endpoints instead of the global endpoint to reduce latency, build-in redundancy, and increase session token validity. Unfortunately, environment variables
AWS_STS_REGIONAL_ENDPOINTSandAWS_REGIONdo not directly control the region the SDK's STS client contacts for credentials.The driver now has added support for detecting these variables and setting the appropriate options when calling the SDK's API: fromNodeProviderChain().
Important
The driver will only set region options if BOTH environment variables are present.
AWS_STS_REGIONAL_ENDPOINTSMUST be set to either'legacy'or'regional', andAWS_REGIONmust be set.Fix memory leak with ChangeStreams
In a previous release, 5.7.0, we refactored cursor internals from callbacks to async/await. In particular, the
nextfunction that powers cursors was written with callbacks and would recursively call itself depending on the cursor type. ForChangeStreams, this function would call itself if there were no new changes to return to the user. After converting that code to async/await each recursive call created a new promise that saved the current async context. This would slowly build up memory usage if no new changes came in to unwind the recursive calls.The function is now implemented as a loop, memory leak be gone!
Features
Bug Fixes
Documentation
We invite you to try the
mongodblibrary immediately, and report any issues to the NODE project.5.8.1 (2023-08-23)
The MongoDB Node.js team is pleased to announce version 5.8.1 of the
mongodbpackage!Release Notes
Import of
saslprepupdated to correct library.Fixes the import of saslprep to be the correct
@ mongodb-js/saslpreplibrary.Bug Fixes
Documentation
We invite you to try the
mongodblibrary immediately, and report any issues to the NODE project.5.8.0 (2023-08-21)
The MongoDB Node.js team is pleased to announce version 5.8.0 of the
mongodbpackage!Release Notes
The
AutoEncrypterinterface has been deprecatedThe
AutoEncrypterinterface was used internally but accidentally made public in the 4.x version of the driver. It is now deprecated and will be made internal in the next major release.Kerberos support for 1.x and 2.x
Moves the kerberos dependency back to
^1.0.0 || ^2.0.0to indicate support for both 1.x and 2.x. Support for 1.x is removed in 6.0.Fixed accidental deprecation warning
Because of internal options handling, a deprecation was emitted for
tlsCertificateFilewhen usingtlsCertificateKeyFile. That has been corrected.Remove credential availability on
ConnectionPoolCreatedEventIn order to avoid mistakenly printing credentials the
ConnectionPoolCreatedEventwill replace the credentials option with an empty object. The credentials are still accessble via MongoClient options:client.options.credentials.Features
AutoEncrypterinterface (#3764) (9bb0d95)@ aws-sdk/credential-providersversion to 3.188.0 andzstdto^1.0.0(#3821) (39ff81d)Bug Fixes
Documentation
We invite you to try the
mongodblibrary immediately, and report any issues to the NODE project.Read more
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