[Snyk] Upgrade mongoose from 8.0.0 to 8.4.0 #16
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.
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade mongoose from 8.0.0 to 8.4.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 20 versions ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: mongoose
-
8.4.0 - 2024-05-17
- feat: upgrade mongodb -> 6.6.2 #14584
- feat: add transactionAsyncLocalStorage option to opt in to automatically setting session on all transactions #14583 #13889
- feat: handle initially null driver when instantiating Mongoose for Rollup support #14577 #12335
- feat(mongoose): export omitUndefined() helper #14582 #14569
- feat: add Model.listSearchIndexes() #14519 #14450
- feat(connection): add listDatabases() function #14506 #9048
- feat(schema): add schema-level readConcern option to apply default readConcern for all queries #14579 #14511
- fix(error): remove model property from CastError to avoid printing all model properties to console #14568 #14529
- fix(model): make bulkWrite() and insertMany() throw if throwOnValidationError set and all ops invalid #14587 #14572
- fix(document): ensure transform function passed to toObject() options applies to subdocs #14600 #14589
- types: add inferRawDocType helper #13900 #13772
- types(document): make document _id type default to unknown instead of any #14541
-
8.3.5 - 2024-05-15
- fix(query): shallow clone $or, $and if merging onto empty query filter #14580 #14567
- types(model+query): pass TInstanceMethods to QueryWithHelpers so populated docs have methods #14581 #14574
- docs(typescript): clarify that setting THydratedDocumentType on schemas is necessary for correct method context #14575 #14573
-
8.3.4 - 2024-05-06
- perf(document): avoid cloning options using spread operator for perf reasons #14565 #14394
- fix(query): apply translateAliases before casting to avoid strictMode error when using aliases #14562 #14521
- fix(model): consistent top-level timestamps option for bulkWrite operations
- docs(connections): improve description of connection creation patterns #14564 #14528
-
8.3.3 - 2024-04-29
- perf(document): add fast path for applying non-nested virtuals to JSON #14543
- fix: make hydrate() recursively hydrate virtual populate docs if hydratedPopulatedDocs is set #14533 #14503
- fix: improve timestamps option handling in bulkWrite #14546 #14536 sderrow
- fix(model): make recompileSchema() overwrite existing document array discriminators #14527
- types(schema): correctly infer Array<Schema.Types.*> #14534 #14367
- types(query+populate): apply populate overrides to doc toObject() result #14525 #14441
- types: add null to select override return type for findOne #14545 sderrow
-
8.3.2 - 2024-04-16
- fix(populate): avoid match function filtering out null values in populate result #14518 #14494
- types(query): make FilterQuery props resolve to any for generics support #14510 #14473 #14459
- types(DocumentArray): pass DocType generic to Document for correct toJSON() and toObject() return types #14526 #14469
- types(models): fix incorrect bulk write options #14513 emiljanitzek
- docs: add documentation for calling schema.post() with async function #14514 #14305
-
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
-
8.0.4 - 2024-01-09
-
8.0.3 - 2023-12-07
-
8.0.2 - 2023-11-28
-
8.0.1 - 2023-11-15
-
8.0.0 - 2023-10-31
from mongoose GitHub release notes8.4.0 / 2024-05-17
8.3.5 / 2024-05-15
8.3.4 / 2024-05-06
#14546 #14536
8.3.3 / 2024-04-29
8.3.2 / 2024-04-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: