Skip to content

dependabot npm(deps): bump mongoose from 8.0.2 to 8.0.3

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

Bumps mongoose from 8.0.2 to 8.0.3.

Release notes

Sourced from mongoose's releases.

8.0.3 / 2023-12-07

  • fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor #14128 #14101
  • docs(connections): add example of registering connection event handlers #14150
  • docs(populate): add example of using refPath and ref functions #14133 #13834
  • types: handle using BigInt global class in schema definitions #14160 #14147
  • types: make findOneAndDelete() without options return result doc, not ModifyResult #14153 #14130
  • types(model): add no-generic override for insertMany() with options #14152 #13999
  • types: add missing Type for applyDefaults #14159 jaypea
Changelog

Sourced from mongoose's changelog.

8.0.3 / 2023-12-07

  • fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor #14128 #14101
  • docs(connections): add example of registering connection event handlers #14150
  • docs(populate): add example of using refPath and ref functions #14133 #13834
  • types: handle using BigInt global class in schema definitions #14160 #14147
  • types: make findOneAndDelete() without options return result doc, not ModifyResult #14153 #14130
  • types(model): add no-generic override for insertMany() with options #14152 #13999
  • types: add missing Type for applyDefaults #14159 jaypea

7.6.7 / 2023-12-06

  • fix: avoid minimizing single nested subdocs if they are required #14151 #14058
  • fix(populate): allow deselecting discriminator key when populating #14155 #3230
  • fix: allow adding discriminators using Schema.prototype.discriminator() to subdocuments after defining parent schema #14131 #14109
  • fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor #14128 #14101
  • fix(populate): call transform object with single id instead of array when populating a justOne path under an array #14135 #14073
  • types: add back mistakenly removed findByIdAndRemove() function signature #14136 #14132
Commits

Merge request reports

Loading