Ocramius/PackageVersions
### [`v1.11.0`](https://togithub.com/Ocramius/PackageVersions/releases/1.11.0)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.10.2...1.11.0)
Release [1.11.0](https://togithub.com/Ocramius/PackageVersions/milestone/25)
### 1.11.0
- Total issues resolved: **1**
- Total pull requests resolved: **1**
- Total contributors: **1**
#### enhancement
- [154: Implement #153 - added `PackageVersions\Versions::rootPackageName()` as replacement for `PackageVersions\Versions::ROOT95;PACKAGE95;NAME`](https://togithub.com/Ocramius/PackageVersions/pull/154) thanks to [@Ocramius](https://togithub.com/Ocramius)
### [`v1.10.2`](https://togithub.com/Ocramius/PackageVersions/releases/1.10.2)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.10.1...1.10.2)
Release [1.10.2](https://togithub.com/Ocramius/PackageVersions/milestone/24)
### 1.10.2
- Total issues resolved: **1**
- Total pull requests resolved: **1**
- Total contributors: **2**
#### bug
- [150: #148 retrieve root package version also when package is installed with `--no-scripts`](https://togithub.com/Ocramius/PackageVersions/pull/150) thanks to [@Ocramius](https://togithub.com/Ocramius) and [@stof](https://togithub.com/stof)
### [`v1.10.1`](https://togithub.com/Ocramius/PackageVersions/blob/master/CHANGELOG.md#1101---2020-08-18)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.10.0...1.10.1)
Introduced release automation tooling, which should also help us
with keeping the changelog up-to-date long-term.
### [`v1.10.0`](https://togithub.com/Ocramius/PackageVersions/releases/1.10.0)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.9.0...1.10.0)
This release increases the minimum supported version of `composer` to `v2` (currently in alpha,
but you should **REALLY** try it out).
By doing so, the code has been massively reduced, and a few relevant bugs around the detected
installed package versions have been squished in the process.
In order to upgrade, you must first have composer v2 installed, which you can get by runnning
its self-update tooling: `composer self-update --2`.
You can look at the in-depth thought-process behind this patch at
Total issues resolved: **5**
- [90: Test psalm annotations against a happy path/unhappy path static analysis test suite](https://togithub.com/Ocramius/PackageVersions/issues/90) thanks to [@Ocramius](https://togithub.com/Ocramius)
- [116: FallbackVersions uses this package lock which breaks version checks](https://togithub.com/Ocramius/PackageVersions/issues/116) thanks to [@scaytrase](https://togithub.com/scaytrase)
- [117: Expose and fix fallback versions](https://togithub.com/Ocramius/PackageVersions/pull/117) thanks to [@scaytrase](https://togithub.com/scaytrase)
- [135: Drop support for Composer 1.x once stable](https://togithub.com/Ocramius/PackageVersions/issues/135) thanks to [@Ocramius](https://togithub.com/Ocramius)
- [146: Rewrote package to use `composer-runtime-api:^2.0` and no longer keep an internal generated map](https://togithub.com/Ocramius/PackageVersions/pull/146) thanks to [@Ocramius](https://togithub.com/Ocramius)
### [`v1.9.0`](https://togithub.com/Ocramius/PackageVersions/releases/1.9.0)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.8.0...1.9.0)
[![Build Status](https://travis-ci.org/Ocramius/PackageVersions.svg?branch=1.9.0)](https://travis-ci.org/Ocramius/PackageVersions)
This release allows `ocramius/package-version` to skip writing the `Version` class when the
vendor directory is locked/not writable.
Total issues resolved: **2**
- [136: PHPUnit update - use better assertion names, remove deprecations](https://togithub.com/Ocramius/PackageVersions/pull/136) thanks to [@michalbundyra](https://togithub.com/michalbundyra)
- [144: Skip generation of version classes in case when install path is not writable](https://togithub.com/Ocramius/PackageVersions/pull/144) thanks to [@0x450x6c](https://togithub.com/0x450x6c)
### [`v1.8.0`](https://togithub.com/Ocramius/PackageVersions/releases/1.8.0)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.7.0...1.8.0)
[![Build Status](https://travis-ci.org/Ocramius/PackageVersions.svg?branch=1.8.0)](https://travis-ci.org/Ocramius/PackageVersions)
This release adds forward-compatibility for `composer/composer:2.0.0`.
Total issues resolved: **1**
- [133: Add support for Composer 2.x](https://togithub.com/Ocramius/PackageVersions/pull/133) thanks to [@Seldaek](https://togithub.com/Seldaek)
### [`v1.7.0`](https://togithub.com/Ocramius/PackageVersions/releases/1.7.0)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.6.0...1.7.0)
[![Build Status](https://travis-ci.org/Ocramius/PackageVersions.svg?branch=1.7.0)](https://travis-ci.org/Ocramius/PackageVersions)
This release adds `@psalm-pure` to the generated version of
`PackageVersions\Versions`. Please note that if you run your
composer installation with `--no-scripts` and `--no-plugins`, then the fallback
version of `PackageVersions\Versions` will be in use, and
therefore purity is not guaranteed.
Total issues resolved: **1**
- [120: Ensure that, when generated, `PackageVersions\Versions::getVersion()` is `@psalm-pure`](https://togithub.com/Ocramius/PackageVersions/pull/120) thanks to [@Ocramius](https://togithub.com/Ocramius)
### [`v1.6.0`](https://togithub.com/Ocramius/PackageVersions/releases/1.6.0)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.5.1...1.6.0)
[![Build Status](https://travis-ci.org/Ocramius/PackageVersions.svg?branch=1.6.0)](https://travis-ci.org/Ocramius/PackageVersions)
This release upgrades dependencies, improves testing/static analysis checks, and moves
the package to PHP 7.4 as a minimum required engine version.
Total issues resolved: **4**
- [111: Update .gitattributes](https://togithub.com/Ocramius/PackageVersions/pull/111) thanks to [@reedy](https://togithub.com/reedy)
- [114: Travis CI config - PHP 7.4 stable builds](https://togithub.com/Ocramius/PackageVersions/pull/114) thanks to [@michalbundyra](https://togithub.com/michalbundyra)
- [115: Allow using internal/deprecated symbols, but only in the test suite](https://togithub.com/Ocramius/PackageVersions/pull/115) thanks to [@Ocramius](https://togithub.com/Ocramius)
- [118: Upgrade dependencies, minimum PHP version upgraded to 7.4](https://togithub.com/Ocramius/PackageVersions/pull/118) thanks to [@Ocramius](https://togithub.com/Ocramius)
### [`v1.5.1`](https://togithub.com/Ocramius/PackageVersions/releases/1.5.1)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.5.0...1.5.1)
[![Build Status](https://travis-ci.org/Ocramius/PackageVersions.svg?branch=1.5.1)](https://travis-ci.org/Ocramius/PackageVersions)
This release fixes an issue leading `FallbackVersions` (used when installing with
`--no-scripts`) to fail to detect `composer.lock` or `installed.json` locations
due to `getcwd()` misbehavior during composer installation.
Total issues resolved: **2**
- [101: Cannot locate `composer.lock` nor `installed.json` when using package with `--no-scripts`](https://togithub.com/Ocramius/PackageVersions/issues/101) thanks to [@PhilETaylor](https://togithub.com/PhilETaylor)
- [102: #101 corrected scanned locations for `installed.json` and `composer.json`](https://togithub.com/Ocramius/PackageVersions/pull/102) thanks to [@Ocramius](https://togithub.com/Ocramius)
### [`v1.5.0`](https://togithub.com/Ocramius/PackageVersions/releases/1.5.0)
[Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.4.2...1.5.0)
[![Build Status](https://travis-ci.org/Ocramius/PackageVersions.svg?branch=1.5.0)](https://travis-ci.org/Ocramius/PackageVersions)
This release improves discovery of versions when `composer.lock` cannot be
located, falling back to `installed.json` (which is at a fixed relative filesystem
location).
We removed duplicate plugin runs during install/update, and runs
the plugin only during the `POST_AUTOLOAD_DUMP` event.
The minimum supported PHP version is now PHP 7.3.0.
PHP 7.4 compatibility issues with `ReflectionType#__toString()` have been fixed.
Static analysis additions will also now start highlighting issues in downstream
projects using `vimeo/psalm` (at build-time) when non-existing dependency
lookups are performed against `PackageVersions\Versions::getVersion()`, preventing
useless runtime exceptions.
Total issues resolved: **12**
- [81: added docs to `Versions::VERSION`](https://togithub.com/Ocramius/PackageVersions/pull/81) thanks to [@staabm](https://togithub.com/staabm)
- [82: Use `vendor/composer/installed.json` and fallback to using composer.lock](https://togithub.com/Ocramius/PackageVersions/pull/82) thanks to [@9ae8sdf76](https://togithub.com/9ae8sdf76)
- [83: Update to `doctrine/coding-standard` v6.0.0](https://togithub.com/Ocramius/PackageVersions/pull/83) thanks to [@carusogabriel](https://togithub.com/carusogabriel)
- [87: Added experimental github sponsorship/funding links through tidelift](https://togithub.com/Ocramius/PackageVersions/pull/87) thanks to [@Ocramius](https://togithub.com/Ocramius)
- [88: Simplify autoloader notes](https://togithub.com/Ocramius/PackageVersions/pull/88) thanks to [@weshooper](https://togithub.com/weshooper)
- [89: Provide `@psalm-param key-of` type-check for downstream](https://togithub.com/Ocramius/PackageVersions/pull/89) thanks to [@Ocramius](https://togithub.com/Ocramius)
- [91: dump the version class on `composer dump-autoload`](https://togithub.com/Ocramius/PackageVersions/pull/91) thanks to [@staabm](https://togithub.com/staabm)
- [92: Failures on PHP 7.4 build due to `ReflectionType#__toString()` deprecations](https://togithub.com/Ocramius/PackageVersions/issues/92) thanks to [@Ocramius](https://togithub.com/Ocramius)
- [93: updated dependencies](https://togithub.com/Ocramius/PackageVersions/pull/93) thanks to [@staabm](https://togithub.com/staabm)
- [95: the `POST_AUTOLOAD_DUMP` event also happens on composer install/update](https://togithub.com/Ocramius/PackageVersions/pull/95) thanks to [@staabm](https://togithub.com/staabm)
- [96: #90 add psalm static analysis tests](https://togithub.com/Ocramius/PackageVersions/pull/96) thanks to [@Ocramius](https://togithub.com/Ocramius)
- [99: Bumped dependencies, dropped PHP 7.2.0 support, simplified build matrix](https://togithub.com/Ocramius/PackageVersions/pull/99) thanks to [@Ocramius](https://togithub.com/Ocramius)
Renovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.4.*
->1.11.*
Release Notes
Ocramius/PackageVersions
### [`v1.11.0`](https://togithub.com/Ocramius/PackageVersions/releases/1.11.0) [Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.10.2...1.11.0) Release [1.11.0](https://togithub.com/Ocramius/PackageVersions/milestone/25) ### 1.11.0 - Total issues resolved: **1** - Total pull requests resolved: **1** - Total contributors: **1** #### enhancement - [154: Implement #153 - added `PackageVersions\Versions::rootPackageName()` as replacement for `PackageVersions\Versions::ROOT95;PACKAGE95;NAME`](https://togithub.com/Ocramius/PackageVersions/pull/154) thanks to [@Ocramius](https://togithub.com/Ocramius) ### [`v1.10.2`](https://togithub.com/Ocramius/PackageVersions/releases/1.10.2) [Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.10.1...1.10.2) Release [1.10.2](https://togithub.com/Ocramius/PackageVersions/milestone/24) ### 1.10.2 - Total issues resolved: **1** - Total pull requests resolved: **1** - Total contributors: **2** #### bug - [150: #148 retrieve root package version also when package is installed with `--no-scripts`](https://togithub.com/Ocramius/PackageVersions/pull/150) thanks to [@Ocramius](https://togithub.com/Ocramius) and [@stof](https://togithub.com/stof) ### [`v1.10.1`](https://togithub.com/Ocramius/PackageVersions/blob/master/CHANGELOG.md#1101---2020-08-18) [Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.10.0...1.10.1) Introduced release automation tooling, which should also help us with keeping the changelog up-to-date long-term. ### [`v1.10.0`](https://togithub.com/Ocramius/PackageVersions/releases/1.10.0) [Compare Source](https://togithub.com/Ocramius/PackageVersions/compare/1.9.0...1.10.0) This release increases the minimum supported version of `composer` to `v2` (currently in alpha, but you should **REALLY** try it out). By doing so, the code has been massively reduced, and a few relevant bugs around the detected installed package versions have been squished in the process. In order to upgrade, you must first have composer v2 installed, which you can get by runnning its self-update tooling: `composer self-update --2`. You can look at the in-depth thought-process behind this patch atRenovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.