Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 13, 2025

The roave/security-advisories package was an inventive method to block installation of known insecure versions of other dependencies (via a conflict annotation).

As of Composer 2.9, using the roave/security-advisories package for this purpose is no longer needed as Composer will now natively block installation of known insecure versions of dependencies.

And while not all contributors to this repo may be using Composer 2.9+ (yet), Composer 2.9+ will be used in CI and CI failing on Composer blocking an insecure dependency offers the same level of protection as the package previously offered.

Refs:

The `roave/security-advisories` package was an inventive method to block installation of known insecure versions of other dependencies (via a `conflict` annotation).

As of Composer 2.9, using the `roave/security-advisories` package for this purpose is no longer needed as Composer will now natively block installation of known insecure versions of dependencies.

And while not all contributors to this repo may be using Composer 2.9+ (yet), Composer 2.9+ **_will_** be used in CI and CI failing on Composer blocking an insecure dependency offers the same level of protection as the package previously offered.

Refs:
* https://blog.packagist.com/composer-2-9/
* https://github.com/composer/composer/releases/tag/2.9.0
@jrfnl jrfnl added this to the 1.x Next Release milestone Nov 13, 2025
@jrfnl jrfnl merged commit 3e68131 into main Nov 13, 2025
3 checks passed
@jrfnl jrfnl deleted the feature/composer-remove-roave-security-advisories branch November 13, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants