皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

MongooseJS 5.0.0 rc0 发布,MongoDB 连接包

MongooseJS 5.0.0 rc0 发布了,MongooseJS 是使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。

主要更新内容:

  • BREAKING CHANGE: always use mongoose aggregation cursor when using .aggregate().cursor() #5941
  • BREAKING CHANGE: attach query middleware when compiling model #5939
  • BREAKING CHANGE: emitIndexErrors is on by default, failing index build will throw uncaught error if not handled #5910
  • BREAKING CHANGE: remove precompiled browser bundle #5895
  • feat: add mongoose.pluralize() function #5877
  • BREAKING CHANGE: remove passRawResult option for findOneAndUpdate, use rawResult #5869
  • BREAKING CHANGE: implicit async validators (based on number of function args) are removed, return a promise instead #5824

更多内容请参阅 ChangeLog

下载地址:

转自 http://www.oschina.net/news/91944/mongoose-5-0-0-rc0-release