-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
refactor: upgrade mongodb from 4.9.0 to 4.9.1 #8190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Snyk has created this PR to upgrade mongodb from 4.9.0 to 4.9.1. See this package in npm: https://www.npmjs.com/package/mongodb See this project in Snyk: https://app.snyk.io/org/acinader/project/21343059-02d9-4182-87d7-718a44b181ef?utm_source=github&utm_medium=referral&page=upgrade-pr
|
I will reformat the title to use the proper commit message syntax. |
Codecov ReportBase: 93.85% // Head: 94.19% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## alpha #8190 +/- ##
==========================================
+ Coverage 93.85% 94.19% +0.33%
==========================================
Files 182 182
Lines 13737 13737
==========================================
+ Hits 12893 12939 +46
+ Misses 844 798 -46
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
🎉 This change has been released in version 5.3.0-alpha.27 |
|
🎉 This change has been released in version 5.4.0-beta.1 |
|
🎉 This change has been released in version 5.4.0-alpha.1 |
|
🎉 This change has been released in version 5.4.0 |
|
🎉 This change has been released in version 5.4.0 |
Snyk has created this PR to upgrade mongodb from 4.9.0 to 4.9.1.
ℹ️ 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
-
4.9.1 - 2022-08-31
- NODE-4583: revert nested union type support (#3383) (014d0b3)
- NODE-4591: only set loadBalanced on handshake when explicitly set (#3386) (861d465)
-
4.9.0 - 2022-08-18
- Map as a valid input type in TS definition
- Uses Map under the hood to ensure key order is preserved, fixed numeric index key order issue in combination with FLE usage
- Tuples passed at the top level to
- Now it's correctly detected if the second arg is one of the known index directions.
- For complex programmatic generation of indexes we recommend using a Map to avoid all the edge cases here.
- Type strictness on this nesting of array (one or more)
- Type strictness for createIndexes aligned with createIndex
- No longer accepts just Document, checks that the values are a known IndexDirection
- @ sampaiodiego for the
- @ jer-sen for typescript Filter definition improvements
- @ aditi-khare-mongoDB for index specification fixes / type improvements
- NODE-3517: improve index spec handling and type definitions (#3315) (0754bf9)
- NODE-4336: deprecate old write concern options and add missing writeConcern to MongoClientOptions (#3340) (d2b6ad8)
- NODE-4159,NODE-4512: remove servers with incorrect setName from topology and fix unix socket parsing (#3348) (00dcf2d)
- NODE-4273: pass 'comment' option through to distinct command (#3339) (753ecfe)
- NODE-4413: set maxTimeMS on getMores when maxAwaitTimeMS is specified (#3319) (dcbfd6e)
- NODE-4429: select server sync for endSessions during close (#3363) (5086ead)
- NODE-4467: Add back support for
- NODE-4496: counter values incorrectly compared when instance of Long (#3342) (d29eb8c)
- NODE-4513: type for nested objects in query & update (#3349) (ec1a68f)
- Reference: https://docs.mongodb.com/drivers/node/current/
- API: https://mongodb.github.io/node-mongodb-native/4.8
- Changelog: https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md
from mongodb GitHub release notesThe 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
The MongoDB Node.js team is pleased to announce version 4.9.0 of the mongodb package!
Release Highlights
We have corrected an inconsistency with our writeConcern options in the type definitions where the MongoClient alleged to not support "writeConcern" as an option. In fact, it did support it at run time and now the types correctly reflect that, along with the corresponding deprecations we made to the nested writeConcern config settings.
Our index specification handling had a few peculiar edge cases that we have detailed below, we believe these are unlikely to affect a vast majority of users as the type definitions would have likely reported an error with the impacted usage. As a feature, the typescript definitions now support a javascript Map as a valid input for an index specification.
Index Specification Detailed Fixes
createIndexwere incorrectly parsed as string inputcreateIndex(['myKey', 1])would create{ 'myKey': 1, '1': 1 }.As per usual this release brings in the latest BSON release (v4.7.0) which added automatic UUID support. You can read more about that in the BSON release notes here!
Special thanks to the folks who contributed to this release!
oplogReplayflag support fixFeatures
Bug Fixes
oplogReplayoption as deprecated (#3337) (6c69b7d)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