Revision history for Perl extension SemVer.
0.10.0 2020-05-09T13:58:26Z
- Adopted the official regular expression from the SemVer FAQ for strict
parsing by new(), as well as a modification of that regex for the more
lenient cases supported by declare() and new(). This results in the
following changes in the behavior of the parser:
+ SemVers with build metadata but no prerelease are now valid, e.g.
`1.1.2+meta`
+ SemVers with a numeric-only prerelease part are no longer valid
if that part has a leading zero, e.g., `1.2.3-123` is valid but
`1.2.3-0123` is not
+ Restored support for prerelease and build metadata parts are in
declare() and parse()
- Added tests for the official SemVer test corpus as linked under the
FAQ about an official regular expression:
https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- Added explicit boolean overloading to ensure consistent behavior
between different implementations of the version parent class.
0.7.0 2018-07-24T11:09:17Z
- Implemented Semantic Versioning 2.0.0 specification
- Updated tests for Semantic Versioning 2.0.0
- added testing for Perl 5.24, 5.26, 5.28
0.6.0 2015-01-23T05:07:58Z
- Removed tests that fail on version.pm 0.9910 and higher due to
trailing decimal sign. Thanks to Andreas Koenig for the report and
diagnosis.
- Fixed vstring warning on Perl 5.8.
- Now skip tests that fail with version::vpp.
- Now skip test on version.pm 0.9911 that fails with that version.
- Now skip failing tests on Perl 5.8 and version.pm less than 0.9909.
- Removed all Pod tests from the distribution.
0.5.0 2013-04-02T06:57:06Z
- The `new()` now throws an exception when a version string has a
prerelease version with no preceding dash. This is keep its
requirement for strictness consistent.
- Fixed a bug where a SemVer object passed to `new()` did not properly
clone the dash preceding a prerelease version.
0.4.0 2012-11-20T18:59:33Z
- Updated the parsers to support an optional dash before the prerelease
version, and `normal()` to always emit a dash for the prerelease
version. This brings it in line with the final semver 1.0.0
specification.
0.3.0 2011-05-26T04:54:50
- Made leading zeros, such as the "04" in "1.04.3" illegal when parsing
via `new()`.
- Eliminated "Use of qw(...) as parentheses is deprecated" in the tests
when running on Perl 5.14.
0.2.0 2010-09-17T17:59:57
- Require Test::Pod 1.41 for testing POD because it supports
`L<text|url>`.
0.1.0 2010-09-16T19:07:04
- Initial version, created with lots of help and feedback from
version.pm author John Peacock