Mongoose can automatically cast certain strings to booleans.
By default, the strings '1', 'yes', and 'true' cast to true; and '0', 'no', and 'false' cast to false
#NodeJS#JavaScript#MongoDB
Mongoose 7.4.2 released:
🛠️ Avoid hanging on empty bulkWrite() with ordered: false
🛠️ Document.prototype.isModified support for a string of keys as first parameter
Full changelog: github.com/Automattic/mongoo…#NodeJS#MongoDB#JavaScript
Mongoose 7.4.1 released
🛠️ Correctly clean up nested subdocs modified state on save()
🛠️ Avoid propagating toObject.transform and toJSON.transform option to implicitly created schemas
github.com/Automattic/mongoo…#NodeJS#MongoDB#JavaScript
Mongoose 7.3.2 released:
🛠️ Avoid TypeError if insertMany() fails with error that does not have writeErrors property
🛠️ Convert findOneAndUpdate to findOneAndReplace when overwrite set for backwards compat with Mongoose 6
github.com/Automattic/mongoo…#NodeJS#MongoDB#JavaScript