Skip to content

dependabot npm(deps): bump mongoose from 8.1.1 to 8.1.2

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

Bumps mongoose from 8.1.1 to 8.1.2.

Release notes

Sourced from mongoose's releases.

8.1.2 / 2024-02-08

  • fix: include virtuals in document array toString() output if toObject.virtuals set #14335 #14315
  • fix(document): handle setting nested path to spread doc with extra properties #14287 #14269
  • fix(populate): call setter on virtual populated path with populated doc instead of undefined #14314
  • fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor #14299 DevooKim
  • types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #14342 #14341 FaizBShah
  • types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set #14336 #14303
  • types(connection): add type definition for createCollections() #14295 #14279
  • docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps #14337 #14309
Changelog

Sourced from mongoose's changelog.

8.1.2 / 2024-02-08

  • fix: include virtuals in document array toString() output if toObject.virtuals set #14335 #14315
  • fix(document): handle setting nested path to spread doc with extra properties #14287 #14269
  • fix(populate): call setter on virtual populated path with populated doc instead of undefined #14314
  • fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor #14299 DevooKim
  • types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #14342 #14341 FaizBShah
  • types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set #14336 #14303
  • types(connection): add type definition for createCollections() #14295 #14279
  • docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps #14337 #14309
Commits
  • c9877b6 chore: release 8.1.2
  • f164b44 Merge pull request #14342 from FaizBShah/master
  • 348ec51 Merge branch 'Automattic:master' into master
  • a842bf7 fix: added typescript support for arbitary fields in the options parameter of...
  • 6579f93 Merge pull request #14335 from Automattic/vkarpov15/gh-14315
  • 2c34102 Merge pull request #14337 from Automattic/vkarpov15/gh-14309
  • 870b94f Merge pull request #14336 from Automattic/vkarpov15/gh-14303
  • 3eceee6 Merge pull request #14326 from Automattic/dependabot/github_actions/master/ac...
  • c5c2f24 Merge pull request #14325 from Automattic/dependabot/github_actions/master/ac...
  • 26f0c96 Merge pull request #14320 from Automattic/dependabot/npm_and_yarn/master/mark...
  • Additional commits viewable in compare view

Merge request reports