9.3.1 / 2026-03-17
- fix(model): handle passing string projection to
hydrate()#16082 - fix(model): fix
bulkWrite()sorting #16079 #16080 pnkov - fix(QueryCursor): fix wrong
thiscontext in QueryCursor close callback #16104 techcodie - types(schema): infer schema options correctly for model context in statics #16046 #16102
- types(schema): fix type definition for
HydratedDocTypeinautoTypedVirtuals#16083 - types(plugin): allow passing model with custom TStatics into
Schema.prototype.plugin()#16090 #16086 - chore: use
MongooseErrorinstead ofErrorin schema, model, and aggregate #15995 mahmoodhamdi - docs(projection): clean up jsdoc for
parseProjection()