Skip to content
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

refactor: upgrade mongodb from 4.9.0 to 4.9.1 #8190

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

snyk-bot
Copy link
Contributor

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.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2022-08-31.
Release notes
Package name: mongodb
  • 4.9.1 - 2022-08-31

    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

  • 4.9.0 - 2022-08-18

    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
    • 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 createIndex were incorrectly parsed as string input
      • createIndex(['myKey', 1]) would create { 'myKey': 1, '1': 1 }.
      • 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

    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!

    Features

    Bug Fixes

    Documentation

    We invite you to try the mongodb library immediately, and report any issues to the NODE project.

from mongodb GitHub release notes
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

@parse-github-assistant
Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title [Snyk] Upgrade mongodb from 4.9.0 to 4.9.1 refactor: upgrade mongodb from 4.9.0 to 4.9.1 Sep 22, 2022
@codecov
Copy link

codecov bot commented Sep 22, 2022

Codecov Report

Base: 93.85% // Head: 94.19% // Increases project coverage by +0.33% 🎉

Coverage data is based on head (0bee05e) compared to base (d9afeb8).
Patch has no changes to coverable lines.

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     
Impacted Files Coverage Δ
src/RestWrite.js 94.63% <0.00%> (ø)
src/Controllers/DatabaseController.js 93.90% <0.00%> (+0.14%) ⬆️
src/Adapters/Files/GridFSBucketAdapter.js 80.32% <0.00%> (+0.81%) ⬆️
src/ParseServerRESTController.js 98.48% <0.00%> (+1.51%) ⬆️
src/Adapters/Cache/RedisCacheAdapter.js 87.71% <0.00%> (+75.43%) ⬆️

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mtrezza mtrezza merged commit e824242 into alpha Sep 22, 2022
@mtrezza mtrezza deleted the snyk-upgrade-93e2b993b782025318286776ed8ee8c0 branch September 22, 2022 09:27
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.3.0-alpha.27

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Sep 29, 2022
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.4.0-beta.1

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Oct 29, 2022
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.4.0-alpha.1

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.4.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Nov 19, 2022
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.4.0

@parseplatformorg parseplatformorg added the state:released-5.x.x Released as LTS version label Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-5.x.x Released as LTS version state:released-alpha Released as alpha version state:released-beta Released as beta version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants