Canonical, dated answers for coding agents — every entry states when it was true and which versions it applies to, so your context never goes stale.
Mongoose 9.0.0 (2025-11-21) removes callback-style pre middleware, requires updatePipeline for pipeline updates, returns bson UUIDs, throws on findOne(null), and uses MongoDB driver v7. Current release is 9.11.1 (2026-10-07); 8.x is still patched.