Skip to content

[Snyk] Upgrade mongoose from 8.17.1 to 8.18.0 - #96

Open
Softeng310-project wants to merge 1 commit into
mainfrom
snyk-upgrade-aa6f4eb92dfdb8fd1bf1551eec3601ac
Open

[Snyk] Upgrade mongoose from 8.17.1 to 8.18.0#96
Softeng310-project wants to merge 1 commit into
mainfrom
snyk-upgrade-aa6f4eb92dfdb8fd1bf1551eec3601ac

Conversation

@Softeng310-project

Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to upgrade mongoose from 8.17.1 to 8.18.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 2 versions ahead of your current version.

  • The recommended version was released 23 days ago.

Release notes
Package name: mongoose
  • 8.18.0 - 2025-08-22

    8.18.0 / 2025-08-22

    • feat(schema): support for union types #15574 #10894
    • fix: trim long strings in minLength and maxLength error messages and display the string length #15571 #15550
    • types(connection+collection): make BaseCollection and BaseConnection usable as values #15575 #15548
    • types: remove logic that omits timestamps when virtuals, methods, etc. options set #15577 #12807
  • 8.17.2 - 2025-08-18

    8.17.2 / 2025-08-18

    • fix: avoid Model.validate() hanging when all paths fail casting #15580 #15579 piotracalski
    • types(document): better support for flattenObjectIds and versionKey options for toObject() and toJSON() #15582 #15578
    • docs: fix docs jsdoc tags and add UUID to be listed #15585
    • docs(document): fix code sample that errors with "Cannot set properties of undefined" #15589
  • 8.17.1 - 2025-08-07

    8.17.1 / 2025-08-07

    • fix(query): propagate read preference and read concern to populate if read() called after populate() #15567 #15553
    • fix(model): call correct function in autoSearchIndex #15569 #15565
    • fix(model): allow setting statics option on discriminator schema #15568 #15556
    • fix(model): remove unnecessary conversion of undefined -> null in findById #15566 #15551
    • types: allow passing in projections without as const #15564 #15557
    • types: support maxLength and minLength in SchemaTypeOptions #15570 #4720
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:

Snyk has created this PR to upgrade mongoose from 8.17.1 to 8.18.0.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/softeng310-project/project/ee03ef86-c060-453e-b1a5-5111b7b6a272?utm_source=github&utm_medium=referral&page=upgrade-pr
@sonarqubecloud

Copy link
Copy Markdown

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