Skip to content

Releases: Automattic/mongoose

7.8.7

30 Apr 15:33
Compare
Choose a tag to compare

7.8.7 / 2025-04-30

8.14.1

29 Apr 21:39
Compare
Choose a tag to compare

8.14.1 / 2025-04-29

  • fix: correct change tracking with maps of arrays of primitives and maps of maps #15374 #15350
  • fix(populate): consistently convert Buffer representation of UUID to hex string to avoid confusing populate assignment #15383 #15382
  • docs: add TypeScript Query guide with info on lean() + transform() #15377 #15311

8.14.0

25 Apr 17:40
Compare
Choose a tag to compare

8.14.0 / 2025-04-25

  • feat: upgrade MongoDB driver -> 6.16 #15371
  • feat: implement Query findById methods #15337 sderrow
  • feat(subdocument): support schematype-level minimize option to disable minimizing empty subdocuments #15336 #15313
  • feat: add skipOriginalStackTraces option to avoid stack trace performance overhead #15345 #15194
  • fix(model): disallow Model.findOneAndUpdate(update) and fix TypeScript types re: findOneAndUpdate #15365 #15363
  • types: correctly recurse in InferRawDocType #15357 #14954 JavaScriptBach
  • types: include virtuals in toJSON and toObject output if virtuals: true set #15346 #15316
  • types: make init hooks types accurately reflect runtime behavior #15331 #15301

8.13.3

24 Apr 20:36
Compare
Choose a tag to compare

8.13.3 / 2025-04-24

  • fix: export MongooseBulkSaveIncompleteError #15370 #15369
  • fix: clone POJOs and arrays when casting query filter to avoid mutating objects #15367 #15364
  • types(connection): add Connection.prototype.bulkWrite() to types #15368 #15359
  • docs: add version requirements to v7 migration docs #15361 SethFalco
  • docs: update links in deleteOne & deleteMany API def #15360 Elliot67
  • docs: adds Model#count to list of fns callback removed from #15349 SethFalco

8.13.2

03 Apr 23:42
Compare
Choose a tag to compare

8.13.2 / 2025-04-03

  • fix: avoid double calling validators on paths in document arrays underneath subdocuments #15338 #15335

8.13.1

28 Mar 19:35
Compare
Choose a tag to compare

8.13.1 / 2025-03-28

  • fix(populate): handle virtual populate on array of UUIDs #15329 #15315
  • types: allow default function returning undefined with DocType override #15328

8.13.0

24 Mar 17:36
Compare
Choose a tag to compare

8.13.0 / 2025-03-24

  • feat: bump mongodb driver -> 6.15.0
  • feat: support custom types exported from driver #15321

8.12.2

21 Mar 17:59
Compare
Choose a tag to compare

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

8.12.1

04 Mar 21:18
Compare
Choose a tag to compare

8.12.1 / 2025-03-04

8.12.0

03 Mar 16:28
Compare
Choose a tag to compare

8.12.0 / 2025-03-03

  • feat: bump mongodb driver to 6.14
  • feat: expose "SchemaTypeOptions" in browser #15277 hasezoey
  • docs: update field-level-encryption.md #15272 dphrag