mongoose
9.12.2 · 16 Nov 2026MIT9.4M / weekRepositoryHomepagenpmAtom feed
Upgrading mongoose From 8.24.7 to 8.24.11
4 releases in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 11
- fixes
Release by release
- Fixed
Set dotted paths through document array elements into nested paths #16691 #16704 #16698 hassanabrar202
- Fixed
- Fixed
query: Make sanitizeFilter catch any fields that start with $ in top-level filter to avoid bypass using $_internalSchemaXor and other MongoDB internal expressions
- Fixed
query: Hardening for sanitizeProjection
- Fixed
- Fixed
document: Allow setting dotted paths 3+ levels deep underneath single nested subdocuments #16691 RagedPanda
- Fixed
connection: Don't disable autoIndex/autoCreate for a primary ReadPreference instance mrityunjay-pandey
- Fixed
- Fixed
schema: Remove map paths cleanly, including maps under nested paths (backport to 8.x) #16625 #16461 #16457 mrityunjay-pandey
- Fixed
schema: Keep the map value schematype a single object when cloning (backport to 8.x) #16624 #16473 mrityunjay-pandey
- Fixed
map: Support ObjectId keys in MongooseMap#has() (backport to 8.x #16634 mrityunjay-pandey
- Fixed
hydration: Use the doc model for looking up a ref (backport to 8.x) #16623 #16453 mrityunjay-pandey
- Fixed
document: Replace {MODEL} in custom cast error messages from document validation (backport to 8.x) #16622 #16480 mrityunjay-pandey
- Fixed
schema: Run setters declared on the union path itself (backport to 8.x) #16621 #16528 mrityunjay-pandey
- Fixed
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.