MongoDB 连接包,MongooseJS 4.3.2 发布

jopen 9年前

Mongoose 是基于nodejs,使用javascript编程,连接mongodb数据库的软件包,使mongodb的文档数据模型变的优雅起来,方便对mongodb文档型数据库的连接和增删改查等常规数据操作。

mongoose是当前使用mean(mongodb express angularjs nodejs)全栈开发必用的连接数据库软件包。

MongooseJS 4.3.2 发布,此版本更新内容如下:

  • fix(document): .set() into single nested schemas #3686

  • fix(connection): support 'replSet' as well as 'replset' option #3685

  • fix(document): bluebird unhandled rejection when validating doc arrays #3681

  • fix(document): hooks for doc arrays in single nested schemas #3680

  • fix(document): post hooks for single nested schemas #3679

  • fix: remove unused npm module #3674 sybarite

  • fix(model): don't swallow exceptions in nested doc save callback #3671

  • docs: update keepAlive info #3667 ChrisZieba

  • fix(document): strict 'throw' throws a specific mongoose error #3662

  • fix: flakey test #3332

  • fix(query): more robust check for RegExp #2969

下载:https://github.com/Automattic/mongoose/archive/4.3.2.zip