support semver 'version' and 'prerelease' - closes #5