Repository navigation
Releases
Releases · composer/semver
3.6.0
- Improved
Intervals::compactConstraint()performance by caching results per constraint string, which speeds up callers that compact the same constraints repeatedly like Composer's pool optimizer,Intervals::clear()frees the cache (#194)
Full Changelog: 3.5.2...3.6.0
3.5.2
- Fixed
MultiConstraint::getUpperBound()picking the wrong inclusivity when two upper bounds share a version, e.g.< 1.0 || == 1.0reported an exclusive upper bound that excluded1.0(#193)
Full Changelog: 3.5.1...3.5.2
3.5.1
3.5.0
- Added
VersionParser::isValid()to check whether a version string can be normalized (#168) - Fixed
Intervals::compactConstraint()turning constraints that match no dev versions, like> 1.0.0 != 2.0.0 || < 1.9.0, into!= 2.0.0which matches alldev-*versions (#189) - Fixed
>=and<constraints on RC versions, like>=1.0-RC1, getting an extra-devsuffix whichbetaandalphaconstraints did not get (#187) - Improved
CompilingMatcherperformance by avoiding building concatenated cache keys on every call (#186)
Full Changelog: 3.4.4...3.5.0
3.4.4
3.4.3
- Fixed some type annotations
Full Changelog: 3.4.2...3.4.3
3.4.2
- Fixed PHP 5.3 syntax error
Full Changelog: 3.4.1...3.4.2
3.4.1
- Fixed normalizeStability's return type to enforce valid stabilities
Full Changelog: 3.4.0...3.4.1