Mongoose 5.12.10 released:
🛠️ Allow setting defaults option on result documents from query options
🛠️ Handle populating embedded discriminator with custom tiedValue
Full changelog: github.com/Automattic/mongoo…#nodejs#javascript#mongodb
Mongoose 5.12.6 released:
🛠️ Allow setting writeConcern schema option to work around MongoDB driver's writeConcern deprecation
🛠️ Dedupe when virtual populate foreignField is an array to avoid duplicate docs in result
github.com/Automattic/mongoo…#nodejs#mongodb#javascript
Mongoose 5.12.5 released:
🛠️ Handle populating underneath document array when document array property doesn't exist in db
🛠️ Clear out dangling pointers to populated docs so query cursor with populate() can gc populated subdocs
github.com/Automattic/mongoo…#nodejs#mongodb
Mongoose 5.12.2 released:
🛠️ Consistently execute post('find') hooks with an array of docs
🛠️ Support setting ref as an option on an array SchemaType
Full changelog: github.com/Automattic/mongoo…#nodejs#mongodb#javascript
Mongoose 5.11.20 released:
🛠️ Avoid unnecessarily projecting in subpath when populating a path that uses an elemMatch projection
🛠️ Avoid db events deprecation warning with 'close' events
Full changelog: github.com/Automattic/mongoo…#nodejs#mongodb#javascript
Mongoose v5.11.19 released:
🛠️ Skip validating array elements that aren't modified when validateModifiedOnly is set
🛠️ Apply timestamps on findOneAndReplace()
Full changelog: github.com/Automattic/mongoo…#nodejs#mongodb#javascript
Mongoose 5.11.18 released:
🛠️ Set connection state to disconnected if connecting string failed to parse
🛠️ Remove db events deprecation warning if useUnifiedTopology = true
Full changelog: github.com/Automattic/mongoo…#nodejs#mongodb#javascript
Mongoose 5.11.17 released:
🛠️ Handle perDocumentLimit when multiple documents reference the same populated doc
🛠️ Handle directly setting embedded document array element with projection
github.com/Automattic/mongoo…#nodejs#mongodb#javascript
Mongoose v5.11.15 released:
🛠️ Fix issues with `isSelected` as an path in a nested schema
🛠️ Better support for `SchemaDefinition` generics when creating schema
Changelog: github.com/Automattic/mongoo…#nodejs#mongodb#javascript