0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 21:48:32 +00:00
renovatebot_renovate/lib/modules/versioning/pvp/readme.md
Janus Troelsen 2f805f4b7d
feat(versioning): add PVP versioning scheme (#32298)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-06 10:21:07 +00:00

19 lines
674 B
Markdown

[Package Versioning Policy](https://pvp.haskell.org/) is used with Haskell.
It's like semver, except that the first _two_ parts are of the major
version. That is, in `A.B.C`:
- `A.B`: major version
- `C`: minor
The remaining parts are all considered of the patch version, and
they will be concatenated to form a `number`, i.e. IEEE 754 double. This means
that both `0.0.0.0.1` and `0.0.0.0.10` have patch version `0.1`.
The range syntax comes from Cabal, specifically the [build-depends
section](https://cabal.readthedocs.io/en/3.10/cabal-package.html).
This module is considered experimental since it only supports ranges of forms:
- `>=W.X && <Y.Z`
- `<Y.Z && >=W.X`