8.1.2
mongoose-pro-bot
released this
08 Feb 23:22
·
1298 commits
to master
since this release
8.1.2 / 2024-02-08
- fix: include virtuals in document array toString() output if toObject.virtuals set #14335 #14315
- fix(document): handle setting nested path to spread doc with extra properties #14287 #14269
- fix(populate): call setter on virtual populated path with populated doc instead of undefined #14314
- fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor #14299 DevooKim
- types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #14342 #14341 FaizBShah
- types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set #14336 #14303
- types(connection): add type definition for
createCollections()
#14295 #14279 - docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps #14337 #14309