Skip to content

dependabot npm(deps): bump mongoose from 6.3.0 to 6.3.1

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

Bumps mongoose from 6.3.0 to 6.3.1.

Release notes

Sourced from mongoose's releases.

6.3.1 / 2022-04-21

  • perf: improve perf of key order #11639 Uzlopak
  • fix(timestamps): set createdAt when creating new single nested subdocuments #11603
  • fix: improve CastError message when throwing StrictModeError #11506
  • fix: upgrade bson to match mongodb@4.5 #11676
  • fix(populate): avoid populating single nested subdocs underneath arrays if there's no ref #11538
  • fix: handle { capped: number } in schema definition with createCollection() #11539
  • fix: call markModified before setting changes in Array and in DocumentArray methods #11660 josegl
  • fix: only allow using minus path to remove auto-selected discriminatorKey from projection #11546
  • fix(types): set context on virtual getters/setters by default #11543
  • fix(types): correct return type for Connection.prototype.transaction #9919
  • fix(types): allow model as document interface key when using extends Document #11629
  • docs: improve populate typing #11690 onichandame
  • docs: add information regarding typings-tests #11691 Uzlopak
  • docs: fix jsdoc for mongoose.createConnection #11693 Uzlopak
Changelog

Sourced from mongoose's changelog.

6.3.1 / 2022-04-21

  • perf: improve perf of key order #11639 Uzlopak
  • fix(timestamps): set createdAt when creating new single nested subdocuments #11603
  • fix: improve CastError message when throwing StrictModeError #11506
  • fix: upgrade bson to match mongodb@4.5 #11676
  • fix(populate): avoid populating single nested subdocs underneath arrays if there's no ref #11538
  • fix: handle { capped: number } in schema definition with createCollection() #11539
  • fix: call markModified before setting changes in Array and in DocumentArray methods #11660 josegl
  • fix: only allow using minus path to remove auto-selected discriminatorKey from projection #11546
  • fix(types): set context on virtual getters/setters by default #11543
  • fix(types): correct return type for Connection.prototype.transaction #9919
  • fix(types): allow model as document interface key when using extends Document #11629
  • docs: improve populate typing #11690 onichandame
  • docs: add information regarding typings-tests #11691 Uzlopak
  • docs: fix jsdoc for mongoose.createConnection #11693 Uzlopak
Commits
  • c9bcf52 chore: release 6.3.1
  • 5cdca4c fix: improve CastError message when throwing StrictModeError
  • f31780f Merge pull request #11697 from shyakadev/master
  • 8aa35a7 docs: add code snippets for Refs to children
  • 41068fa Merge pull request #11660 from josegl/callMarkModifyBeforeSettingChanges
  • 454c454 Merge pull request #11690 from onichandame/master
  • 6ab6a33 fix: only allow using minus path to remove auto-selected discriminatorKey fro...
  • 5194756 Merge branch 'master' of github.com:Automattic/mongoose
  • eb62a79 fix(model): allow excluding schema-level selected fields from projection, inc...
  • ca73eaf Merge pull request #11688 from sandersn/update-mongodb-dependent-type-parameters
  • Additional commits viewable in compare view

Merge request reports