Newer
Older
dub_jkp / changelog / semver-compatibility-operator.dd
@Mathis Beer Mathis Beer on 11 Oct 2019 424 bytes Add semver compatibility operator "^x.y.z".
Added SemVer compatibility operator "^"

Dub now supports version specifications of the form `^x.y.z`.
This corresponds to a "semver compatible version", ie. any version up from
`x.y.z` with the same major number. If the major number is 0, only the same
version matches. This corresponds to the versions listed on https://semver.org/ as
compatible with the public API of the version given.
`^x.y` is equivalent to `^x.y.0`.