| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
docs: fix typos in code comments | 6 个月前 | |
fix(documentarray): reindex subdocs after addToSet() skips a duplicate addToSet() casts every argument before checking for duplicates, so each value added after a skipped duplicate keeps an __index that is too high. A later nested edit then serializes to the wrong array position and the change is silently lost. Fixes validation error paths too. | 20 天前 | |
docs: fix JSDoc `@returns` with wrong or missing brackets | 7 个月前 | |
docs: use lowercase primitive types re #16018 | 7 个月前 | |
BREAKING CHANGE: remove bson as direct dependency, use mongodb/lib/bson instead Fix #15154 | 1 年前 | |
BREAKING CHANGE: remove bson as direct dependency, use mongodb/lib/bson instead Fix #15154 | 1 年前 | |
types: add mongoose.Types.Double | 1 年前 | |
docs: use lowercase primitive types re #16018 | 7 个月前 | |
refactor: use Object.hasOwn instead of Object.prototype.hasOwnProperty(...) | 9 个月前 | |
fix(subdocument): don't minimize empty document array elements to null Re: #7322 #15336 Since 8.14.0 (#15336), an all-undefined subdocument inside a document array is minimized to undefined during serialization, which BSON stores as null - reintroducing the problem fixed in 5.4.6 (#7322). Restore the array-element exclusion the minimize logic had in clone() by checking $isDocumentArrayElement in Subdocument.prototype.$toObject(). | 2 个月前 | |
BREAKING CHANGE: remove bson as direct dependency, use mongodb/lib/bson instead Fix #15154 | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 20 天前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 7 个月前 | ||
| 9 个月前 | ||
| 2 个月前 | ||
| 1 年前 |