mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
0d5d7a8669
Refactors `getNewValue` logic to replace it with an optional `getPinnedValue()` where rangeStrategy=pin. This way each versioning module doesn't need to add and test extensive "pin" logic. This should not be breaking, but out of an abundance of caution, we'll mark it as such.
Renovate's Node.js versioning is a wrapper around npm versioning.
But Renovate removes any v prefixes from semantic versions when replacing.
Its primary purpose is to add Node.js LTS awareness, e.g.:
- Odd releases are unstable
- Even releases do not reach stability (LTS) immediately
You can not use node versioning to replace docker versioning if you are using node tags with suffixes like -alpine.
This is because npm versioning treats these suffixes as implying pre-releases/instability.