MongooseJS 4.9.9 发布了。使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。
本次更新如下:
docs: correct value for Query#regex()
fix(connection): don't throw if .catch() on open() promise
fix(schema): allow update with $currentDate for updatedAt to succeed
fix(model): versioning doesn't fail if version key undefined
fix(document): don't emit model error if callback specified for consistency with docs
fix(document): handle errors in subdoc pre validate
软件详情:https://github.com/Automattic/mongoose/blob/master/History.md
下载地址:https://github.com/Automattic/mongoose/archive/4.9.9.zip
来自:开源中国社区

