NewAI Enhanced
9.1.6
9.1.6 / 2026-02-04
Fixes
- Handle additional top-level query operators in
sanitizeFilter - Fix
toObject()type inference with timestamps and virtuals - Defer subpopulate execution until after match functions to prevent subdoc comparison issues
- Correctly clone subdocuments when updating document arrays
- Fix change tracking for document arrays nested in maps
Docs
- Clarify that timeseries collections must be explicitly created before inserting documents
9.1.6 / 2026-02-04
- fix: handle other top-level query operators in sanitizeFilter
- fix(types): fix toObject() type inference with timestamps + virtuals #15975 #15965 AbdelrahmanHafez
- fix(populate): defer subpopulate until after match functions to avoid comparing populated subdocs #15981 mongodb-js/mongoose-autopopulate#112
- fix(DocumentArray): correctly clone subdocument when updating document array #15978 #15973
- fix(documentArray): fix change tracking for documentArrays in nested maps #15983 #15970 AbdelrahmanHafez
- docs: clarify that you need to explicitly create timeseries collection before inserting document #15990 #15986