2.4 KiB
2.4 KiB
Changelog
All notable changes to phar-io/version are documented in this file using the Keep a CHANGELOG principles.
3.0.4 - 14.12.2020
Fixed
- #22: make dev suffix rank works for uppercase too
3.0.3 - 30.11.2020
Added
- Comparator method
Version::equals()
added
3.0.2 - 27.06.2020
This release now supports PHP 7.2+ and PHP ^8.0. No other changes included.
3.0.1 - 09.05.2020
Changed
- Internal Refactoring
- More scalar types
Fixed
- Fixed Constraint processing Regression for ^1.2 and ~1.2
3.0.0 - 05.05.2020
Changed
- Require PHP 7.2+
- All code now uses strict mode
- Scalar types have been added as needed
Added
- The technically invalid format using 'v' prefix ("v1.2.3") is now properly supported
2.0.1 - 08.07.2018
Fixed
- Versions without a pre-release suffix are now always considered greater
than versions with 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$number
removedPreReleaseSuffix::isGreaterThan()
: introducedVersion::hasPreReleaseSuffix()
: introduced
Added
-
#11: Added support for pre-release version suffixes. Supported values are:
dev
beta
(also abbreviated formb
)rc
alpha
(also abbreviated forma
)patch
(also abbreviated formp
)
All values can be followed by a number, e.g.
beta3
.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
Changed
- reorganized the source directories
Fixed
- #10: Version numbers containing a numeric suffix as seen in Debian packages are now supported.