Mongoose v5.5.15 Release Notes

Release Date: 2019-06-12 // almost 5 years ago
    • fix(connection): reject initial connect promise even if there is an on('error') listener #7850
    • fix(map): make of automatically convert POJOs to schemas unless typeKey is set #7859
    • fix(update): use discriminator schema to cast update if discriminator key specified in filter #7843
    • fix(array): copy atomics from source array #7891 #7889 jyrkive
    • fix(schema): return this when Schema.prototype.add is called with Schema #7887 Mickael-van-der-Beek
    • fix(document): add numAffected and result to DocumentNotFoundError for better debugging #7892 #7844