Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade mongoose from 6.8.2 to 6.8.4 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theblooes
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


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.


  • The recommended version is 2 versions ahead of your current version.
  • The recommended version was released a month ago, on 2023-01-17.
Release notes
Package name: mongoose
  • 6.8.4 - 2023-01-17

    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

    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

    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 notes
Commit messages
Package name: mongoose
  • 8123ef3 chore: release 6.8.4
  • 8b99ca7 Merge pull request #12889 from Automattic/vkarpov15/fix-model-while-disconnected
  • ed8eacf Merge pull request #12884 from JavaScriptBach/array-type-fix
  • 256a11e Merge pull request #12890 from hasezoey/closeAllConnections
  • 92fcc58 Merge pull request #12912 from Automattic/vkarpov15/gh-12806
  • dba8625 Update docs/typescript/virtuals.md
  • 12fdd0a Merge pull request #12910 from manniL/patch-1
  • 539f8f3 docs: correct link
  • c14c169 chore: use bug unicode character for issue template (#12913)
  • a1b90e6 docs(typescript): add notes about virtual context to Mongoose 6 migration and TypeScript virtuals docs
  • dc136ab docs: fix link to lean api
  • a6fd84b Merge pull request #12897 from lpizzinidev/gh-12885
  • c91a987 Merge pull request #12903 from lpizzinidev/gh-12859
  • 78b3b54 Merge pull request #12906 from Automattic/update-types
  • 18944ba test(query): add query test for `returnDocument`
  • c820587 Update query.d.ts
  • 45aa436 types(lean): added omit for ArraySubdocument type in LeanType
  • d2492ea docs(schematypes): removed dead link and fixed formatting
  • 054b704 handle string case
  • 6e14876 Merge pull request #12891 from Automattic/vkarpov15/gh-12834
  • 34bda70 Merge pull request #12820 from sgpinkus/feat/allow-doc-as-base-for-loadclass
  • aa44bda rm accidental import
  • 456be2b Merge pull request #12892 from Automattic/vkarpov15/gh-12671
  • 6d7f0e8 Merge pull request #12868 from Automattic/IslandRhythms/middleware-strings

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

Unverified

This user has not yet uploaded their public signing key.
Snyk has created this PR to upgrade mongoose from 6.8.2 to 6.8.4.

See this package in npm:
https://www.npmjs.com/package/mongoose

See this project in Snyk:
https://app.snyk.io/org/blooes3/project/a9ca1dad-98a2-444c-8d7d-4ecc296fccca?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants