Packages

semver

7.8.6 · 2 Nov 2026ISC1,237.2M / weekRepositoryHomepagenpmAtom feed

Upgrading semver From 5.7.3 to 7.8.6

49 releases in betweennotes for 40

Reading releases, release notes and advisories…

6.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 5.7.3yours
  2. 6.0.0major
  3. 8 releases
  4. 7.0.0major
  5. 38 releases
  6. 7.8.6target
1+
change to make
0
advisories fixed
17+
new
49+
fixes

Counted from 40 of 49 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0

Release by release

  1. 7.8.6

    2 Nov 20261 fix
    • Fixed

      Improve range parsing performance (#918) (@reggi, @Copilot)

  2. 7.8.5

    19 Jun 20261 fix
    • Fixed

      Include prereleases in tilde range lower bound with includePrerelease

  3. 7.8.4

    9 Jun 20261 fix
    • Fixed

      Reject numeric segments after x-ranges

  4. 7.8.3

    8 Jun 20261 fix
    • Fixed

      Align caret includePrerelease lower bounds

  5. 7.8.2

    4 Jun 20261 fix
    • Fixed

      Increment dotted prerelease identifiers (#870) (@liuzemei, @SheldonNeo)

  6. 7.8.1

    21 May 20262 fixes
    • Fixed

      Strip build metadata before comparator trimming

    • Fixed

      Handle prerelease bounds in subset (#867) (@puneetdixit200, Puneet Dixit)

  7. 7.8.0

    8 May 20261 new · 1 fix
    • New

      Add truncate function (#855) (@pjohnmeyer, @owlstronaut)

    • Fixed

      Warn when defaulting to --inc=patch in CLI

  8. 7.7.4

    5 Feb 20261 fix
    • Fixed

      cli: Pass options to semver.valid() for loose version validation

3 other lines we could not sort, mostly version bumps
  • Remove fancy lazy-loading logic, as it was causing problems for webpack users.

    7.1.2
  • Refactor module into separate files for better tree-shaking

    7.0.0
  • Coerce numbers to strings when passed to semver.coerce()

    6.2.0

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

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.