haoyunfeix / note

0 stars 0 forks source link

About semantic versioning #5

Open haoyunfeix opened 4 years ago

haoyunfeix commented 4 years ago

version number in the package.json file that follows the semantic versioning spec.

For more information on semantic versioning syntax, see the npm semver calculator.

Code status Stage Rule Example version
First release New product Start with 1.0.0 1.0.0
Backward compatible bug fixes Patch release Increment the third digit 1.0.1
Backward compatible new features Minor release Increment the middle digit and reset last digit to zero 1.1.0
Changes that break backward compatibility Major release Increment the first digit and reset middle and last digits to zero 2.0.0