npm mongoose 8.12.2

latest releases: 8.13.1, 8.13.0
9 days ago

8.12.2 / 2025-03-21

  • fix(document): avoid stripping out fields in discriminator schema after select: false field #15322 #15308
  • fix(AggregationCursor): make next() error if schema pre('aggregate') middleware throws error #15293 #15279
  • fix(populate): correctly get schematypes when deep populating under a map #15302 #9359
  • fix(model): avoid returning null from bulkSave() if error doesn't have writeErrors property #15323
  • types: add WithTimestamps utility type #15318 baruchiro
  • docs: update references to the ms module in date schema documentation #15319 baruchiro
  • docs: fix typo in schematypes.md #15305 skyran1278

Don't miss a new mongoose release

NewReleases is sending notifications on new releases.