element-api
element-api copied to clipboard
Bump composer/composer from 2.7.2 to 2.7.7
Bumps composer/composer from 2.7.2 to 2.7.7.
Release notes
Sourced from composer/composer's releases.
2.7.7
This release includes fixes for issues found in a security audit by Cure53 funded by Alpha-Omega.
- Security: Fixed command injection via malicious git branch name (GHSA-47f6-5gq3-vx9c / CVE-2024-35241)
- Security: Fixed multiple command injections via malicious git/hg branch names (GHSA-v9qv-c7wm-wgmf / CVE-2024-35242)
- Security: Fixed secure-http checks that could be bypassed by using malformed URL formats (fa3b9582c)
- Security: Fixed Filesystem::isLocalPath including windows-specific checks on linux (3c37a67c)
- Security: Fixed perforce argument escaping (3773f775)
- Security: Fixed handling of zip bombs when extracting archives (de5f7e32)
- Security: Fixed Windows command parameter escaping to prevent abuse of unicode characters with best fit encoding conversion, reported by Splitline Huang (3130a7455, 04a63b324)
- Fixed PSR violations for classes not matching the namespace of a rule being hidden, this may lead to new violations being shown (#11957)
- Fixed UX when a plugin is still in vendor dir but is not required nor allowed anymore after changing branches (#12000)
- Fixed new platform requirements from composer.json not being checked if the lock file is outdated (#12001)
- Fixed ability for
configcommand to remove autoload keys (#11967)- Fixed empty
typesupport ininitcommand (#11999)- Fixed git clone errors when
safe.bareRepositoryis set tostrictin the git config (#11969)- Fixed regression showing network errors on PHP <8.1 (#11974)
- Fixed some color bleed from a few warnings (#11972)
Full Changelog: https://github.com/composer/composer/compare/2.7.6...2.7.7
2.7.6
- Fixed regression when script handlers add an autoloader which uses a private callback (#11960)
2.7.5
- Added
uninstallalias toremovecommand (#11951)- Added workaround for broken curl versions 8.7.0/8.7.1 causing transport exceptions (#11913)
- Fixed root usage warnings showing up within Podman containers (#11946)
- Fixed config command not handling objects correctly in some conditions (#11945)
- Fixed binary proxies not containing the correct path if the project dir is a symlink (#11947)
- Fixed Composer autoloader being overruled by project autoloaders when they are loaded by event handlers (scripts/plugins) (#11955)
- Fixed TransportException (http failures) not having a distinct exit code, should now exit with
100as code (#11954)2.7.4
- Fixed regression (
Call to undefined method ProxyManager::needsTransitionWarning()) with projects requiring composer/composer in an pre-2.7.3 version (#11943, #11940)As a side-note, requiring
composer/composeris frowned upon and should really only be done in circumstances where it is absolutely necessary, and ideally you should talk to us first to see if we can't help avoid it or help by extracting some code in a smaller library.2.7.3
- BC Warning: Fixed
https_proxyenv var falling back tohttp_proxy's value, this is still in place but with a warning for now, and https_proxy can now be set empty to remove the fallback. Composer 2.8.0 will remove the fallback so make sure you heed the warnings (#11915)- Fixed
showandoutdatedcommands to remove leadingvin e.g.v1.2.3when showing lists of packages (#11925)- Fixed
auditcommand not showing any id when no CVE is present, the advisory ID is now shown (#11892)- Fixed the warning about a missing default version showing for packages with
projecttype as those are typically not versioned and do not have cyclic dependencies (#11885)- Fixed PHP 8.4 deprecation warnings
- Fixed
clear-cachecommand to respect the config.cache-dir setting from the local composer.json (#11921)- Fixed
statuscommand not handling failed download/install promises correctly (#11889)- Added support for
buy_me_a_coffeein GitHub funding files (#11902)- Added
hgsupport for SSH urls (#11878)- Fixed some env vars with an integer value causing a crash (#11908)
- Fixed context data not being output when using IOInterface as a PSR-3 logger (#11882)
Changelog
Sourced from composer/composer's changelog.
[2.7.7] 2024-06-10
- Security: Fixed command injection via malicious git branch name (GHSA-47f6-5gq3-vx9c / CVE-2024-35241)
- Security: Fixed multiple command injections via malicious git/hg branch names (GHSA-v9qv-c7wm-wgmf / CVE-2024-35242)
- Security: Fixed secure-http checks that could be bypassed by using malformed URL formats (fa3b9582c)
- Security: Fixed Filesystem::isLocalPath including windows-specific checks on linux (3c37a67c)
- Security: Fixed perforce argument escaping (3773f775)
- Security: Fixed handling of zip bombs when extracting archives (de5f7e32)
- Security: Fixed Windows command parameter escaping to prevent abuse of unicode characters with best fit encoding conversion (3130a7455, 04a63b324)
- Fixed PSR violations for classes not matching the namespace of a rule being hidden, this may lead to new violations being shown (#11957)
- Fixed UX when a plugin is still in vendor dir but is not required nor allowed anymore after changing branches (#12000)
- Fixed new platform requirements from composer.json not being checked if the lock file is outdated (#12001)
- Fixed ability for
configcommand to remove autoload keys (#11967)- Fixed empty
typesupport ininitcommand (#11999)- Fixed git clone errors when
safe.bareRepositoryis set tostrictin the git config (#11969)- Fixed regression showing network errors on PHP <8.1 (#11974)
- Fixed some color bleed from a few warnings (#11972)
[2.7.6] 2024-05-04
- Fixed regression when script handlers add an autoloader which uses a private callback (#11960)
[2.7.5] 2024-05-03
- Added
uninstallalias toremovecommand (#11951)- Added workaround for broken curl versions 8.7.0/8.7.1 causing transport exceptions (#11913)
- Fixed root usage warnings showing up within Podman containers (#11946)
- Fixed config command not handling objects correctly in some conditions (#11945)
- Fixed binary proxies not containing the correct path if the project dir is a symlink (#11947)
- Fixed Composer autoloader being overruled by project autoloaders when they are loaded by event handlers (scripts/plugins) (#11955)
- Fixed TransportException (http failures) not having a distinct exit code, should now exit with
100as code (#11954)[2.7.4] 2024-04-22
- Fixed regression (
Call to undefined method ProxyManager::needsTransitionWarning()) with projects requiring composer/composer in an pre-2.7.3 version (#11943, #11940)[2.7.3] 2024-04-19
- BC Warning: Fixed
https_proxyenv var falling back tohttp_proxy's value, this is still in place but with a warning for now, and https_proxy can now be set empty to remove the fallback. Composer 2.8.0 will remove the fallback so make sure you heed the warnings (#11915)- Fixed
showandoutdatedcommands to remove leadingvin e.g.v1.2.3when showing lists of packages (#11925)- Fixed
auditcommand not showing any id when no CVE is present, the advisory ID is now shown (#11892)- Fixed the warning about a missing default version showing for packages with
projecttype as those are typically not versioned and do not have cyclic dependencies (#11885)- Fixed PHP 8.4 deprecation warnings
- Fixed
clear-cachecommand to respect the config.cache-dir setting from the local composer.json (#11921)- Fixed
statuscommand not handling failed download/install promises correctly (#11889)- Added support for
buy_me_a_coffeein GitHub funding files (#11902)- Added
hgsupport for SSH urls (#11878)- Fixed some env vars with an integer value causing a crash (#11908)
- Fixed context data not being output when using IOInterface as a PSR-3 logger (#11882)
Commits
2919429Release 2.7.7e354a8dUpdate changelog04a63b3Add more characters for best fit encoding protectionad8985eUpdate changelog3130a74Fix windows parameter encoding to prevent abuse of unicode characters with be...5aa7b03Fix testee28354Merge pull request from GHSA-47f6-5gq3-vx9c6bd43dfMerge pull request from GHSA-v9qv-c7wm-wgmffa3b958Fix secure-http check to avoid bypass using emojisf3e877aUpdate deps- 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.
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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@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) You can disable automated security fix PRs for this repo from the Security Alerts page.