Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump composer/composer from 2.6.4 to 2.7.2 #45

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 2, 2024

Bumps composer/composer from 2.6.4 to 2.7.2.

Release notes

Sourced from composer/composer's releases.

2.7.2

  • Added info about the PHP version when running composer --version (#11866)
  • Added warning when the root version cannot be detected (#11858)
  • Fixed plugins still being enabled in a few contexts when running as root (c3efff91f)
  • Fixed outdated --ignore ... still attempting to load the latest version of the ignored packages (#11863)
  • Fixed handling of broken symlinks in the middle of an install path (#11864)
  • Fixed update --lock still incorrectly updating some metadata (#11850, #11787)

Full Changelog: composer/composer@2.7.1...2.7.2

2.7.1

Check the 2.7.0 release notes for common problems troubleshooting if you are experiencing issues after upgrading to Composer 2.7.x

Changelog

  • Added several warnings when plugins are disabled to hint at common problems people had with 2.7.0 (#11842)
  • Fixed diagnose auditing of Composer dependencies failing when running from the phar

2.7.0

Read the Composer 2.7 Release Announcement for more details on the release highlights and the security fix.

Common upgrade problems

  • If you see errors with missing commands (symfony-cmd: command not found) or other failures and you are relying on plugins and running Composer as root (for example when you use AWS ElasticBeanstalk), read composer/composer#11839
  • If you are using plugins and bitbucket pipelines, read composer/composer#11839
  • If you see Fatal error: Declaration of {some-class}::execute(...) must be compatible with Composer\Command\SomeCommand::execute(): int then whatever code is extending a Composer command needs to be updated to also add the int return type, see composer/composer#11843 for more details.

Complete Changelog

  • Security: Fixed code execution and possible privilege escalation via compromised vendor dir contents (GHSA-7c6p-848j-wh5h / CVE-2024-24821)
  • Changed the default of the audit.abandoned config setting to fail, set it to report or ignore if you do not want this, or set it via COMPOSER_AUDIT_ABANDONED env var (#11643)
  • Added --minimal-changes (-m) flag to update/require/remove commands to perform partial update with --with-dependencies while changing only what is absolutely necessary in transitive dependencies (#11665)
  • Added --sort-by-age (-A) flag to outdated/show commands to allow sorting by and displaying the release date (most outdated first) (#11762)
  • Added support for --self combined with --installed or --locked in show command, to add the root package to the package list being output (#11785)
  • Added severity information to audit command output (#11702)
  • Added scripts-aliases top level key in composer.json to define aliases for custom scripts you defined (#11666)
  • Added IPv4 fallback on connection timeout, as well as a COMPOSER_IPRESOLVE env var to force IPv4 or IPv6, set it to 4 or 6 (#11791)
  • Added support for wildcards in outdated's --ignore arg (#11831)
  • Added support for bump command bumping * to >=current version (#11694)
  • Added detection of constraints that cannot possibly match anything to validate command (#11829)
  • Added package source information to the output of install when running in very verbose (-vv) mode (#11763)
  • Added audit of Composer's own bundled dependencies in diagnose command (#11761)
  • Added GitHub token expiration date to diagnose command output (#11688)
  • Added non-zero status code to why/why-not commands (#11796)
  • Added error when calling show --direct <package> with an indirect/transitive dependency (#11728)
  • Added COMPOSER_FUND=0 env var to hide calls for funding (#11779)
  • Fixed bump command not bumping packages required with a v prefix (#11764)
  • Fixed automatic disabling of plugins when running non-interactive as root
  • Fixed update --lock not keeping the dist reference/url/checksum pinned (#11787)
  • Fixed require command crashing at the end if no lock file is present (#11814)

... (truncated)

Changelog

Sourced from composer/composer's changelog.

[2.7.2] 2024-03-11

  • Added info about the PHP version when running composer --version (#11866)
  • Added warning when the root version cannot be detected (#11858)
  • Fixed plugins still being enabled in a few contexts when running as root (c3efff91f)
  • Fixed outdated --ignore ... still attempting to load the latest version of the ignored packages (#11863)
  • Fixed handling of broken symlinks in the middle of an install path (#11864)
  • Fixed update --lock still incorrectly updating some metadata (#11850, #11787)

[2.7.1] 2024-02-09

  • Added several warnings when plugins are disabled to hint at common problems people had with 2.7.0 (#11842)
  • Fixed diagnose auditing of Composer dependencies failing when running from the phar

[2.7.0] 2024-02-08

  • Security: Fixed code execution and possible privilege escalation via compromised vendor dir contents (GHSA-7c6p-848j-wh5h / CVE-2024-24821)
  • Changed the default of the audit.abandoned config setting to fail, set it to report or ignore if you do not want this, or set it via COMPOSER_AUDIT_ABANDONED env var (#11643)
  • Added --minimal-changes (-m) flag to update/require/remove commands to perform partial update with --with-dependencies while changing only what is absolutely necessary in transitive dependencies (#11665)
  • Added --sort-by-age (-A) flag to outdated/show commands to allow sorting by and displaying the release date (most outdated first) (#11762)
  • Added support for --self combined with --installed or --locked in show command, to add the root package to the package list being output (#11785)
  • Added severity information to audit command output (#11702)
  • Added scripts-aliases top level key in composer.json to define aliases for custom scripts you defined (#11666)
  • Added IPv4 fallback on connection timeout, as well as a COMPOSER_IPRESOLVE env var to force IPv4 or IPv6, set it to 4 or 6 (#11791)
  • Added support for wildcards in outdated's --ignore arg (#11831)
  • Added support for bump command bumping * to >=current version (#11694)
  • Added detection of constraints that cannot possibly match anything to validate command (#11829)
  • Added package source information to the output of install when running in very verbose (-vv) mode (#11763)
  • Added audit of Composer's own bundled dependencies in diagnose command (#11761)
  • Added GitHub token expiration date to diagnose command output (#11688)
  • Added non-zero status code to why/why-not commands (#11796)
  • Added error when calling show --direct <package> with an indirect/transitive dependency (#11728)
  • Added COMPOSER_FUND=0 env var to hide calls for funding (#11779)
  • Fixed bump command not bumping packages required with a v prefix (#11764)
  • Fixed automatic disabling of plugins when running non-interactive as root
  • Fixed update --lock not keeping the dist reference/url/checksum pinned (#11787)
  • Fixed require command crashing at the end if no lock file is present (#11814)
  • Fixed root aliases causing problems when auditing locked dependencies (#11771)
  • Fixed handling of versions with 4 components in require command (#11716)
  • Fixed compatibility issues with Symfony 7
  • Fixed composer.json remaining behind after a --dry-run of the require command (#11747)
  • Fixed warnings being shown incorrectly under some circumstances (#11786, #11760, #11803)

[2.6.6] 2023-12-08

  • Fixed symfony/console requirement to exclude 7.x as Composer 2.6 is not compatible, 2.7 will be (#11741)
  • Fixed libpq parsing to use the global constant if available (#11684)
  • Fixed error output when updating with a temporary constraint fails (#11692)

[2.6.5] 2023-10-06

... (truncated)

Commits
  • b826edb Release 2.7.2
  • 1a3474c Update changelog
  • 58276f2 Update scripts.md (#11880)
  • 57427e6 Fix filesystem::copy with broken symlinks, refs #11864
  • 299b2c1 Update deps
  • c5aa3dc Update deps, update baseline (1677, 97), fixes #11875
  • 66acb84 Fix update --lock to avoid updating all metadata except dist/source urls and ...
  • 1dc2c93 Fix ensureDirectoryExists not working when a broken symlink appears somewhere...
  • c42bb68 Optimize outdated --ignore to avoid fetching the latest package info for igno...
  • 133447c Output tweak
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

Bumps [composer/composer](https://github.com/composer/composer) from 2.6.4 to 2.7.2.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/main/CHANGELOG.md)
- [Commits](composer/composer@2.6.4...2.7.2)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from WyriHaximus as a code owner April 2, 2024 09:58
@dependabot dependabot bot added the Dependencies 📦 Pull requests that update a dependency file label Apr 2, 2024
@boring-cyborg boring-cyborg bot added the PHP 🐘 Hypertext Pre Processor label Apr 2, 2024
Copy link

github-actions bot commented Apr 2, 2024

🏰 Composer Production Dependency changes 🏰

Prod Packages Operation Base Target Link
react/promise Upgraded v2.10.0 v2.11.0 Compare

Copy link

github-actions bot commented Apr 2, 2024

🚧 Composer Development Dependency changes 🚧

Dev Packages Operation Base Target Link
composer/ca-bundle Upgraded 1.3.7 1.5.0 Compare
composer/class-map-generator Upgraded 1.1.0 1.1.1 Compare
composer/composer Upgraded 2.6.4 2.7.2 Compare
composer/pcre Upgraded 3.1.0 3.1.3 Compare
composer/spdx-licenses Upgraded 1.5.7 1.5.8 Compare
composer/xdebug-handler Upgraded 3.0.3 3.0.4 Compare
seld/jsonlint Upgraded 1.10.0 1.10.2 Compare
symfony/console Upgraded v6.3.4 v6.4.4 Compare
symfony/deprecation-contracts Upgraded v3.3.0 v3.4.0 Compare
symfony/filesystem Upgraded v6.3.1 v6.4.3 Compare
symfony/finder Upgraded v6.3.3 v6.4.0 Compare
symfony/polyfill-ctype Upgraded v1.28.0 v1.29.0 Compare
symfony/polyfill-intl-grapheme Upgraded v1.28.0 v1.29.0 Compare
symfony/polyfill-intl-normalizer Upgraded v1.28.0 v1.29.0 Compare
symfony/polyfill-mbstring Upgraded v1.28.0 v1.29.0 Compare
symfony/polyfill-php73 Upgraded v1.28.0 v1.29.0 Compare
symfony/polyfill-php80 Upgraded v1.28.0 v1.29.0 Compare
symfony/polyfill-php81 Upgraded v1.28.0 v1.29.0 Compare
symfony/process Upgraded v6.3.4 v6.4.4 Compare
symfony/service-contracts Upgraded v3.3.0 v3.4.1 Compare
symfony/string Upgraded v6.3.2 v6.4.4 Compare

@WyriHaximus WyriHaximus added this to the 1.1.0 milestone Apr 2, 2024
@WyriHaximus WyriHaximus merged commit c20fc76 into main Apr 2, 2024
87 of 142 checks passed
@WyriHaximus WyriHaximus deleted the dependabot/composer/composer/composer-2.7.2 branch April 2, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant