Releases: vaimo/composer-patches
Releases · vaimo/composer-patches
6.0.1
The changes here are only done for version 6 of the patcher, since as mentioned in #147 the changes will not be compatible with version 5.
Maintenance
- Updated dev dependency to
vaimo/composer-changelogsto allow installing version with equal PHP version support as in version 6 of the patcher - Removed workarounds in Github workflows to get around
vaimo/composer-changelogsincompatibilities since the package now works as is
6.0.0
- Added support for
symfony/console8: #146 - Adding the support introduced breaking changes, so dropped PHP 7.0 and symfony/console 3 support and bumped up the major version of the patcher
- Composer 1 support also removed from composer.json as we're not currently able to guarantee support for it, recommended to use the older versions of the patcher (for example 5.5.4) if this is still needed
- Version 5 is now maintained in release/5 branch
- Github workflows have been updated to run the testsuite against PHP 8.5
5.6.0
5.5.4
5.5.3
5.5.2
5.5.1
Further adjusting the workaround created for loophp/phposinfo package backwards compatibility (#133), the compatibility.php loaded through Composer autoload is no good in this context since the workaround is needed also before autoloader files are created.
Note: due to the nature of the change, updating the package to this version and above will require using no-plugins flag: https://github.com/vaimo/composer-patches?tab=readme-ov-file#upgrades
5.5.0
5.4.0
Most changes are related to #125
Maintenance
- Added Github workflows config file, that runs
ci:buildcommand from the package against PHP versions 7.0 - 8.4. Different Composer versions also included. - Dropped
sebastian/phpcpdfrom dev dependencies since this is abandoned and will not work with PHP 8.4, cleaned out all references from testing scripts. - Added explicit version requirement for
symfony/console, since the code in the package will not work with versions 7 and above ofsymfony/console. - Updated
bin/analyse-dependenciesscript to always run as if it was given 'current' in the parameters, since looping through different PHP versions and installing packages will not work anymore with the big differences between PHP versions. - Updated whitelists related to
bin/analyse-dependenciesscript, since the bigger range of PHP versions means different versions of the dependencies. - Updated
bin/testcommand to ignore Composer 1 deprecation warnings since these are not relevant during the tests. - Updated
bin/testcommand to expect Composer 2 related outputs in.outputfiles, while Composer 1 related outputs are expected to be in.output-v1. - Updated some test scenarios related to
bin/testto ignore unhandled promise rejection errors for now, which come up in Composer >2.7. - Updated documentation a little bit, mainly cleaned out invalid whitespaces (which might show up weirdly depending on IDE) and updated development guidelines with few more details
Fix
- Compatibility with PHP 7.0 restored, while still including support for PHP 8.4. Instead of explicitly marking the nullable parameters, dropped the explicit types from the parameters altogether.
- Adjusted the
loophp/phposinfocompatibility approach taken in 5.3.1 to autoloader based one, since the previous approach didn't work with the testsuite. - Fixed issue with
bin/analyse-dependenciescommand not understanding empty autoloader paths of packages. - Fixed issue with
bin/testcommand related to Composer version detection, which caused execution ofqueue_updateandqueue_installcommands to not work correctly. - Fixed issue with Composer file manipulation during
bin/testcommand, where only certain packages were meant to be modified with underscore prefix, but trailing separator caused the prefix to apply on all packages, which caused some side effects. - Fixed some loose issues found by
bin/analysecommand, mainly unnecessary else usages and excessively long line lengths - Fixed PHP >8.1 incompatibility with
patch:validatecommand, wherearray_mapandresetfunction usage together caused the command to break - Included alternative fix suggestion for #110 and updated test scenarios to verify the fix
5.3.1
Includes following changes from #127:
- Fixes issue where package can be installed with
loophp/phposinfo1.6, despite the package code having hard references to 1.7. The package should now work with both 1.6 and 1.7. - Fixes accidentally missed backwards incompatibility added in 5.3.0, which would've locked the package only to PHP 7.4 and above.
- Updated minimum PHP version requirement to 7.1 from 7.0, since version 5.2.1 added PHP 8.4 compatibility changes that are not compatible with PHP 7.0.