Skip to content

Releases: Automattic/mongoose

8.9.6

31 Jan 19:00
Compare
Choose a tag to compare

8.9.6 / 2025-01-31

  • fix(document): allow setting values to undefined with set(obj) syntax with strict: false #15207 #15192
  • fix(schema): improve reason for UUID cast error, currently a TypeError #15215 #15202
  • fix(aggregate): improve error when calling near() with invalid coordinates #15206 #15188

7.8.6

12 Feb 19:46
Compare
Choose a tag to compare

7.8.6 / 2025-01-20

  • chore: remove coverage output from bundle

7.8.5

12 Feb 19:46
Compare
Choose a tag to compare

7.8.5 / 2025-01-20

  • chore: re-release to force npm audit to pick up 6.x fix for CVE-2025-23061

6.13.8

20 Jan 15:36
Compare
Choose a tag to compare

6.13.8 / 2025-01-20

  • chore: remove coverage output from bundle

6.13.7

20 Jan 14:54
Compare
Choose a tag to compare

6.13.7 / 2025-01-20

  • chore: re-release to force npm audit to pick up 6.x fix for CVE-2025-23061

8.9.5

13 Jan 22:41
Compare
Choose a tag to compare

8.9.5 / 2025-01-13

  • fix: disallow nested $where in populate match
  • fix(schema): handle bitwise operators on Int32 #15176 #15170

7.8.4

13 Jan 22:26
Compare
Choose a tag to compare

7.8.4 / 2025-01-13

  • fix: disallow nested $where in populate match

6.13.6

13 Jan 22:15
Compare
Choose a tag to compare

6.13.6 / 2025-01-13

  • fix: disallow nested $where in populate match

8.9.4

09 Jan 21:28
Compare
Choose a tag to compare

8.9.4 / 2025-01-09

  • fix(document): fix document not applying manual populate when using a function in schema.options.ref #15138 IchirokuXVI
  • fix(model): make Model.validate() static correctly cast document arrays #15169 #15164
  • fix(model): allow passing validateBeforeSave option to bulkSave() to skip validation #15161 #15156
  • fix(schema): allow multiple self-referencing discriminator schemas using Schema.prototype.discriminator #15142 #15120
  • types: avoid BufferToBinary<> wiping lean types when passed to generic functions #15160 #15158
  • docs: fix <code> in header ids #15159
  • docs: fix header in field-level-encryption.md #15137 damieng

8.9.3

30 Dec 20:30
Compare
Choose a tag to compare

8.9.3 / 2024-12-30

  • fix(schema): make duplicate index error a warning for now to prevent blocking upgrading #15135 #15112 #15109
  • fix(model): handle document array paths set to non-array values in Model.castObject() #15124 #15075
  • fix(document): avoid using childSchemas.path for compatibility with pre-Mongoose-8.8 schemas #15131 #15071
  • fix(model): avoid throwing unnecessary error if updateOne() returns null in save() #15126
  • perf(cursor): clear the stack every time if using populate with batchSize to avoid stack overflows with large docs #15136 #10449
  • types: make BufferToBinary avoid Document instances #15123 #15122
  • types(model+query): avoid stripping out virtuals when calling populate with paths generic #15132 #15111
  • types(schema): add missing removeIndex #15134
  • types: add cleanIndexes() to IndexManager interface #15127
  • docs: move search endpoint to netlify #15119