[Snyk] Upgrade mongoose from 8.18.1 to 8.19.3 #185
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.18.1 to 8.19.3.
ℹ️ 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 6 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: mongoose
-
8.19.3 - 2025-11-04
- fix(model+plugins): correctly apply shard key on deleteOne() #15705 #15701
- fix(schema): correctly cache text indexes as 'text' not 1 #15695
- types: make inferRawDocType correctly infer empty array type [] as any[] #15704 #15699
-
8.19.2 - 2025-10-20
- perf(setDefaultsOnInsert): avoid computing all modified paths when running setDefaultsOnInsert and update validators, only calculate if there are defaults to set #15691 #15672
- fix: correct handling of relative vs absolute paths with maps and subdocuments #15682 #15678 #15350
- ci: add publish script with provenance #15684 #15680
-
8.19.1 - 2025-10-06
- perf: avoid getting all modified paths in update when checking if versionKey needs to be set #15677 #15672
- perf: Avoid needless path translation #15679 orgads
- fix(query): throw error if using update operator with modifier and no path #15670 #15642
- types: avoid making FilterQuery a conditional type because of how typescript handles distributed conditional unions #15676 #15671
- docs: update installation instructions #15675 aalok-y
-
8.19.0 - 2025-10-02
- feat: upgrade mongodb driver to 6.20.0 #15651 #15656
- feat(model): add virtuals option to Model.hydrate() to set virtuals #15638 #15627
- fix(schema): handle casting array filters underneath maps of Mixed #15655 #15653
- types: optimize InferRawDocType #15588 ssalbdivad
- types(schema): add lean schema option to TypeScript types #15646 #15583 #10090
-
8.18.3 - 2025-09-29
-
8.18.2 - 2025-09-22
-
8.18.1 - 2025-09-08
from mongoose GitHub release notes8.19.3 / 2025-11-04
8.19.2 / 2025-10-20
8.19.1 / 2025-10-06
8.19.0 / 2025-10-02
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: