Skip to content

dependabot npm(deps): bump mongoose from 6.1.6 to 6.1.10

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

Bumps mongoose from 6.1.6 to 6.1.10.

Release notes

Sourced from mongoose's releases.

6.1.8 / 2022-01-24

  • fix(connection): stop leaking sessions in .transaction() #11259 #11256 Uzlopak
  • perf: remove sliced in favor of Array.prototype.slice() #11238 Uzlopak
  • perf: improve setDottedPath #11264 Uzlopak
  • fix(document): handle edge case where NestJS sets String.type = String, mixing up schema definitions #11199
  • fix: remove obsolete code after upgrading to bson4 #11265 Uzlopak
  • fix: remove util.isArray in favor of Array.isArray #11234 Uzlopak
  • fix(index.d.ts): avoid UnpackedIntersection making findOne().populate() result non-nullable #11041
  • docs(migration): add note to change default functions to schema #11245 AbdelrahmanHafez
  • docs: updated docs and issue templates for new FAQs #11171 IslandRhythms
  • chore: fix casting benchmark #11262 Uzlopak
  • chore: add mongodb-memory-server to test easier locally #11255 Uzlopak
  • chore: fix testing tsconfig #11243 Uzlopak
  • refactor: move utils.random to test folder #11239 Uzlopak

6.1.7 / 2022-01-17

  • fix(model): correct handling for $push on a nested array #11108
  • fix(update): correctly apply timestamps to update pipelines #11151
  • fix(document): correctly handle modifying array subdocument after setting array subdocument to itself #11172
  • fix(index.d.ts): allow passing options to model() in place of removed skipInit #11137
  • fix(aggregate): allow passing verbosity to Aggregate.prototype.explain() #11144
  • fix(index.d.ts): avoid TypeScript inferring _id as any type with HydratedDocument #11085
  • docs: fix Node.js Driver compat link #11214 wesbos
  • docs: remove extraneous backquote #11204 joebowbeer
Changelog

Sourced from mongoose's changelog.

6.1.10 / 2022-02-01

  • fix(mongoose): correctly handle destructured isValidObjectId #11304
  • fix(mongoose): defer to MongoDB driver isValid() for isValidObjectId() #11227

6.1.9 / 2022-01-31

  • fix(query): respect nested schema strict as default when casting query filters #11291
  • fix(mongoose): make isValidObjectId() consistent with isValid(), make ObjectId() casting more flexible #11209
  • fix(setDefaultsOnInsert): ignore defaults underneath maps #11235
  • fix(query): avoid setting nested schema properties that are stripped out by strictQuery to undefined in query filter #11291
  • fix: check for all flags in a regex deepequal #11242 Uzlopak
  • fix: replace substr with substring #11278 Uzlopak
  • docs: port for documentation testing in CONTRIBUTING.md #11273 Uzlopak

6.1.8 / 2022-01-24

  • fix(connection): stop leaking sessions in .transaction() #11259 #11256 Uzlopak
  • perf: remove sliced in favor of Array.prototype.slice() #11238 Uzlopak
  • perf: improve setDottedPath #11264 Uzlopak
  • fix(document): handle edge case where NestJS sets String.type = String, mixing up schema definitions #11199
  • fix: remove obsolete code after upgrading to bson4 #11265 Uzlopak
  • fix: remove util.isArray in favor of Array.isArray #11234 Uzlopak
  • fix(index.d.ts): avoid UnpackedIntersection making findOne().populate() result non-nullable #11041
  • docs(migration): add note to change default functions to schema #11245 AbdelrahmanHafez
  • docs: updated docs and issue templates for new FAQs #11171 IslandRhythms
  • chore: fix casting benchmark #11262 Uzlopak
  • chore: add mongodb-memory-server to test easier locally #11255 Uzlopak
  • chore: fix testing tsconfig #11243 Uzlopak
  • refactor: move utils.random to test folder #11239 Uzlopak

6.1.7 / 2022-01-17

  • fix(model): correct handling for $push on a nested array #11108
  • fix(update): correctly apply timestamps to update pipelines #11151
  • fix(document): correctly handle modifying array subdocument after setting array subdocument to itself #11172
  • fix(index.d.ts): allow passing options to model() in place of removed skipInit #11137
  • fix(aggregate): allow passing verbosity to Aggregate.prototype.explain() #11144
  • fix(index.d.ts): avoid TypeScript inferring _id as any type with HydratedDocument #11085
  • docs: fix Node.js Driver compat link #11214 wesbos
  • docs: remove extraneous backquote #11204 joebowbeer
Commits
  • 27bb443 chore: release 6.1.10
  • 7695960 fix(mongoose): defer to MongoDB driver isValid() for isValidObjectId()
  • 370381a fix(mongoose): correctly handle destructured isValidObjectId
  • 9f897ea chore: update opencollective sponsors
  • cd76136 chore: release 6.1.9
  • 1a6eca8 Merge pull request #11297 from Uzlopak/add-nyc-back
  • ec4fbaf add back nyc
  • 321df9e Merge pull request #11292 from Uzlopak/clarify-unit-test-name
  • 61d01fa fix(mongoose): make isValidObjectId() consistent with isValid(), make `Ob...
  • 9c46e97 rename unit test to clarify its purpose
  • Additional commits viewable in compare view

Merge request reports

Loading