Releases: Automattic/mongoose
Releases · Automattic/mongoose
6.0.12
6.0.12 / 2021-10-21
- fix(cursor): remove the logic for emitting close, rely on autoDestroy option for Node 12 support #10906 iovanom
- fix(map): support passing flattenMaps: false to Map toJSON(), make
toJSON()
flatten maps by default in TypeScript #10872 - fix: upgrade to mongodb driver 4.1.3 #10911 orgads
- fix(index.d.ts): correct TS function signature for
SchemaType.prototype.set()
#10799 - fix(index.d.ts): support implicit $in in FilterQuery #10826
- fix(index.d.ts): More precise type for Schema.clone() #10899 coyotte508
- fix(index.d.ts): add caster property to schema arrays and document arrays #10865
- docs: update
updateMany()
anddeleteMany()
docs to reflect newmatchedCount
,modifiedCount
,deletedCount
properties #10908 IslandRhythms - docs: fix broken links to populate virtuals #10870 IslandRhythms
- docs: updated docs to have returnOriginal, removed new and returnDocument #10887 IslandRhythms