All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
~
operator~
operator was inconsistenttest
namespace.ConstraintInterface
relaxed, setPrettyString is not required anymore.AbstractConstraint
marked deprecated, will be removed in 2.0.Constraint
is now extensible.VersionConstraint
renamed to Constraint
.SpecificConstraint
renamed to AbstractConstraint
.LinkConstraintInterface
renamed to ConstraintInterface
.VersionParser::parseNameVersionPairs
was removed.VersionParser::parseConstraints
allows (but ignores) build metadata now.VersionParser::parseConstraints
allows (but ignores) prefixing numeric versions with a 'v' now.Comparator::compare
no longer throws InvalidArgumentException
.Constraint
now throws InvalidArgumentException
.Composer\Semver\Comparator
, various methods to compare versions.Composer\Package\Version
-> Composer\Semver
Composer\Package\LinkConstraint
-> Composer\Semver\Constraint
Composer\Test\Package\Version
-> Composer\Test\Semver
Composer\Test\Package\LinkConstraint
-> Composer\Test\Semver\Constraint