-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
New rangeStrategy=in-range-only Feature is Not Updating Packages as Expected #14116
Comments
As renovate don't find new versions, it's probably related to: |
Does rangeStrategy=update-lockfile work? |
No that doesn't work as mentioned here is a previous issue comment: #12766 (reply in thread) Later this issue was opened in response to the behavior I was still seeing: #12766 (reply in thread) |
@viceice interesting that this could be related to the packagist API, seems like pulling the correct version through the v1 API should still be working shouldn't it? |
No, they told that the the old api won't provide all updates. Can somebody compare both Apis for the relevant package? |
We get the same list from both APIs. Both APIs return 5.9.0 as the latest version for this package. |
@RahulGautamSingh OK, thanks for confirming then that this has nothing to do with the API version and is another new issue. |
It has been many months and it appears that this feature is still broken and not really functioning. |
somebody needs to debug this. |
I feel like there are either 2 things happening.
|
@timnolte You're correct. It is a code-logic problem. We use the latest version from Gotta change this line;
To something like this: config.rangeStrategy === 'in-range-only'
? allSatisfyingVersions
: allVersions, |
Test run result:
|
@RahulGautamSingh that looks like what I would expect! 👍🏼 |
🎉 This issue has been resolved in version 32.236.4 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Hmm, so this feature appears to not update everything "in range". I have the following in my
composer.json
The current version in the lockfile is
And the latest version of 5.5.x is 5.5.8 which will update when I issue a standard
composer update
.With the setup of using
in-range-only
I'm not seeing any attempt to update these packages.Originally posted by @timnolte in #13050 (comment)
I've setup an example repository here: https://github.com/timnolte/renovate-example2
Here is the latest debug information from a Renovate run:
The text was updated successfully, but these errors were encountered: