Skip to content

dependabot npm(deps): bump mongoose from 6.8.3 to 6.8.4

Depen d'Abot requested to merge dependabot-npm_and_yarn-mongoose-6.8.4 into master

Bumps mongoose from 6.8.3 to 6.8.4.

Release notes

Sourced from mongoose's releases.

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
Changelog

Sourced from mongoose's changelog.

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
Commits
  • 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...
  • Additional commits viewable in compare view

Merge request reports

Loading