1.5.0
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
thanks to @staabm - 82: Use
vendor/composer/installed.json
and fallback to using composer.lock thanks to @9ae8sdf76 - 83: Update to
doctrine/coding-standard
v6.0.0 thanks to @carusogabriel - 87: Added experimental github sponsorship/funding links through tidelift thanks to @Ocramius
- 88: Simplify autoloader notes thanks to @weshooper
- 89: Provide
@psalm-param key-of<self::VERSIONS>
type-check for downstream thanks to @Ocramius - 91: dump the version class on
composer dump-autoload
thanks to @staabm - 92: Failures on PHP 7.4 build due to
ReflectionType#__toString()
deprecations thanks to @Ocramius - 93: updated dependencies thanks to @staabm
- 95: the
POST_AUTOLOAD_DUMP
event also happens on composer install/update thanks to @staabm - 96: #90 add psalm static analysis tests thanks to @Ocramius
- 99: Bumped dependencies, dropped PHP 7.2.0 support, simplified build matrix thanks to @Ocramius