[Snyk] Upgrade mongoose from 8.1.0 to 8.15.0 #19
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.1.0 to 8.15.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 64 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-MONGOOSE-8446504
SNYK-JS-MONGOOSE-8623536
Release notes
Package name: mongoose
-
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
-
8.14.3 - 2025-05-13
- types(schema): allow post('init') #15413 #15412 #15333
- types: fix signature of DocumentArray.id #15414 Sainan
- docs: fix typo - change 'prodecure' to 'procedure' #15419 0xEbrahim
-
8.14.2 - 2025-05-08
- fix(query): handle casting array filter paths underneath array filter paths with embedded discriminators #15388 #15386
- docs(typescript): correct schema and model generic params in TS virtuals docs #15391
- docs+types(schema): add alternative optimisticConcurrency syntaxes to docs + types #15405 #10591
- chore: add Node 24 to CI matrix #15408 stscoundrel
-
8.14.1 - 2025-04-29
- fix: correct change tracking with maps of arrays of primitives and maps of maps #15374 #15350
- fix(populate): consistently convert Buffer representation of UUID to hex string to avoid confusing populate assignment #15383 #15382
- docs: add TypeScript Query guide with info on lean() + transform() #15377 #15311
-
8.14.0 - 2025-04-25
- feat: upgrade MongoDB driver -> 6.16 #15371
- feat: implement Query findById methods #15337 sderrow
- feat(subdocument): support schematype-level minimize option to disable minimizing empty subdocuments #15336 #15313
- feat: add skipOriginalStackTraces option to avoid stack trace performance overhead #15345 #15194
- fix(model): disallow Model.findOneAndUpdate(update) and fix TypeScript types re: findOneAndUpdate #15365 #15363
- types: correctly recurse in InferRawDocType #15357 #14954 JavaScriptBach
- types: include virtuals in toJSON and toObject output if virtuals: true set #15346 #15316
- types: make init hooks types accurately reflect runtime behavior #15331 #15301
-
8.13.3 - 2025-04-24
- fix: export MongooseBulkSaveIncompleteError #15370 #15369
- fix: clone POJOs and arrays when casting query filter to avoid mutating objects #15367 #15364
- types(connection): add Connection.prototype.bulkWrite() to types #15368 #15359
- docs: add version requirements to v7 migration docs #15361 SethFalco
- docs: update links in deleteOne & deleteMany API def #15360 Elliot67
- docs: adds Model#count to list of fns callback removed from #15349 SethFalco
-
8.13.2 - 2025-04-03
- fix: avoid double calling validators on paths in document arrays underneath subdocuments #15338 #15335
-
8.13.1 - 2025-03-28
- fix(populate): handle virtual populate on array of UUIDs #15329 #15315
- types: allow default function returning undefined with DocType override #15328
-
8.13.0 - 2025-03-24
-
8.12.2 - 2025-03-21
-
8.12.1 - 2025-03-04
-
8.12.0 - 2025-03-03
-
8.11.0 - 2025-02-26
-
8.10.2 - 2025-02-25
-
8.10.1 - 2025-02-14
-
8.10.0 - 2025-02-05
-
8.9.7 - 2025-02-04
-
8.9.6 - 2025-01-31
-
8.9.5 - 2025-01-13
-
8.9.4 - 2025-01-09
-
8.9.3 - 2024-12-30
-
8.9.2 - 2024-12-19
-
8.9.1 - 2024-12-16
-
8.9.0 - 2024-12-13
-
8.8.4 - 2024-12-05
-
8.8.3 - 2024-11-26
-
8.8.2 - 2024-11-18
-
8.8.1 - 2024-11-08
-
8.8.0 - 2024-10-31
-
8.7.3 - 2024-10-25
-
8.7.2 - 2024-10-17
-
8.7.1 - 2024-10-09
-
8.7.0 - 2024-09-27
-
8.6.4 - 2024-09-26
-
8.6.3 - 2024-09-17
-
8.6.2 - 2024-09-11
-
8.6.1 - 2024-09-03
-
8.6.0 - 2024-08-28
-
8.5.5 - 2024-08-28
-
8.5.4 - 2024-08-23
-
8.5.3 - 2024-08-13
-
8.5.2 - 2024-07-30
-
8.5.1 - 2024-07-12
-
8.5.0 - 2024-07-08
-
8.4.5 - 2024-07-05
-
8.4.4 - 2024-06-25
-
8.4.3 - 2024-06-17
-
8.4.2 - 2024-06-17
-
8.4.1 - 2024-05-31
-
8.4.0 - 2024-05-17
-
8.3.5 - 2024-05-15
-
8.3.4 - 2024-05-06
-
8.3.3 - 2024-04-29
-
8.3.2 - 2024-04-16
-
8.3.1 - 2024-04-08
-
8.3.0 - 2024-04-03
-
8.2.4 - 2024-03-28
-
8.2.3 - 2024-03-21
-
8.2.2 - 2024-03-15
-
8.2.1 - 2024-03-04
-
8.2.0 - 2024-02-22
-
8.1.3 - 2024-02-16
-
8.1.2 - 2024-02-11
-
8.1.1 - 2024-01-24
-
8.1.0 - 2024-01-16
from mongoose GitHub release notes8.15.0 / 2025-05-16
8.14.3 / 2025-05-13
8.14.2 / 2025-05-08
8.14.1 / 2025-04-29
8.14.0 / 2025-04-25
8.13.3 / 2025-04-24
8.13.2 / 2025-04-03
8.13.1 / 2025-03-28
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: