MongooseJS 4.10.8 发布了。MongooseJS 是使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。本次更新如下:
docs: fix small formatting typo on schematypes
fix(model): allow null as an _id
fix(populate): don't throw async uncaught exception if model not found in populate
fix: correctly cast decimals in update
fix(error): don't use custom getter for ValidationError message
fix(query): handle runSettersOnQuery in built-in _id setter
fix(document): ensure consistent context for nested doc custom validators
软件详情:https://github.com/Automattic/mongoose/blob/master/History.md
下载地址:https://github.com/Automattic/mongoose/archive/4.10.8.zip
来自:开源中国社区

