Skip to content

[Snyk] Upgrade mongoose from 8.17.0 to 8.21.0#1390

Open
k2xl wants to merge 1 commit intomainfrom
snyk-upgrade-560226485fbaf1c25141605f068bc2c2
Open

[Snyk] Upgrade mongoose from 8.17.0 to 8.21.0#1390
k2xl wants to merge 1 commit intomainfrom
snyk-upgrade-560226485fbaf1c25141605f068bc2c2

Conversation

@k2xl
Copy link
Collaborator

@k2xl k2xl commented Jan 21, 2026

snyk-top-banner

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

  • The recommended version was released 23 days ago.

Release notes
Package name: mongoose
  • 8.21.0 - 2025-12-29

    8.21.0 / 2025-12-29

    • feat(document): add support for getAtomics() to allow custom container types to utilize atomics #15817
    • feat(document+model): pass options to pre('deleteOne') and update+options to pre('updateOne') hooks #15908 #15870
    • fix: add support for typescript style enums #15914 #15913 mjfwebb
  • 8.20.4 - 2025-12-18

    8.20.4 / 2025-12-18

    • fix(model): ensure $isDeleted is set after calling doc.deleteOne() successfully #15898
    • fix(document): use bitwise OR to accumulate version mode flags #15893 #15888 AbdelrahmanHafez
  • 8.20.3 - 2025-12-15

    8.20.3 / 2025-12-15

    • perf: use Object.hasOwn instead of Object#hasOwnProperty #15875 AbdelrahmanHafez
    • fix: improve error when calling Document.prototype.init() with null/undefined #15812 Vegapunk-debug
    • types(schema): avoid treating paths with default: null as required #15889
    • types(schema): allow partial statics to schema.statics() #15780
  • 8.20.2 - 2025-12-05
  • 8.20.1 - 2025-11-20
  • 8.20.0 - 2025-11-17
  • 8.19.4 - 2025-11-14
  • 8.19.3 - 2025-11-04
  • 8.19.2 - 2025-10-20
  • 8.19.1 - 2025-10-06
  • 8.19.0 - 2025-10-02
  • 8.18.3 - 2025-09-29
  • 8.18.2 - 2025-09-22
  • 8.18.1 - 2025-09-08
  • 8.18.0 - 2025-08-22
  • 8.17.2 - 2025-08-18
  • 8.17.1 - 2025-08-07
  • 8.17.0 - 2025-07-30
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.0 to 8.21.0.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/k2xl/project/cf09253a-8e4c-4f7f-b75f-a1763e5c78eb?utm_source=github&utm_medium=referral&page=upgrade-pr
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