Skip to content

[Snyk] Upgrade mongoose from 8.10.1 to 8.11.0 #225

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

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

saileshbro
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade mongoose from 8.10.1 to 8.11.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 21 days ago.

Release notes
Package name: mongoose
  • 8.11.0 - 2025-02-26

    8.11.0 / 2025-02-26

    • feat(model): make bulkWrite results include MongoDB bulk write errors as well as validation errors #15271 #15265
    • feat(document): add schemaFieldsOnly option to toObject() and toJSON() #15259 #15218
    • feat: introduce populate ordered option for populating in series rather than in parallel for transactions #15239 #15231 #15210
    • fix(bigint): throw error when casting BigInt that's outside of the bounds of what MongoDB can safely store #15230 #15200
  • 8.10.2 - 2025-02-25

    8.10.2 / 2025-02-25

    • fix(model+connection): return MongoDB BulkWriteResult instance even if no valid ops #15266 #15265
    • fix(debug): avoid printing trusted symbol in debug output #15267 #15263
    • types: make type inference logic resilient to no Buffer type due to missing @ types/node #15261
  • 8.10.1 - 2025-02-14

    8.10.1 / 2025-02-14

    • perf(document): only call undoReset() 1x/document #15257 #15255
    • perf(schema): clear childSchemas when overwriting existing path to avoid performance degradations #15256 #15253
    • perf: some more micro optimizations for find() and findOne() #14906 #15250
    • fix(model): avoid adding timeout on Model.init() buffering to avoid unintentional dangling open handles #15251 #15241
    • fix: avoid connection buffering on init if autoCreate: false #15247 #15241
    • fix: infer discriminator key if set in $set with overwriteDiscriminatorKey #15243 #15218
    • types(middleware): make this in document middleware the hydrated doc type, not raw doc type #15246 #15242
    • types(schema): support options parameter to Schema.prototype.discriminator() #15249 #15244
    • types(schema): allow calling Schema.prototype.number() with no message arg #15237 #15236
    • docs(typescript): recommend using HydratedSingleSubdocument over Types.Subdocument #15240 #15211
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.10.1 to 8.11.0.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/saileshbro/project/47a01adf-00e9-4711-8988-1b0fddb6532b?utm_source=github&utm_medium=referral&page=upgrade-pr
@saileshbro saileshbro merged commit c70f915 into main Mar 20, 2025
2 checks passed
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