Skip to content

Releases: composer/semver

1.4.0

30 Mar 13:17
Compare
Choose a tag to compare

1.3.0

25 Feb 22:24
Compare
Choose a tag to compare

1.2.0

10 Nov 11:21
Compare
Choose a tag to compare
  • Changed: allow multiple numerical identifiers in 'pre-release' version part.
  • Changed: add more 'v' prefix support.

1.1.0

03 Nov 20:19
Compare
Choose a tag to compare
  • 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

21 Sep 09:43
Compare
Choose a tag to compare
  • Break: VersionConstraint renamed to Constraint.
  • Break: SpecificConstraint renamed to AbstractConstraint.
  • Break: LinkConstraintInterface renamed to ConstraintInterface.
  • 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 throws InvalidArgumentException.
  • Changed: VersionConstraint now throws InvalidArgumentException.

0.1.0

23 Jul 06:23
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release
  • 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
  • Changed: code style using php-cs-fixer.