Skip to content

dependabot npm(deps): bump mongoose from 6.2.7 to 6.2.8

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

Bumps mongoose from 6.2.7 to 6.2.8.

Release notes

Sourced from mongoose's releases.

6.2.8 / 2022-03-22

  • fix(document): handle casting array of spread docs #11522
  • fix(document): avoid setting nested properties on top-level document when initing with strict: false #11526
  • fix(document): correctly handle deeply nested subdocuments when getting paths to validate #11501
  • fix(types): avoid making TInstanceMethods any by default leading to this = any in middleware #11435
  • fix(types): allow defining array default if using Types.Array<> in document interface #11391
  • docs(migrating_to_6): describe breaking change in Mongoose 6 about default query populate model #11289
  • docs(middleware): fix typo #11537 x1489
Changelog

Sourced from mongoose's changelog.

6.2.8 / 2022-03-22

  • fix(document): handle casting array of spread docs #11522
  • fix(document): avoid setting nested properties on top-level document when initing with strict: false #11526
  • fix(document): correctly handle deeply nested subdocuments when getting paths to validate #11501
  • fix(types): avoid making TInstanceMethods any by default leading to this = any in middleware #11435
  • fix(types): allow defining array default if using Types.Array<> in document interface #11391
  • docs(migrating_to_6): describe breaking change in Mongoose 6 about default query populate model #11289
  • docs(middleware): fix typo #11537 x1489
Commits
  • 8fe3bd2 chore: release 6.2.8
  • 17a5d5a Merge branch 'master' of github.com:Automattic/mongoose
  • 041be89 fix(document): handle casting array of spread docs
  • 57834e2 test(types): add test re#11544
  • cda9c97 Merge pull request #11544 from Kaljuk/patch-1
  • c39a641 chore: delete commented-out code
  • 29837ed fix lint re #11549
  • 25594ad Merge pull request #11549 from Hashen110/async-code-and-promises
  • 4544723 Merge pull request #11550 from Hashen110/jsdoc-comment
  • 0e2411f fix: JSDoc comment matches function signature
  • Additional commits viewable in compare view

Merge request reports