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

Mongoose 8.10.1发布

Mongoose 8.10.1发布

perf(document): 仅调用 undoReset() 1x/document #15257 #15255

perf(schema):覆盖现有路径时清除 childSchemas,避免性能下降 #15256 #15253

perf:对 find() 和 findOne() 进行了更多微调 #14906 #15250

修复(model):避免在 Model.init() 缓冲上添加超时,以避免无意中悬空打开的句柄 #15251 #15241

修复:如果 autoCreate,则避免在 init 上进行连接缓冲:false #15247 #15241

修复:如果使用 overwriteDiscriminatorKey 在 $set 中设置,则推断鉴别器键 #15243 #15218

types(middleware):在 document middleware 中将其设为 hydrated doc 类型,而不是原始 doc 类型 #15246 #15242

types(schema):支持 Schema.prototype.discriminator() 的 options 参数 #15249 #15244

types(schema):允许在没有消息 arg 的情况下调用 Schema.prototype.number() #15237 #15236

docs(typescript):建议使用 HydratedSingleSubdocument 而不是 Types.Subdocument #15240 #15211

Assets 2