Skip to content

dependabot npm(deps): bump mongoose from 6.2.10 to 6.2.11

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

Bumps mongoose from 6.2.10 to 6.2.11.

Release notes

Sourced from mongoose's releases.

6.2.11 / 2022-04-13

  • fix(document): handle validation with triply nested document arrays #11564
  • fix(query): skip applying string schema setters on $regex #11426
  • fix: skip findOneAndReplace() validation if runValidators = false #11559
  • fix(model): correctly handle schema-level collations in syncIndexes() #7621
  • fix(types): correct populate query return type with lean #11560 mohammad0-0ahmad
  • fix(types): allow using { type: Mixed } as schema type definition for any path #10900
  • docs: fix example on Schema.prototype.post() #11648 EmilienLeroy
  • docs: fix typo in methods/index.js #11651 eltociear
Changelog

Sourced from mongoose's changelog.

6.2.11 / 2022-04-13

  • fix(document): handle validation with triply nested document arrays #11564
  • fix(query): skip applying string schema setters on $regex #11426
  • fix: skip findOneAndReplace() validation if runValidators = false #11559
  • fix(model): correctly handle schema-level collations in syncIndexes() #7621
  • fix(types): correct populate query return type with lean #11560 mohammad0-0ahmad
  • fix(types): allow using { type: Mixed } as schema type definition for any path #10900
  • docs: fix example on Schema.prototype.post() #11648 EmilienLeroy
  • docs: fix typo in methods/index.js #11651 eltociear
Commits
  • 87cda35 chore: release 6.2.11
  • 63af194 perf: remove unused cached ids and avoid unnecessarily setting a couple of do...
  • caf821d fix(query): skip applying string schema setters on $regex
  • 8ae4a4a fix(document): handle validation with triply nested document arrays
  • dd4fe2c fix(types): allow using { type: Mixed } as schema type definition for any path
  • 888f116 refactor: remove not-useful castDoc() helper re: #11559
  • 6611203 fix: skip findOneAndReplace() validation if runValidators = false
  • e8b05e4 Merge pull request #11651 from eltociear/patch-3
  • 1cf926a fix: typo in methods/index.js
  • 337d6ad Merge pull request #11648 from EmilienLeroy/patch-1
  • Additional commits viewable in compare view

Merge request reports