Skip to content

Commit 98d94b3

Browse files
committed
Updated changelog.json with 5.4.0 release notes
1 parent f9b4ba3 commit 98d94b3

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
_This file has been auto-generated from the contents of changelog.json_
44

5+
## 5.4.0
6+
7+
### Maintenance
8+
9+
* Added Github workflows config file, that runs ci:build command from the package against PHP versions 7.0 - 8.4. Different Composer versions also included.
10+
* Dropped sebastian/phpcpd from dev dependencies since this is abandoned and will not work with PHP 8.4, cleaned out all references from testing scripts.
11+
* Added explicit version requirement for symfony/console, since the code in the package will not work with versions 7 and above of symfony/console.
12+
* Updated bin/analyse-dependencies script 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.
13+
* Updated whitelists related to bin/analyse-dependencies script, since the bigger range of PHP versions means different versions of the dependencies.
14+
* Updated bin/test command to ignore Composer 1 deprecation warnings since these are not relevant during the tests.
15+
* Updated bin/test command to expect Composer 2 related outputs in .output files, while Composer 1 related outputs are expected to be in .output-v1.
16+
* Updated some test scenarios related to bin/test to ignore unhandled promise rejection errors for now, which come up in Composer >2.7.
17+
* 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
18+
19+
### Fix
20+
21+
* 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.
22+
* Adjusted the loophp/phposinfo compatibility approach taken in 5.3.1 to autoloader based one, since the previous approach didn't work with the testsuite.
23+
* Fixed issue with bin/analyse-dependencies command not understanding empty autoloader paths of packages.
24+
* Fixed issue with bin/test command related to Composer version detection, which caused execution of queue_update and queue_install commands to not work correctly.
25+
* Fixed issue with Composer file manipulation during bin/test command, 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.
26+
* Fixed some loose issues found by bin/analyse command, mainly unnecessary else usages and excessively long line lengths
27+
* Fixed PHP >8.1 incompatibility with patch:validate command, where array_map and reset function usage together caused the command to break
28+
* Included alternative fix suggestion for https://github.com/vaimo/composer-patches/pull/110 and updated test scenarios to verify the fix
29+
30+
Links: [src](https://github.com/vaimo/composer-patches/tree/5.4.0) [diff](https://github.com/vaimo/composer-patches/compare/5.3.1...5.4.0)
31+
532
## 5.3.1 (2025-06-03)
633

734
### Fix

changelog.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,29 @@
44
"possible to generate change-logs in other formats as well (when needed) and to do automatic releases based on",
55
"added change-log records. More on how to use it: https://github.com/vaimo/composer-changelogs"
66
],
7+
"5.4.0": {
8+
"maintenance": [
9+
"Added Github workflows config file, that runs ci:build command from the package against PHP versions 7.0 - 8.4. Different Composer versions also included.",
10+
"Dropped sebastian/phpcpd from dev dependencies since this is abandoned and will not work with PHP 8.4, cleaned out all references from testing scripts.",
11+
"Added explicit version requirement for symfony/console, since the code in the package will not work with versions 7 and above of symfony/console.",
12+
"Updated bin/analyse-dependencies script 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.",
13+
"Updated whitelists related to bin/analyse-dependencies script, since the bigger range of PHP versions means different versions of the dependencies.",
14+
"Updated bin/test command to ignore Composer 1 deprecation warnings since these are not relevant during the tests.",
15+
"Updated bin/test command to expect Composer 2 related outputs in .output files, while Composer 1 related outputs are expected to be in .output-v1.",
16+
"Updated some test scenarios related to bin/test to ignore unhandled promise rejection errors for now, which come up in Composer >2.7.",
17+
"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"
18+
],
19+
"fix": [
20+
"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.",
21+
"Adjusted the loophp/phposinfo compatibility approach taken in 5.3.1 to autoloader based one, since the previous approach didn't work with the testsuite.",
22+
"Fixed issue with bin/analyse-dependencies command not understanding empty autoloader paths of packages.",
23+
"Fixed issue with bin/test command related to Composer version detection, which caused execution of queue_update and queue_install commands to not work correctly.",
24+
"Fixed issue with Composer file manipulation during bin/test command, 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.",
25+
"Fixed some loose issues found by bin/analyse command, mainly unnecessary else usages and excessively long line lengths",
26+
"Fixed PHP >8.1 incompatibility with patch:validate command, where array_map and reset function usage together caused the command to break",
27+
"Included alternative fix suggestion for https://github.com/vaimo/composer-patches/pull/110 and updated test scenarios to verify the fix"
28+
]
29+
},
730
"5.3.1": {
831
"fix": [
932
"Fixes issue where package can be installed with loophp/phposinfo 1.6, despite the package code having hard references to 1.7. The package should now work with both 1.6 and 1.7. https://github.com/vaimo/composer-patches/pull/127",

0 commit comments

Comments
 (0)