Skip to content

Releases: composer/composer

2.9.2

19 Nov 21:07
Immutable release. Only release title and notes can be modified.
8d5358f

Choose a tag to compare

  • Added new --no-security-blocking flag to disable/configure security blocking (#12617)
  • Added a way to set audit > ignore to act only on audits or only on security blocking (#12618, #12612)
  • Fixed config command not being able to set the new audit settings (#12609)
  • Fixed handling audit.ignore to support CVE ids while doing security blocking, but advisory IDs are still preferred for performance reasons (#12624)
  • Fixed partial updates failing when another package in the lock file has a known security advisory (#12626)

Full Changelog: 2.9.1...2.9.2

2.9.1

13 Nov 15:18
Immutable release. Only release title and notes can be modified.
35cb6d4

Choose a tag to compare

  • Fixed regression in phpunit binary proxies (#12601)
  • Fixed script handler autoloading issues (#12606)
  • Fixed null call of Command::setDescription in some cases (#12605)
  • Fixed --prefer-lowest builds sometimes failing due to the filtering of versions with known vulnerabilities (#12603)

Full Changelog: 2.9.0...2.9.1

2.9.0

13 Nov 09:46
Immutable release. Only release title and notes can be modified.
5b236f4

Choose a tag to compare

Read the Composer 2.9 Release Announcement for more details on the release highlights.

Full Changelog

  • Bumped composer-plugin-api to 2.9.0
  • Added automatic blocking of packages with security advisories from updates (#11956)
  • Added audit > block-insecure config setting to control blocking of updates to package versions with known security advisories (defaults to true) (#11956)
  • Added audit > block-abandoned config setting to control blocking of updates to abandoned packages (defaults to false) (#11956)
  • Added audit > ignore-abandoned config setting to ignore some packages (#12572)
  • Added --ignore-unreachable flag to audit command to allow running audit in environments that do not have access to some repos (#12470)
  • Added repository command to add, remove, or update repositories more easily (#12388)
  • Updated repositories structure to contain a name attribute and being stored preferably as list instead of object (#12388)
  • Added support for --minimal-changes full updates where only packages that need changing to satisfy modified constraints are updated (#12349)
  • Added update-with-minimal-changes config setting (and COMPOSER_MINIMAL_CHANGES env var) to default to minimal changes (#12545)
  • Added support for forgejo / codeberg.org repositories (#12307)
  • Added automatic recovery of simple lock file conflicts when running update with a file that has a content-hash conflict (#11517)
  • Added support for HTTP/3 if libcurl supports it (#12363)
  • Added support for custom header authentication (#12372)
  • Added support for client TLS certificates (#12406)
  • Added --locked flag to licenses command to show data from the lock file instead of installed packages (#12595)
  • Added SHELL_VERBOSITY env var to control verbosity of shell scripts (#12473)
  • Added support for running init without interaction (#12546)
  • Added COMPOSER_PREFER_DEV_OVER_PRERELEASE env var for use in development together with --prefer-lowest builds (#12585)
  • Added support for Windows Sudo to elevate during self-update (#12543)
  • Improved performance of script handlers by reducing ad-hoc autoloader creation (#12456)
  • Fixed display of dist refs for dev versions when source is missing (#12562)
  • Fixed issue not showing abandoned warnings when a package is abandoned without new release (#12423)
  • Fixed compatibility issues with Symfony 7
  • Fixed issues with PHP preloading being hard to debug (#12528)

Full Changelog: 2.8.12...2.9.0

2.9.0-RC1

07 Nov 14:20
Immutable release. Only release title and notes can be modified.
ed4d920

Choose a tag to compare

2.9.0-RC1 Pre-release
Pre-release

Composer 2.9 is ready for a release, and we need your help to test it and report any regression.

Please try it out!

  • Running composer self-update --preview will get you the 2.9.0-RC1
  • Running composer self-update --stable will get you back on the latest 2.8 stable release if anything broke.
  • Report any issues you encounter as a new issue specifying you tried the 2.9 RC and please include stack traces & repro details.

Full Changelog

  • Bumped composer-plugin-api to 2.9.0
  • Added automatic blocking of packages with security advisories from updates (#11956)
  • Added audit > block-insecure config setting to control blocking of updates to package versions with known security advisories (defaults to true) (#11956)
  • Added audit > block-abandoned config setting to control blocking of updates to abandoned packages (defaults to false) (#11956)
  • Added audit > ignore-abandoned config setting to ignore some packages (#12572)
  • Added --ignore-unreachable flag to audit command to allow running audit in environments that do not have access to some repos (#12470)
  • Added repository command to add, remove, or update repositories more easily (#12388)
  • Updated repositories structure to contain a name attribute and being stored preferably as list instead of object (#12388)
  • Added support for --minimal-changes full updates where only packages that need changing to satisfy modified constraints are updated (#12349)
  • Added update-with-minimal-changes config setting (and COMPOSER_MINIMAL_CHANGES env var) to default to minimal changes (#12545)
  • Added support for forgejo / codeberg.org repositories (#12307)
  • Added automatic recovery of simple lock file conflicts when running update with a file that has a content-hash conflict (#11517)
  • Added support for HTTP/3 if libcurl supports it (#12363)
  • Added support for custom header authentication (#12372)
  • Added support for client TLS certificates (#12406)
  • Added --locked flag to licenses command to show data from the lock file instead of installed packages (#12595)
  • Added SHELL_VERBOSITY env var to control verbosity of shell scripts (#12473)
  • Added support for running init without interaction (#12546)
  • Added COMPOSER_PREFER_DEV_OVER_PRERELEASE env var for use in development together with --prefer-lowest builds (#12585)
  • Added support for Windows Sudo to elevate during self-update (#12543)
  • Improved performance of script handlers by reducing ad-hoc autoloader creation (#12456)
  • Fixed display of dist refs for dev versions when source is missing (#12562)
  • Fixed issue not showing abandoned warnings when a package is abandoned without new release (#12423)
  • Fixed compatibility issues with Symfony 7
  • Fixed issues with PHP preloading being hard to debug (#12528)

Full Changelog: 2.8.12...2.9.0-RC1

2.8.12

19 Sep 11:46
3e38919

Choose a tag to compare

  • Fixed json schema issues with version validation (#12512)
  • Fixed PHP 8.5 deprecation warnings (#12513)
  • Fixed support for Bitbucket API tokens (#12515)
  • Fixed handling of spaces in paths when using binaries (#12524)
  • Fixed config --global path resolution issue (#12537)
  • Reduced peak memory usage while loading packages (#12516)
  • Dropped react/promise 2.x support

Full Changelog: 2.8.11...2.8.12

2.8.11

21 Aug 10:50
00e1a33

Choose a tag to compare

  • Fixed PHP 8.5 deprecation warnings (#12504, #12493, #12505)
  • Fixed bump command handling of 0.x versions (#12468)
  • Fixed psr-4 warnings being shown in some cases when using symlinked directories (#12480)
  • Fixed audit command failing hard if any advisory constraint was invalid (#12507)

Full Changelog: 2.8.10...2.8.11

2.8.10

10 Jul 17:23
53834f5

Choose a tag to compare

  • Fixed plugins appearing loaded despite not being loaded yet in some edge cases (#12442)
  • Fixed forward compatibility with Symfony 7.4 (#12445)
  • Fixed deprecation warning on PHP 8.4 when platform check fails (#12453)
  • Fixed support for new planner role in GitLab (#12426)
  • Fixed Bitbucket regression introduced in 2.8.0 (#12462)
  • Fixed json schema issues with version validation (#12438)
  • Fixed git prompt breaking some systems (#12437)
  • Fixed warning on PHP 8.5 when curl is not loaded (#12472)

Full Changelog: 2.8.9...2.8.10

2.8.9

13 May 12:15
b4e6bff

Choose a tag to compare

  • Fixed json schema issues with version validation (#12376)
  • Fixed bump-after-update triggering after an update --lock, which makes no sense (#12371)
  • Fixed zip bomb false positives when unpacking using ZipArchive (#12409)
  • Fixed creation of empty archives (#12408)
  • Removed output of script being run when running via composer <script-name> (#12383)

Full Changelog: 2.8.8...2.8.9

2.8.8

04 Apr 15:18
85ff84d

Choose a tag to compare

  • Fixed json schema issues with version validation (#12367)
  • Fixed issues running on 32bit machines (#12365)

Full Changelog: 2.8.7...2.8.8

2.8.7

03 Apr 14:31
fc06c09

Choose a tag to compare

  • Bumped justinrainbow/json-schema dependency to 6.x (#12348)
  • Added COMPOSER_MAX_PARALLEL_PROCESS env var to control max amount of parallel processes Composer will start (#12356)
  • Added zstd/brotli presence in diagnose command output
  • Fixed error handler to avoid spamming deprecation notices (#12360)
  • Fixed InstalledVersions returning duplicate data at Composer runtime (#12225)
  • Fixed handling of --with ... constraints to make them apply to packages replaced a package with a different name (#12353)
  • Fixed deprecation warnings showing up in IDE code inspections within the vendor dir (#12331)
  • Fixed a few json schema completeness issues (#12332, #12321)
  • Fixed issue autoloading files with a .phar inside the path (#12326)

Full Changelog: 2.8.6...2.8.7