renovate/lib/modules/versioning/pvp
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
..
index.spec.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
index.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
range.spec.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
range.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
readme.md feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
types.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
util.spec.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
util.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00

readme.md

Package Versioning Policy 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.

This module is considered experimental since it only supports ranges of forms:

  • >=W.X && <Y.Z
  • <Y.Z && >=W.X