Skip to content

Version 2.0.0

Choose a tag to compare

@nikolaposa nikolaposa released this 02 Jun 16:27
· 257 commits to master since this release

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.