8.16.2 / 2025-07-07
- fix(cursor): populate after hydrating in queryCursor so populated docs get parent() #15498 #15494
- fix(schema): support toJSONSchema() on mixed types and improve error message about unsupported types #15492 #15489
- types: add _id and __v to toObject/toJSON transform type #15501 #15479
- types(schema): use user-provided THydratedDocumentType as context for virtual get() and set() #15517 #15516
- types: improve typing for transform option to toJSON and toObject #15485
- docs: link to custom setter docs from lowercase, etc. options and note that setters run on query filters #15493 #15491
- docs(jest): add note about resetModules #15515