4.0.7 / 2015-07-11 ================== * fixed; documentarray id method when using object id #3157 https://github.com/siboulet * docs; improve findById docs #3147 * fixed; update validators handle null properly #3136 https://github.com/odeke-em * docs; jsdoc syntax errors #3128 https://github.com/rhmeeuwisse * docs; fix typo #3126 https://github.com/rhmeeuwisse * docs; proper formatting in queries.jade #3121 https://github.com/rhmeeuwisse * docs; correct example for string maxlength validator #3111 https://github.com/rhmeeuwisse * fixed; setDefaultsOnInsert with arrays #3107 * docs; LearnBoost -> Automattic in package.json #3099 * docs; pre update hook example #3094 https://github.com/danpe * docs; clarify query middleware example #3051 * fixed; ValidationErrors in strict mode #3046 * fixed; set findOneAndUpdate properties before hooks run #3024
New Bugs========Please report any issues if they do not already exist:Migration guide: http://mongoosejs.com/docs/migration.html