MongooseJS 4.11.4 发布了,MongooseJS 是使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。本次更新内容如下:
fix: handle next() errors in eachAsync()
fix(schema): propagate runSettersOnQuery option to implicitly created schemas
fix(query): run castConditions() correctly in update ops
fix(query): ensure castConditions called for findOne and findOneAnd*
docs: clarify relationship between $lookup and populate
test: add coverage for arrays of arrays zbjornson
fix(middleware): ensure that error handlers for save get doc as 2nd param
fix: handle strict: false correctly
fix(query): apply schema excluded paths if only projection is a $slice
fix(query): correct discriminator handling for schema select: false fields in schema
fix(cursor): call next() in series when parallel option used
chore: load bundled driver first to avoid packaging problem
fix(query): defer condition casting until final exec
fix(aggregate): don't rely on mongodb aggregate to put a cursor in the callback
docs(aggregate): add useMongooseAggCursor docs
docs(middleware): clarify context for document, query, and model middleware
软件详情:https://github.com/Automattic/mongoose/blob/master/History.md
下载地址:https://github.com/Automattic/mongoose/archive/4.11.4.zip
来自:开源中国社区

