[Snyk] Upgrade mongoose from 8.15.0 to 8.16.0 #64
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade mongoose from 8.15.0 to 8.16.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 a month ago.
Release notes
Package name: mongoose
-
8.16.0 - 2025-06-16
- feat(model): add Model.createSearchIndexes() #15470 #15465
- feat: upgrade MongoDB driver -> 6.17.0 #15468 gmstavros
-
8.15.2 - 2025-06-12
- fix(document+schema): improve handling for setting paths underneath maps, including maps of maps #15477 #15461
- fix: report default paths in VersionError message because they can can cause VersionError #15464
- fix(updateValidators): ensure update validators only call validators underneath single nested paths once #15446 #15436
- fix: fix validation for deeply nested maps of subdocuments #15469 #15447 AbdelrahmanHafez
- fix(DocumentArray): correctly set parent if instantiated with schema from another Mongoose instance #15471 #15466
- types(model): use ProjectionType for Model.hydrate() #15447 #15443
-
8.15.1 - 2025-05-26
- types: correct handling of _id in ProjectionType #15432 #15418
- types: fix definition of VectorSearch.$vectorSearch #15429 chriskrycho
- docs: add Document#save to list of function with callbacks removed #15433 SethFalco
-
8.15.0 - 2025-05-16
- feat: CSFLE support #15390 baileympearson
- feat: add strictFilter option to findOneAndUpdate (#14913) #15402 #14913 muazahmed-dev
- feat(error): set cause to MongoDB error reason on ServerSelection errors #15420 #15416
- fix(model): make bulkSave() rely on document.validateSync() to validate docs and skip bulkWrite casting #15415 #15410
- types: stricter projection typing with 1-level deep nesting #15418 #15327 #13840 pshaddel
- docs: emphasize automatic type inference in TypeScript intro and statics/methods, remove duplicated statics.md #15421
from mongoose GitHub release notes8.16.0 / 2025-06-16
8.15.2 / 2025-06-12
8.15.1 / 2025-05-26
8.15.0 / 2025-05-16
Important
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: