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

add release note for Composer 2.8.3 #9345

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
32 changes: 32 additions & 0 deletions source/releasenotes/2024-12-10-composer-2-8-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Composer 2.8.3 now available
published_date: "2025-01-16"
categories: [infrastructure,tools-apis]
---

Composer 2.8.3 is now used in both runtime environments and integrated composer build environments on Pantheon.
rachelwhitton marked this conversation as resolved.
Show resolved Hide resolved

### Automatic rollout - No action required

Composer 2.8.3 will gradually roll out to automatically. No action required from you during this process.
rachelwhitton marked this conversation as resolved.
Show resolved Hide resolved

jazzsequence marked this conversation as resolved.
Show resolved Hide resolved
### Breaking changes

Developers should be aware of a potentially breaking change introduced in [2.8.0](https://github.com/composer/composer/releases/tag/2.8.0). The fallback behavior from `https_proxy` to `http_proxy` has been removed, as previously warned in [2.7.3](https://github.com/composer/composer/releases/tag/2.7.3). If your configurations depend on this behavior, update them to avoid connectivity issues.

### Highlights

Composer 2.8.3 introduces a range of improvements and updates made between versions 2.7.7 and 2.8.3, including:

* **`--patch-only` flag for updates**: Restrict updates to patch versions with this new flag for the `update` command.
* **Improved interactive package updates**: Enhanced package display makes interactive updates more intuitive.
* **JSON schema validation**: New validation ensures integrity for `composer.lock` files.
* **PHP 8.4 compatibility**: Compatibility updates for the latest PHP version.
* **Bug fixes**: Resolved issues with provider suggestions and lock file schemas.

View an overview of the changes made between [2.7.7 and 2.8.3 by comparing the tags](https://github.com/composer/composer/compare/2.7.7...2.8.3) or explore the highlights on [Composer's Releases page](https://github.com/composer/composer/releases).

jazzsequence marked this conversation as resolved.
Show resolved Hide resolved
### Notes

Composer commands can be run against sites on Pantheon via the [Terminus Composer plugin](https://github.com/pantheon-systems/terminus-composer-plugin). For operations that modify version controlled code (like adding a module via `composer require` which will change `composer.json` and `composer.lock`) you must run such commands in Dev or Multidev environments where version controlled files are writable. Such files are not writeable in Test and Live environments.
To learn more about Composer on Pantheon, visit our guide on [Integrated Composer](https://docs.pantheon.io/guides/integrated-composer).
rachelwhitton marked this conversation as resolved.
Show resolved Hide resolved
Loading