Skip to content

Releases: nikolaposa/version

Version 2.2.1

01 Jan 15:54
Compare
Choose a tag to compare

Fixed

  • Coding standard fixes.
  • Using friendsofphp/php-cs-fixer instead of abandoned fabpot/php-cs-fixer.

Version 2.2.0

14 Jul 14:48
Compare
Choose a tag to compare

Version 2.1.0

11 Jun 07:54
Compare
Choose a tag to compare

Added

Version 2.0.1

02 Jun 20:12
Compare
Choose a tag to compare

Added

Fixed

Version 2.0.0

02 Jun 16:27
Compare
Choose a tag to compare

New features

  • Static factory methods, for example Version::fromMajor(), Version::fromPreRelease().
  • Methods for modifying pre-release and build information of a version.

Backwards-incompatible changes

  • Static factory methods (named constructors) are used to instantiate objects instead of constructors.
  • increment* methods in Version\Version class were renamed to with*Incremented.
  • Version\Identifier\PreRelease renamed to Version\Identifier\PreReleaseIdentifier.
  • Version\Identifier\Build renamed to Version\Identifier\BuildIdentifier.

Version 1.2.3

10 Apr 07:37
Compare
Choose a tag to compare
  • ignore composer.lock
  • .gitattributes

Version 1.2.2

09 Apr 19:45
Compare
Choose a tag to compare
New version

Version 1.2.1

27 Sep 18:12
Compare
Choose a tag to compare
  • test fixes

Version 1.2.0

27 Sep 17:05
Compare
Choose a tag to compare
  • version-aware interface/trait
  • versions collection

Version 1.1.0

26 Sep 11:21
Compare
Choose a tag to compare
  • improved version string parsing
  • minor and patch parts are now optional