[Snyk] Upgrade mongoose from 6.8.2 to 6.8.4 #35
Closed
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 6.8.2 to 6.8.4.
ℹ️ 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.
Release notes
Package name: mongoose
-
6.8.4 - 2023-01-17
- fix(collection): handle creating model when connection disconnected with bufferCommands = false #12889
- fix(populate): merge instead of overwrite when match is on _id #12891
- fix: add guard to stop loadClass copying Document if Document is used as base of loaded class (same hack as implemented for Model already) #12820 sgpinkus
- fix(types): correctly infer types on document arrays #12884 #12882 JavaScriptBach
- fix(types): added omit for ArraySubdocument type in LeanType declaration #12903 piyushk96
- fix(types): add returnDocument type safety #12906 AbdelrahmanHafez
- docs(typescript): add notes about virtual context to Mongoose 6 migration and TypeScript virtuals docs #12912 #12806
- docs(schematypes): removed dead link and fixed formatting #12897 #12885 lpizzinidev
- docs: fix link to lean api #12910 manniL
- docs: list all possible strings for schema.pre in one place #12868
- docs: add list of known incompatible npm packages #12892 IslandRhythms
-
6.8.3 - 2023-01-06
- perf: improve performance of assignRawDocsToIdStructure for faster populate on large docs #12867 Uzlopak
- fix(model): ensure consistent ordering of validation errors in insertMany() with ordered: false and rawResult: true #12866
- fix: avoid passing final callback to pre hook, because calling the callback can mess up hook execution #12836
- fix(types): avoid inferring timestamps if methods, virtuals, or statics set #12871
- fix(types): correctly infer string enums on const arrays #12870 JavaScriptBach
- fix(types): allow virtuals to be invoked in the definition of other virtuals #12874 sffc
- fix(types): add type def for Aggregate#model without arguments #12864 hasezoey
- docs(discriminators): add section about changing discriminator key #12861
- docs(typescript): explain that virtuals inferred from schema only show up on Model, not raw document type #12860 #12684
-
6.8.2 - 2022-12-28
- fix(schema): propagate strictQuery to implicitly created schemas for embedded discriminators #12827 #12796
- fix(model): respect discriminators with Model.validate() #12824 #12621
- fix(query): fix unexpected validation error when doing findOneAndReplace() with a nullish value #12826 #12821
- fix(discriminator): apply built-in plugins to discriminator schema even if mergeHooks and mergePlugins are both false #12833 #12696
- fix(types): add option "overwriteModels" as a schema option #12817 #12816 hasezoey
- fix(types): add property "defaultOptions" #12818 hasezoey
- docs: make search bar respect documentation version, so you can search 5.x docs #12548
- docs(typescript): make note about recommending strict mode when using auto typed schemas #12825 #12420
- docs: add section on sorting to query docs #12588 IslandRhythms
- test(query.test): add write-concern option #12829 hasezoey
from mongoose GitHub release notes6.8.4 / 2023-01-17
6.8.3 / 2023-01-06
6.8.2 / 2022-12-28
Commit messages
Package name: mongoose
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs