Feature Request: Support for "Floating" Minor Version Upgrades Without Specifying Patch Version #36650
Replies: 5 comments 12 replies
-
Hi there, Please help this Discussion progress by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running Renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
This is probably possible already. If you create a demo repo we can check. |
Beta Was this translation helpful? Give feedback.
-
Hi there, Please locate the debug message If you self-host Renovate: make sure you run Renovate with Find the relevant dependency/dependencies in the log message, and copy/paste those parts into this discussion. If you do not know which bits we need, you can copy/paste the full log message. Read the Renovate docs, Troubleshooting to learn more about getting the docs, and getting the correct type of logs. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
Hi, please format any copy/pasted code or logs so they're readable. You can read a Markdown code formatting guide as well as some GitHub-specific information formatting code blocks. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
I'd like to ask if this feature could be reconsidered. Yes, you can make it workable, but not really in a sustainable way. Our context: For our company we offer GitLab CI components and we also offer the integration with Renovate by providing a GitLab CI component for it. Our GitLab CI components use semantic versioning and don't really impact anything in a way that teams would need to consciously update, so we rely on GitLab to resolve a version like Now the described scenario will work, but only if we as GitLab CI component developers maintain the extra set of major and potentially also major.minor releases next the normal major.minor.patch releases. This is all extra unnecessary work, if we could only tell Renovate to keep using the same precision in the newValue as it does with currentValue. Or at the least make it possible in some way to influence the newValue in some way so we could save the work of the extra releases. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
github demo repo
Tell us more.
Use Case: In my workflows, I often include GitLab templates using only the major and minor version numbers (e.g., 2.4), omitting the patch version. This approach ensures that the latest patch release within the specified minor version is always used automatically.
Desired Behavior: I would like to configure Renovate so that it can upgrade dependencies from one minor version to the next (for example, from 2.4 to 2.5), while still omitting the patch version. This way, after each upgrade, the included gitlab template is still pointing to the latest patch version, immediately.
Additional Context:
If I have a version pinned to a specific patch (e.g., 2.4.3), I want Renovate to continue updating to the next patch or minor version (e.g., 2.4.4 or 2.5.0), based on my existing configuration (such as separateMinorPatch). This is the current behavior, and I would like it to remain unchanged.
Summary:
Thank you for considering this feature!
Beta Was this translation helpful? Give feedback.
All reactions