红联Linux门户
Linux帮助

MongooseJS 4.9.10和4.10.0发布,MongoDB连接包

发布时间:2017-05-19 09:08:20来源:红联作者:baihuo
MongooseJS 4.9.10 和 4.10.0 发布了,使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。

4.9.10 更新如下:

fix(connection): ensure callback arg to openSet() is handled properly

docs: remove dead plugins repo and add content links

fix(model): skip index build if connecting after model init and autoIndex false

下载地址

https://github.com/Automattic/mongoose/archive/4.9.10.zip

4.10.0 更新如下:

fix(schema): update clone method to include indexes clozanosanchez

feat(schema): support aliases rocketspacer

feat(aggregate): add mongoose-specific aggregation cursor option

refactor(model): make sharding into a plugin instead of core

fix(document): make nested doc mongoose internals not enumerable again

feat(model): pass params to pre hooks

feat(timestamps): support already defined timestamp paths in schema

feat(query): add runSettersOnQuery option

fix(query): add strictQuery option that throws when not querying on field not in schema

fix(update): more complete handling for overwrite option with update validators

feat: support unique: true in arrays via the mongoose-unique-array plugin

feat(validation): include failed paths in error message and inspect output

fix(model): return saved docs when create() fails

下载地址

https://github.com/Automattic/mongoose/archive/4.10.0.zip

软件详情:https://github.com/Automattic/mongoose/blob/master/History.md

来自:开源中国社区
文章评论

共有 0 条评论