perf(document): delay creating document event emitter until used to improve memory usage, several small improvements to improve initing docs with large arrays #10400
fix(model): avoid bulkSave() error when versionKey: false #11186 #11071 IslandRhythms
fix(model): revert #11079: findByIdAndUpdate(undefined) breaking change #11149
fix(index.d.ts): support strings in deep populate #11181 ivalduan
fix(index.d.ts): rename map() -> transform() to line up with change in v6.0 #11161
fix(index.d.ts): allow new Model(obj) for stricter type checks #11148
fix(index.d.ts): make Schema.prototype.pre() and post() generics default to HydratedDocument #11180
docs: improve autoCreate docs #11116
docs(schematype): add missing parameter to example #11185 kerolloz
docs(connections): use updated link to list of MongoDB Node driver connect() options #11184 splinter
docs(aggregate): fix formatting #11191 enieber
docs: fix broken link #11179 khairnarsaurabh23
转自 https://github.com/Automattic/mongoose/releases/tag/6.1.6