- Ignore case when parsing PHP versions.
- Fix several bugs in SemVer parsing.
- Add support for parsing PHP versions.
- Fix bug in remove trailing zeros change when the version is all zeros.
- Remove trailing zeros from parsed package versions because version comparison
func
version.Comparedoes not need trailing zeros to compare versions correctly.
- Added support for parsing Ruby package versions, based on the rubygems tests.
-
Added
.String()and.Clone()methods to theVersionstruct. -
Used enumer to generate a
.String()method for theParsedAstype. -
Changed the
version.Comparefunc so that versions of different length compare as equal when both end in one or more segments of zeroes. In other words,1.0and1.0.0are now treated as equal.
- Add the
pkg/namepackage for name normalization.
- Initial release