Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the breaking change in semver 2.0.0

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?

like image 588
Jeremy French Avatar asked Feb 08 '17 17:02

Jeremy French


1 Answers

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
like image 56
Jeremy French Avatar answered Sep 18 '22 21:09

Jeremy French