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.8.1 to 4.9.0 #8158

Merged
merged 1 commit into from
Sep 10, 2022

Conversation

parseplatformorg
Copy link
Contributor

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade mongodb from 4.8.1 to 4.9.0.

merge advice
ℹ️ 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 22 days ago, on 2022-08-18.
Release notes
Package name: mongodb
  • 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.

  • 4.8.1 - 2022-07-26

    The MongoDB Node.js team is pleased to announce version 4.8.1 of the mongodb package!

    Release Highlights

    This patch comes with some bug fixes that are listed below as well as a quality of life improvement for nested keys in the UpdateFilter and Filter types. Thanks to @ coyotte508 (#3328) for contributing this improvement!

    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.8.1 to 4.9.0 refactor: upgrade mongodb from 4.8.1 to 4.9.0 Sep 10, 2022
@parse-github-assistant
Copy link

Thanks for opening this pull request!

  • ❌ Please edit your post and use the provided template when creating a new pull request. This helps everyone to understand your post better and asks for essential information to quicker review the pull request.

@codecov
Copy link

codecov bot commented Sep 10, 2022

Codecov Report

Merging #8158 (ff9e7a7) into alpha (07acecd) will decrease coverage by 0.32%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            alpha    #8158      +/-   ##
==========================================
- Coverage   94.20%   93.87%   -0.33%     
==========================================
  Files         182      182              
  Lines       13720    13720              
==========================================
- Hits        12925    12880      -45     
- Misses        795      840      +45     
Impacted Files Coverage Δ
src/Adapters/Cache/RedisCacheAdapter.js 12.28% <0.00%> (-75.44%) ⬇️
src/ParseServerRESTController.js 96.96% <0.00%> (-1.52%) ⬇️
src/Adapters/Files/GridFSBucketAdapter.js 79.50% <0.00%> (-0.82%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mtrezza mtrezza merged commit 7c32bfe into alpha Sep 10, 2022
@mtrezza mtrezza deleted the snyk-upgrade-cde5af175114f76c21a7cfdc17c7c93c branch September 10, 2022 08:55
@parseplatformorg
Copy link
Contributor Author

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

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

🎉 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 Author

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

@parseplatformorg
Copy link
Contributor Author

🎉 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 Author

🎉 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