Mongoose v4.5.6 Release Notes

Release Date: 2016-07-23 // almost 8 years ago
    • fix(schema): don't overwrite createdAt if it isn't selected #4351 tusbar
    • docs(api): fix link to populate() and add a new one from depopulate() #4345 Delapouite
    • fix(types): ownerDocument() works properly with single nested docs #4344 vichle
    • fix(populate): dont use findOne when justOne option set #4329
    • fix(document): dont trigger .then() deprecated warning when calling doc.remove() #4291
    • docs(connection): add promiseLibrary option #4280
    • fix(plugins): apply global plugins to subschemas #4271
    • fix(model): ensure ensureIndex() never calls back in the same tick #4246
    • docs(schema): improve post hook docs on schema #4238