Respect semantic versioning

See <http://semver.org/>.