Skip to content

Releases

8.24.9

Choose a tag to compare

@vkarpov15 vkarpov15 released this 12 Nov 17:31

8.24.9 / 2026-11-12

  • fix(document): allow setting dotted paths 3+ levels deep underneath single nested subdocuments #16691 RagedPanda
  • fix(connection): don't disable autoIndex/autoCreate for a primary ReadPreference instance mrityunjay-pandey

9.12.1

Choose a tag to compare

@vkarpov15 vkarpov15 released this 09 Nov 20:58

9.12.1 / 2026-11-09

9.12.0

Choose a tag to compare

@vkarpov15 vkarpov15 released this 04 Nov 22:24

9.12.0 / 2026-11-04

  • feat: upgrade to mongodb driver 7.8 #16772 #16667
  • perf: improve for document arrays: cache paths with defaults and schemas with select paths; avoid unnecessary $isModified() lookup #16595
  • fix: make recompileSchema recompute derived caches and delay _preCompile() until an actual model is compiled (not subdocs or doc arrays) #16595
  • fix(array): compare UUIDs by value in indexOf() so pull() and addToSet() work #16606 luantaraschi
  • docs(query): remove unused use$geoWithin docs and property #16589 #16583

8.24.8

Choose a tag to compare

@vkarpov15 vkarpov15 released this 02 Nov 19:58

8.24.8 / 2026-11-02

9.11.4

Choose a tag to compare

@vkarpov15 vkarpov15 released this 23 Oct 17:02

9.11.4 / 2026-10-23

  • fix: avoid walking into inherited properties like toString when hydrating documents, setting dotted paths, and merging updates
  • fix: only use own properties when looking up discriminators by key
  • fix(schema): disallow setting special properties via virtual()
  • fix(query): respect connection-level sanitizeFilter in queries
  • fix(query): disallow special properties like __proto__ as paths in where() and mod()
  • fix(deps): upgrade mquery -> 6.0.1 to avoid prototype pollution with query helpers like gt() and in()

8.24.7

Choose a tag to compare

@vkarpov15 vkarpov15 released this 23 Oct 16:52

8.24.7 / 2026-10-23

  • fix: avoid walking into inherited properties like toString when hydrating documents, setting dotted paths, and merging updates
  • fix: only use own properties when looking up discriminators by key
  • fix(schema): disallow setting special properties via virtual()
  • fix(query): respect connection-level sanitizeFilter in queries
  • fix(query): disallow special properties like __proto__ as paths in where() and mod()
  • fix(deps): upgrade mquery -> 5.0.1 to avoid prototype pollution with query helpers like gt() and in()

9.11.3

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 21 Oct 19:58

9.11.3 / 2026-10-21

8.24.6

Choose a tag to compare

@vkarpov15 vkarpov15 released this 20 Oct 19:35

8.24.6 / 2026-10-20

9.11.2

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 12 Oct 19:23

9.11.2 / 2026-10-12

9.11.1

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 07 Oct 16:48

9.11.1 / 2026-10-07

  • fix(document): call recursive toObject() when setting a path to a nested object #16571
  • fix(update): keep casting array filters after a path not in the schema #16558 giaBaoJS
  • fix(document): apply flattenDecimals when toObject() takes the shallow fast path #16569 #16568 jeremyml
  • fix(query): cast operators under $not inside $elemMatch on primitive arrays #16542 #13880 breken-ai
  • fix(query): use embedded discriminator schema when filter selects the key with $eq or $in #16543 breken-ai
  • fix(documentarray): don't pass arrayPathIndex to subdocuments when initializing nested document arrays #16546 Mohamed-Elshesheny
  • fix(cursor): await driver cleanup when destroying query cursors #16562 #16560 IbrahimHafez1
  • fix(cursor): reject getDriverCursor after initialization errors #16563 #16561 IbrahimHafez1
  • types(schema): treat Int32 paths as number #16565 #16564 lazerg
  • types(models): align UpdateOneModel and UpdateManyModel update typing with UpdateQuery #16559 #16545 aipd506