You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The composer.json dependencies for this library now list php8.3 as the minimum version to use unleash/client. What's odd is this change was made in v2.5.283. The next patch version back, v2.5.282, is still PHP8.2.
We were just wondering if this was intentional? It's a pretty big change to make in a patch version update.
To reproduce
Install PHP8.2
Update your composer.json to point at release 2.5.283 of this package.
Run composer install - note PHP dependency version check failure
Update your composer.json to point at 2.5.282 or any other version older than that in the v2 range
Run composer install - note installation is successful
Sample code (optional)
YourComposer dependencies require a PHP version ">= 8.3.0".
Version
2.5.283
Expected behavior
Maintain PHP8.2 as the minimum version for all patch version upgrades. A minor or major version upgrade would be more appropriate for a shift of this size.
Logs (optional)
No response
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered:
The way this project works is that the code itself is written in the newest php version and then automatically transpiled to older versions. Meaning nothing really changes for you, you can use v2.5.282, which contains all the code from v2.5.283, but with code that doesn't work on PHP 8.2 changed to be compatible.
This goes all the way down to PHP 7.2, meaning even 7.2 is supported with the same version, it just has 72 as a suffix, v2.5.272.
The way this works is that composer installs the latest supported version. Because 2.5.283 is larger than 2.5.282, composer prefers it in require/update, but if your php version doesn't match, it tries the next latest (2.5.282), then the next (2.5.281) and so on.
Is there an existing issue for this?
Describe the bug
The
composer.json
dependencies for this library now list php8.3 as the minimum version to useunleash/client
. What's odd is this change was made in v2.5.283. The next patch version back, v2.5.282, is still PHP8.2.We were just wondering if this was intentional? It's a pretty big change to make in a patch version update.
To reproduce
composer.json
to point at release 2.5.283 of this package.composer install
- note PHP dependency version check failurecomposer.json
to point at 2.5.282 or any other version older than that in the v2 rangecomposer install
- note installation is successfulSample code (optional)
Version
2.5.283
Expected behavior
Maintain PHP8.2 as the minimum version for all patch version upgrades. A minor or major version upgrade would be more appropriate for a shift of this size.
Logs (optional)
No response
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: