Update jean85/pretty-package-versions requirement from ^1.2 to ^1.2 || ^2.0
Updates the requirements on jean85/pretty-package-versions to permit the latest version.
Release notes
Sourced from jean85/pretty-package-versions's releases.
2.0.0
This release is aimed to become a bridge for native Composer 2 support. The BC breaks are minimal; if you're using it in a library, you're encouraged to require it with
^1.5 || ^2.0, so that your end users will not be constrained to use a specific Composer version.Added
Versionmethods added:getReference,getShortReference,getVersionWithShortReference(see table below)Changed
- Use Composer 2 API directly to retrieve versions
Versionmethods deprecated; this is a simple rename (committoreference), to better reflect the meaning of Composer API data; the old methods are preserved but deprecated to reduce breaking changes:
New method Old, deprecated method Version::getReference()Version::getCommitHash()Version::getShortReference()Version::getShortCommitHash()Version::getVersionWithShortReference()Version::getVersionWithShortCommit()Removed
- Drop PHP 7.0 support
- Drop Composer 1 support
- Drop dependencies
- [BC BREAK] Constant
PrettyVersions::SHORT_COMMIT_LENGTHremoved- [BC BREAK] Constant
Version::SHORT_COMMIT_LENGTHmade private- [BC BREAK]
Versionconstructor changed arguments: second argumentstring $versionhas been split intostring $prettyVersion, string $reference
Changelog
Sourced from jean85/pretty-package-versions's changelog.
[2.0.0] - 2021-01-14
This release is aimed to become a bridge for native Composer 2 support. The BC breaks are minimal; if you're using it in a library, you're encouraged to require it with
^1.5 || ^2.0, so that your end users will not be constrained to use a specific Composer version.Added
Versionmethods added:getReference,getShortReference,getVersionWithShortReference(see table below)Changed
- Use Composer 2 API directly to retrieve versions
Versionmethods deprecated; this is a simple rename (committoreference), to better reflect the meaning of Composer API data; the old methods are preserved but deprecated to reduce breaking changes:
New method Old, deprecated method Version::getReference()Version::getCommitHash()Version::getShortReference()Version::getShortCommitHash()Version::getVersionWithShortReference()Version::getVersionWithShortCommit()Removed
- Drop PHP 7.0 support
- Drop Composer 1 support
- Drop dependencies
- [BC BREAK] Constant
PrettyVersions::SHORT_COMMIT_LENGTHremoved- [BC BREAK] Constant
Version::SHORT_COMMIT_LENGTHmade private- [BC BREAK]
Versionconstructor changed arguments: second argumentstring $versionhas been split intostring $prettyVersion, string $reference[1.5.1] - 2020-09-14
Added
- PHP 8 support (#28)
[1.5] - 2020-06-23
This release is intended to change the future release plan of this package. Please require the package with
^1.5 || ^2.0to ensure full functionalities and future Composer 2 compatibility.Added
- Add
PrettyVersions::getRootPackageNameas 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] - 2020-04-28
Removed
- Drop support for Composer 1
- Drop dependency on any package
- Drop Scrutinizer, use Codecov for test coverage
[1.3] - 2020-04-24
Changed
- Switched dependency from
ocramius/package-versionsto its forkcomposer/package-versions-deprecated, to ensure compatibility with both PHP 7.* and Composer 2 (see #13, thanks @dereuromark and @seldaek)[1.2] - 2018-06-13
Added
Commits
915a3e2Set release date for 2.0.0058034cFix typo302dfb3Update the readme8fabc4bFix markdown table3198e1bAdd changelog entry09ef8f6Reintroduce deprecated getters as BC layer3af3348Add Makefilea8dcae3Add Psalm76ece3eAdd PHPStanc02ae28Add CS fix to the CI- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)