Skip to content

Releases: Automattic/mongoose

8.24.4

Choose a tag to compare

@vkarpov15 vkarpov15 released this 21 Aug 20:37

8.24.4 / 2026-08-21

9.9.3

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 17 Aug 17:20

9.9.3 / 2026-08-17

9.9.2

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 10 Aug 18:19

9.9.2 / 2026-08-10

  • fix(query): apply sanitizeFilter on countDocuments and cursor()
  • fix(document): support map wildcards in optimistic concurrency paths option #16436 #16383
  • fix(model): set document session in bulkSave() so transaction retries restore document state #16438 #16432 yogesh968
  • fix(connection): restore delete state across transaction retries #16435 #16433 snowyukitty
  • fix(schema): put enum on array elements and support the object enum form in toJSONSchema #16444 #16443 Jaybhade
  • perf(document): inline the type checks in $__hasOnlyPrimitiveValues() #14394 yogesh968
  • types(document): respect schema toObject and toJSON options #16431 #15594 samuelmbabhazi
  • types: import BSON from mongodb instead of bson #16434
    #16434 orgads
  • docs(populate): document that skip needs sort to paginate reliably #16442 #7579
  • docs: remove unused jobs.pug #16437 #16430

8.24.3

Choose a tag to compare

@vkarpov15 vkarpov15 released this 10 Aug 18:38

fix(query): apply sanitizeFilter on countDocuments and cursor()

7.8.12

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 10 Aug 19:22

7.8.12 / 2026-08-10

  • fix(query): apply sanitizeFilter in countDocuments and cursor

6.13.11

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 10 Aug 19:47

6.13.11 / 2026-08-10

  • fix(query): apply sanitizeFilter in countDocuments and cursor

9.9.1

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 31 Jul 18:44

9.9.1 / 2026-07-31

  • fix(query): avoid path collision when excluding subdocuments with nested select: false paths #12798
  • types(model): support overriding schema-level lean with lean: false #16413

9.9.0

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 30 Jul 14:49

9.9.0 / 2026-07-30

  • perf(document): improve toObject perf with faster string checks and avoiding unnecessary isSelected on paths with no getters #16407 #16373 #16385
  • perf(model): improve insertMany() performance and general change tracking performance #16370
  • perf(timestamps): avoid adding $setOnInsert for createdAt unless upsert set #16411
  • perf: improve toObject() performance #16408 #16405 #16378 #14394 BIGSUS24
  • types: add discriminator key to each member of embedded discriminator enum- #16412 #16045

9.8.1

Choose a tag to compare

@mongoose-pro-bot mongoose-pro-bot released this 27 Jul 18:35

9.8.1 / 2026-07-27

  • perf(document): avoid rebuilding modified paths during required path validation #16379 xianjianlf2
  • perf(document): avoid clearing the required paths cache on every document instantiation #16404 #16377
  • fix(query): reject update modifiers without paths #16387 AbdelrahmanHafez
  • perf: cache toString() results in array.unique to avoid redundant allocations #16390 vivek180905
  • types: respect the _id option when inferring StandardSchema types #16402
  • types(model): keep Model.schema typed when TSchema is omitted samuelmbabhazi
  • docs(guide): clarify strictQuery handling of filter paths not in the schema #16397 MuhammadFarhantahir

8.24.2

Choose a tag to compare

@vkarpov15 vkarpov15 released this 27 Jul 21:57

8.24.2 / 2026-07-27