Packages

mongoose

9.11.4 · 23 Oct 2026MIT5.8M / weekRepositoryHomepagenpmAtom feed

Upgrading mongoose from 4.11.9 to 9.11.4

628 releases in betweennotes for 12

Other targets from 4.11.9Newest 4.x4.13.21Clears its 8 advisories6.13.10
9.0.0, 8.0.0, 7.0.0, 6.0.0, 5.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
1+
change to make
8
advisories fixed
51+
new
7+
fixes

Counted from 12 of 628 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • deprecated6.8.0

Security

Release by release

  1. 6.13.10 – 9.11.4220 releases, no release note

  2. 6.13.9

    4 Feb 20261 new · 1 fix
    • new

      types(aggregate): add $firstN, $lastN, $bottom, $bottomN, $minN and $maxN operators #15303 #15299

    • fixed

      Handle other top-level query operators in sanitizeFilter

  3. 6.13.7 – 6.13.82 releases, nothing new or fixed in the notes

  4. 6.13.6

    13 Jan 20251 fix
    • fixed

      Disallow nested $where in populate match

  5. 6.10.1 – 6.13.528 releases, no release note

  6. 6.10.0

    22 Feb 20233 new
    • new

      Upgrade to mongodb driver 4.14.0 #13036

    • new

      Added Schema.prototype.omit() function #12939 #12931 lpizzinidev

    • new

      index: Added createInitialConnection option to Mongoose constructor #13021 #12965 lpizzinidev

  7. 6.9.1 – 6.9.33 releases, no release note

  8. 6.9.0

    25 Jan 20231 new · 1 fix
    • new

      schema: Add removeVirtual(path) function to schema #12920 IslandRhythms

    • fixed

      cast: Remove empty $or conditions after strict applied #12898 0x0a0d

6 internal lines (docs, tests, tooling) left out.