Releases: Jean85/pretty-package-versions
Releases · Jean85/pretty-package-versions
1.5.0
This release is intended to change the future release plan of this package. Please require the package with ^1.5 || ^2.0
to ensure full functionalities and future Composer 2 compatibility.
Added
- Add
PrettyVersions::getRootPackageName
as a compatibility layer to be used in place ofPackageVersions\Versions::ROOT_PACKAGE_NAME
, which would be a transient dependency (#23) - Add
PrettyVersions::getRootPackageVersion
, a shortcut toPrettyVersions::getVersion(PrettyVersions::getRootPackageName())
(#23)
Changed
1.4.0
1.3.0
1.2
1.1
1.0.3
1.0.2
Added
- Add PHP 7.2 to the build matrix for official support
Changed
- Require at least
ocramius/package-versions
1.1.3 to avoid issues when removing the package (see this issue)
1.0.1
1.0
First release
Changed
Jean85\PrettyVersions
wraps thePackageVersions\Versions
class and returns aJean85\Version
object- The
Jean85\Version
has these methods available:public function getPrettyVersion(): string
public function getFullVersion(): string
public function getVersionWithShortCommit(): string
public function getPackageName(): string
public function getShortVersion(): string
public function getCommitHash(): string