Semantic versioning is a very nice way to keep track of the evolution of your module. Basically, your module will have 3 numbers, for example 1.2.3
, where:
- The number
1
is for major changes and you have to increase it when you make breaking changes to your module. For example, if theadd
method accept an object as argument and you change it to only accept arrays for now on, you have to increase the major number since you created a breaking change. - The number
2
is for minor changes and you have to increase it when you add new functionalities to your public API without making any breaking changes. For example, add a newfind
method. - The number
3
is for patch changes and you have to increase it when you fix something, without changing the public API. For example, you manage to iterate over the feed list in a much more efficient way.
For more informations about semantic version: http://semver.org/