mongoose
9.12.2 · 16 Nov 2026MIT9.5M / weekRepositoryHomepagenpmAtom feed
9.12.3 is the newest release of 9.x.
Summary· from the note as AI read it
To checkNothing breaks, but check what is deprecated or unsure.
Before you upgrade
- Stop using the unused Query use$geoWithin property.To check
New
- feat: upgrade to mongodb driver 7.8
- perf: improve for document arrays: cache paths with defaults and schemas with select paths; avoid unnecessary $isModified() lookup
In short
1 removed1 new1 faster2 fixed
- RemovedTo check
docs(query): remove unused use$geoWithin docs and property
Release note
9.12.0 / 2026-11-04
Improve for document arrays: cache paths with defaults and schemas with select paths; avoid unnecessary $isModified() lookup #16595
Make recompileSchema recompute derived caches and delay _preCompile() until an actual model is compiled (not subdocs or doc arrays) #16595
array: Compare UUIDs by value in indexOf() so pull() and addToSet() work #16606 luantaraschi
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.