Mongoose v4.10.6 Release Notes
Release Date: 2017-06-12 // almost 7 years ago-
- fix(cursor): handle custom model option for populate #5334
- fix(populate): handle empty virtual populate with Model.populate #5331
- fix(model): make ensureIndexes() run with autoIndex: false unless called internally #5328 #5324 #5317
- fix: wait for all connections to close before resolving disconnect() promise #5316
- fix(document): handle setting populated path with custom typeKey in schema #5313
- fix(error): add toJSON helper to ValidationError so
message
shows up with JSON.stringify #5309 - feat: add
getPromiseConstructor()
to prevent need formongoose.Promise.ES6
#5305 - fix(document): handle conditional required with undefined props #5296
- fix(model): clone options before inserting in save() #5294
- docs(populate): clarify that multiple populate() calls on same path overwrite #5274