All notable changes to phar-io/version are documented in this file using the Keep a CHANGELOG principles.
[2.0.1] - 08.07.2018
- Versions without a pre-release suffix are now always considered greater
than versions without a pre-release suffix. Example:
3.0.0 > 3.0.0-alpha.1
[2.0.0] - 23.06.2018
Changes to public API:
PreReleaseSuffix::construct(): optional parameter
#11: Added support for pre-release version suffixes. Supported values are:
beta (also abbreviated form
alpha (also abbreviated form
patch (also abbreviated form
All values can be followed by a number, e.g.
When comparing versions, the pre-release suffix is taken into account. Example:
1.5.0 > 1.5.0-beta1 > 1.5.0-alpha3 > 1.5.0-alpha2 > 1.5.0-dev11
- reorganized the source directories
- #10: Version numbers containing
a numeric suffix as seen in Debian packages are now supported.