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.
rez versioning was developed to support the rez Package Manager. It's based on Semantic Versioning but includes its own concept of ranges.
Use of dots
A range is expressed with dots 1.2..2 means >=1.2.x <2.0.0.
No exact versions unless using two equals ==
In rez, 1.2.3 doesn't mean "exactly 1.2.3", it actually means >= 1.2.3 <1.2.4.
If you want to use an exact version use two equal characters, like this: ==1.2.3.
Use of pipes
rez uses pipes as an OR operator, 2.7..3|4 means >=2.7 <3 OR 4.x.x.
This has not been implemented yet. The current iteration of rez versioning does not support pipes yet.