Packages

semver

7.8.5 · 19 Jun 2026ISC750.1M / weekRepositoryHomepagenpmAtom feed

Upgrading semver from 4.0.3 to 7.8.5

75 releases in betweennotes for 31

Other targets from 4.0.3Newest 4.x4.3.6Clears its 2 advisories5.7.2
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
2
advisories fixed
14+
new
37+
fixes

Counted from 31 of 75 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking7.0.0

Security

Fixes 2 advisories affecting 4.0.3

Release by release

  1. 7.8.5

    19 Jun 20261 fix
    • fixed

      Include prereleases in tilde range lower bound with includePrerelease

  2. 7.8.4

    9 Jun 20261 fix
    • fixed

      Reject numeric segments after x-ranges

  3. 7.8.3

    8 Jun 20261 fix
    • fixed

      Align caret includePrerelease lower bounds

  4. 7.8.2

    4 Jun 20261 fix
    • fixed

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

  5. 7.8.1

    21 May 20262 fixes
    • fixed

      Strip build metadata before comparator trimming

    • fixed

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

  6. 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

  7. 7.7.4

    5 Feb 20261 fix
    • fixed

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

  8. 7.7.3

    7 Oct 20252 fixes
    • fixed

      Faster paths for compare

    • fixed

      x-range build metadata support (i529015)

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

    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.