github Automattic/mongoose 6.2.4

latest releases: 8.3.4, 8.3.3, 8.3.2...
2 years ago

6.2.4 / 2022-02-28

  • fix(query): correctly return full deleteOne(), deleteMany() result #11211
  • fix(query): handle update validators on deeply nested subdocuments #11455 #11394
  • fix(discriminator): handle modifying multiple nested paths underneath a discriminator #11428
  • perf: improve isAsyncFunction #11408 Uzlopak
  • fix(index.d.ts): add typedefs for Schema pick() #11448 Moisei-Shkil
  • fix(index.d.ts): allow type override for distinct() #11306
  • fix(index.d.ts): allow array of validators in schema definition #11355
  • fix(index.d.ts): improve connection typings #11418 Uzlopak
  • docs: add timestamps docs #11336
  • docs(timestamps): explain how timestamps works under the hood #11336
  • docs(migrating_to_6): add model.exists breaking change returning doument instead of boolean #11407 AbdelrahmanHafez
  • docs(index.d.ts): add docs for FilterQuery, UpdateQuery, and LeanDocument #11457 Moisei-Shkil

Don't miss a new mongoose release

NewReleases is sending notifications on new releases.