9.13.2 / 2026-12-02
- perf(document): avoid per-path work in validate() and $set() on wide schemas #16774 #14719 xKrishnaSaxena
- fix: handle non-callable toString when formatting ValidatorError messages #16778 #16763 #16762 adityajai119 MIbtehajNasar
- fix(schema): cast nested primitive array cells with arrayFilters after the parent path is cached #16758 phatstraws
- types: allow string[] projection for ProjectionType to avoid compiler perf regression #16782 #16777 #16776
- types(query): avoid wrapping lean<T[]>() result in a second array on later lean() calls #16773 #16771 #16523 MIbtehajNasar
- docs: remove next() from pre middleware examples in subdocs and populate guides #16780 PRIMITIFA
- docs(queries): remove findByIdAndRemove() from the list of query helpers PRIMITIFA
- test: cover discriminator filters in bulkWrite deleteMany and multi-value $in #16775 Trenyx