mongoose
9.12.0 · 4 Nov 2026MIT8.8M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 1018 releases- 9.x · latest line
9.12.0
4 Nov 2026Improve 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
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
9.11.4
23 Oct 2026Avoid walking into inherited properties like
toStringwhen hydrating documents, setting dotted paths, and merging updatesOnly use own properties when looking up discriminators by key
schema: Disallow setting special properties via virtual()
9.11.4 / 2026-10-23
Avoid walking into inherited properties like
toStringwhen hydrating documents, setting dotted paths, and merging updatesOnly use own properties when looking up discriminators by key
schema: Disallow setting special properties via virtual()
query: Respect connection-level sanitizeFilter in queries
query: Disallow special properties like
__proto__as paths in where() and mod()
9.11.3
21 Oct 2026update: Honor overwriteImmutable in upserts and nested timestamps #16614 #15781 #8619 AbdelrahmanHafez
model: Stop Model.validate() crashing on missing nested objects #16600 NotAFlightRisk
connection: Don't disable autoIndex/autoCreate for a primary ReadPreference instance #16592 NgoQuocViet2001
9.11.3 / 2026-10-21
update: Honor overwriteImmutable in upserts and nested timestamps #16614 #15781 #8619 AbdelrahmanHafez
model: Stop Model.validate() crashing on missing nested objects #16600 NotAFlightRisk
connection: Don't disable autoIndex/autoCreate for a primary ReadPreference instance #16592 NgoQuocViet2001
Dependency tracking · free for 3 projects
Know when your own dependencies move
mongoose had 2 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 6 Nov 2026. Releases and advisories last read 6 Nov 2026.