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.3.3 to 8.4.0 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rayadi-Ayoub
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade mongoose from 8.3.3 to 8.4.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.


  • The recommended version is 3 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: mongoose
  • 8.4.0 - 2024-05-17

    8.4.0 / 2024-05-17

    • feat: upgrade mongodb -> 6.6.2 #14584
    • feat: add transactionAsyncLocalStorage option to opt in to automatically setting session on all transactions #14583 #13889
    • feat: handle initially null driver when instantiating Mongoose for Rollup support #14577 #12335
    • feat(mongoose): export omitUndefined() helper #14582 #14569
    • feat: add Model.listSearchIndexes() #14519 #14450
    • feat(connection): add listDatabases() function #14506 #9048
    • feat(schema): add schema-level readConcern option to apply default readConcern for all queries #14579 #14511
    • fix(error): remove model property from CastError to avoid printing all model properties to console #14568 #14529
    • fix(model): make bulkWrite() and insertMany() throw if throwOnValidationError set and all ops invalid #14587 #14572
    • fix(document): ensure transform function passed to toObject() options applies to subdocs #14600 #14589
    • types: add inferRawDocType helper #13900 #13772
    • types(document): make document _id type default to unknown instead of any #14541
  • 8.3.5 - 2024-05-15

    8.3.5 / 2024-05-15

    • fix(query): shallow clone $or, $and if merging onto empty query filter #14580 #14567
    • types(model+query): pass TInstanceMethods to QueryWithHelpers so populated docs have methods #14581 #14574
    • docs(typescript): clarify that setting THydratedDocumentType on schemas is necessary for correct method context #14575 #14573
  • 8.3.4 - 2024-05-06

    8.3.4 / 2024-05-06

    • perf(document): avoid cloning options using spread operator for perf reasons #14565 #14394
    • fix(query): apply translateAliases before casting to avoid strictMode error when using aliases #14562 #14521
    • fix(model): consistent top-level timestamps option for bulkWrite operations
      #14546 #14536
    • docs(connections): improve description of connection creation patterns #14564 #14528
  • 8.3.3 - 2024-04-29

    8.3.3 / 2024-04-29

    • perf(document): add fast path for applying non-nested virtuals to JSON #14543
    • fix: make hydrate() recursively hydrate virtual populate docs if hydratedPopulatedDocs is set #14533 #14503
    • fix: improve timestamps option handling in bulkWrite #14546 #14536 sderrow
    • fix(model): make recompileSchema() overwrite existing document array discriminators #14527
    • types(schema): correctly infer Array<Schema.Types.*> #14534 #14367
    • types(query+populate): apply populate overrides to doc toObject() result #14525 #14441
    • types: add null to select override return type for findOne #14545 sderrow
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.
  • Snyk has automatically assigned this pull request, set who gets assigned.

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:

Snyk has created this PR to upgrade mongoose from 8.3.3 to 8.4.0.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/rayadi-ayoub/project/1fb2478a-23a6-4e4e-bee8-170b920ff5d0?utm_source=github&utm_medium=referral&page=upgrade-pr
@Rayadi-Ayoub Rayadi-Ayoub self-assigned this Jun 14, 2024
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