Mongoose 9.11.2

9.11.2
Changed 3
  • Avoid applying the saveSubdocs and sharding plugins to subdocuments to improve performance
  • Upgrade kareem to 3.4.1 for performance improvements
  • Make MergeType more efficiently handle MergeType<A, {}> in types
Fixed 3
  • Cast array filter values in bulkWrite()
  • Allow function messages for number min/max and string minlength schema validators
  • Fix broken API anchors and a malformed link in the documentation

From Mongoose

9.11.2 / 2026-10-12

  • perf: avoid applying saveSubdocs and sharding plugins to subdocuments #16585
  • perf: upgrade to kareem@3.4.1 for mongoosejs/kareem#47 #16588
  • fix(model): cast array filter values in bulkWrite() #16574 #16573 OmBhandwaldar
  • fix(schema): allow function messages for number min/max and string minlength #16579 #16572 #8512 NotAFlightRisk
  • types: make MergeType more efficiently handle MergeType<A, {}> #16581 #16580
  • docs: fix broken API anchors and a malformed link #16583 SatvikMishra08
View original

Upgraded? How did it go?

Discussion