14

There is a version 2.0.0 of the semantic versioning spec, given that you should:

increment the MAJOR version when you make incompatible API changes,

What was the incompatible change between semver 1.0.0 and 2.0.0?

Jeremy French
  • 11,707
  • 6
  • 46
  • 71
  • Where is defined that the semver itself uses semantic versioning for its specification, which makes it possible to ask this quesiton? – anion Aug 24 '22 at 09:48

1 Answers1

15

I asked on the semver github repo. There are two changes that are not backwards compatible:

  • leading zeros are not accepted
  • minor version numbers MUST be incremented if API is marked as deprecated
Jeremy French
  • 11,707
  • 6
  • 46
  • 71