mongoose
9.12.2 · 16 Nov 2026MIT9.4M / weekRepositoryHomepagenpmAtom feed
Upgrading mongoose From 9.12.3 to 9.13.0
1 release in betweenevery note read
Release by release
- New
Upgrade MongoDB driver to 7.9 #16724 oscarmaia
- New
schema+model+query: Add defaultSort option to schemas, applies default sort to all queries unless sort explicitly specified #16676 #16577
- New
documentArray: Avoid O(n*m) id() lookup when setting a documentarray to a plain array #16683 #16673
- New
subdocument: Check isNew before isDirectModified() in markModified() #16743 g4lb
- Fixed
Make ducktyping more rigorous about inherited vs own properties, fix a few cases where user-specified
$__and$__isNestedcaused confusing errors #16723 - Fixed
types: Handle nested projections in typescript #16678
- New
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.