Releases: composer/semver
Releases · composer/semver
1.4.0
- Added: getters on MultiConstraint - composer/semver#35.
1.3.0
- Fixed: stability parsing - composer/composer#1234.
- Changed: collapse contiguous constraints when possible.
1.2.0
1.1.0
- Changed: dropped redundant
test
namespace. - Changed: minor adjustment in datetime parsing normalization.
- Changed:
ConstraintInterface
relaxed, setPrettyString is not required anymore. - Changed:
AbstractConstraint
marked deprecated, will be removed in 2.0. - Changed:
Constraint
is now extensible.
1.0.0
- Break:
VersionConstraint
renamed toConstraint
. - Break:
SpecificConstraint
renamed toAbstractConstraint
. - Break:
LinkConstraintInterface
renamed toConstraintInterface
. - Break:
VersionParser::parseNameVersionPairs
was removed. - Changed:
VersionParser::parseConstraints
allows (but ignores) build metadata now. - Changed:
VersionParser::parseConstraints
allows (but ignores) prefixing numeric versions with a 'v' now. - Changed: Fixed namespace(s) of test files.
- Changed:
Comparator::compare
no longer throwsInvalidArgumentException
. - Changed:
VersionConstraint
now throwsInvalidArgumentException
.
0.1.0
- Added:
Composer\Semver\Comparator
, various methods to compare versions. - Added: various documents such as README.md, LICENSE, etc.
- Added: configuration files for Git, Travis, php-cs-fixer, phpunit.
- Break: the following namespaces were renamed:
- Namespace:
Composer\Package\Version
->Composer\Semver
- Namespace:
Composer\Package\LinkConstraint
->Composer\Semver\Constraint
- Namespace:
Composer\Test\Package\Version
->Composer\Test\Semver
- Namespace:
Composer\Test\Package\LinkConstraint
->Composer\Test\Semver\Constraint
- Namespace:
- Changed: code style using php-cs-fixer.