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

[Snyk] Upgrade mongoose from 8.4.4 to 8.5.3 #7

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

aditya-arcot
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade mongoose from 8.4.4 to 8.5.3.

ℹ️ 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 5 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: mongoose
  • 8.5.3 - 2024-08-13

    8.5.3 / 2024-08-13

    • fix(document): call required functions on subdocuments underneath nested paths with correct context #14801 #14788
    • fix(populate): avoid throwing error when no result and lean() set #14799 #14794 #14759 MohOraby
    • fix(document): apply virtuals to subdocuments if parent schema has virtuals: true for backwards compatibility #14774 #14771 #14623 #14394
    • types: make HydratedSingleSubdocument and HydratedArraySubdocument merge types instead of using & #14800 #14793
    • types: support schema type inference based on schema options timestamps as well #14773 #13215 ark23CIS
    • types(cursor): indicate that cursor.next() can return null #14798 #14787
    • types: allow mongoose.connection.db to be undefined #14797 #14789
    • docs: add schema type widening advice #14790 JstnMcBrd
  • 8.5.2 - 2024-07-30

    8.5.2 / 2024-07-30

    • perf(clone): avoid further unnecessary checks if cloning a primitive value #14762 #14394
    • fix: allow setting document array default to null #14769 #14717 #6691
    • fix(model): support session: null option for save() to opt out of automatic session option with transactionAsyncLocalStorage #14744 #14736
    • fix(model+document): avoid depopulating manually populated doc as getter value #14760 #14759
    • fix: correct shardkey access in buildBulkWriteOps #14753 #14752 adf0nt3s
    • fix(query): handle casting $switch in $expr #14755 #14751
    • types: allow calling SchemaType.cast() without parent and init parameters #14756 #14748 #9076
    • docs: fix a wrong example in v6 migration guide #14758 abdelrahman-elkady
  • 8.5.1 - 2024-07-12

    8.5.1 / 2024-07-12

    • perf(model): performance improvements for insertMany() #14724
    • fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value #14728 #14722
    • fix(model): handle transactionAsyncLocalStorage option with insertMany() #14743
    • types: make _id required on Document type #14735 #14660
    • types: fix ChangeStream.close to return a Promise like the driver #14740 orgads
  • 8.5.0 - 2024-07-08
  • 8.4.5 - 2024-07-05
  • 8.4.4 - 2024-06-25
from mongoose GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

@aditya-arcot aditya-arcot merged commit cd30303 into main Sep 9, 2024
3 checks passed
@aditya-arcot aditya-arcot deleted the snyk-upgrade-fbaea4b6da4f543a65e3464c6c5965fa branch September 9, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants