Packages

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

Other targets from 8.24.7Latest9.12.2
0
changes to make
0
advisories fixed
0
new
11
fixes

Release by release

  1. 8.24.11

    23 Nov 20261 fix
    • Fixed

      Set dotted paths through document array elements into nested paths #16691 #16704 #16698 hassanabrar202

  2. 8.24.10

    16 Nov 20262 fixes
    • 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

  3. 8.24.9

    12 Nov 20262 fixes
    • 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

  4. 8.24.8

    2 Nov 20266 fixes
    • 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

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.