Version
Creates a new release version with the given version number and no metadata.
Creates a new version by parsing the given version string.
Throws
If the version string is invalid.
Creates a new release version with the given version number and no metadata.
Creates a new version by parsing the given version string.
If the version string is invalid.