Skip to content

dependabot npm(deps): bump mongoose from 6.2.4 to 6.2.5

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

Bumps mongoose from 6.2.4 to 6.2.5.

Release notes

Sourced from mongoose's releases.

6.2.5 / 2022-03-09

  • fix(mongoose): add isObjectIdOrHexString() to better capture the most common use case for isValidObjectId() #11419
  • fix(query): prevent modifying discriminator key in updates using operators other than $set #11456
  • fix(populate+types): call foreignField functions with doc as 1st param, better typings for localField and foreignField functions #11321
  • fix(populate): return an array when using populate count on an array localField #11307
  • fix(query): avoid error when using $not with arrays #11467
  • perf: only deep clone validators if necessary #11412 Uzlopak
  • fix(types): rename definition files to lowercase to avoid typescript bug #11469
  • fix(types): aggregate.sort() accepts a string but also { field: 'asc'|'ascending'|'desc'|'descending' } #11479 simonbrunel
  • fix(types): extract and refactor aggregationcursor and querycursor #11488 Uzlopak
  • fix(types): extract and refactor schemaoptions #11484 Uzlopak
  • fix(types): make first param to Query.prototype.populate() a string #11475 minhthinhls
  • fix(types): improve type checking for doc arrays in schema definitions #11241
  • docs: fix length comparaison in lean.test.js #11493 zazapeta
  • docs(timestamps): fix typo #11481 saibbyweb
  • docs: fix broken link to rawResult #11459 chhiring90
Changelog

Sourced from mongoose's changelog.

6.2.5 / 2022-03-09

  • fix(mongoose): add isObjectIdOrHexString() to better capture the most common use case for isValidObjectId() #11419
  • fix(query): prevent modifying discriminator key in updates using operators other than $set #11456
  • fix(populate+types): call foreignField functions with doc as 1st param, better typings for localField and foreignField functions #11321
  • fix(populate): return an array when using populate count on an array localField #11307
  • fix(query): avoid error when using $not with arrays #11467
  • perf: only deep clone validators if necessary #11412 Uzlopak
  • fix(types): rename definition files to lowercase to avoid typescript bug #11469
  • fix(types): aggregate.sort() accepts a string but also { field: 'asc'|'ascending'|'desc'|'descending' } #11479 simonbrunel
  • fix(types): extract and refactor aggregationcursor and querycursor #11488 Uzlopak
  • fix(types): extract and refactor schemaoptions #11484 Uzlopak
  • fix(types): make first param to Query.prototype.populate() a string #11475 minhthinhls
  • fix(types): improve type checking for doc arrays in schema definitions #11241
  • docs: fix length comparaison in lean.test.js #11493 zazapeta
  • docs(timestamps): fix typo #11481 saibbyweb
  • docs: fix broken link to rawResult #11459 chhiring90
Commits
  • f148e62 chore: release 6.2.5
  • 3441ba0 Merge pull request #11488 from Uzlopak/chore-extract-and-refactor-aggregation...
  • da0f4bd Merge pull request #11484 from Uzlopak/chore-extract-refactor-schemaoptions
  • 6a2430d Merge pull request #11475 from minhthinhls/patch-11473
  • 893203c fix: remove caching from #11412
  • 029b786 Merge pull request #11412 from Uzlopak/isSimpleValidator
  • 7eaf775 Merge branch 'master' of github.com:Automattic/mongoose
  • a6d790e fix(mongoose): add isObjectIdOrHexString() to better capture the most commo...
  • 6ca7ef4 Merge pull request #11493 from zazapeta/patch-1
  • 8b2f016 Update lean.test.js
  • Additional commits viewable in compare view

Merge request reports

Loading