Mongoose v5.6.12 Release Notes

Release Date: 2019-09-03 // over 4 years ago
    • fix(schema): handle required validator correctly with clone() #8111
    • fix(schema): copy schematype getters and setters when cloning #8124 StphnDamon
    • fix(discriminator): avoid unnecessarily cloning schema to avoid leaking memory on repeated discriminator() calls #2874
    • docs(schematypes): clarify when Mongoose uses toString() to convert an object to a string #8112 TheTrueRandom
    • docs(plugins): fix out of date link to npm docs #8100
    • docs(deprecations): fix typo #8109 jgcmarins
    • refactor(model): remove dependency on async.parallelLimit() for insertMany() #8073