dub: make ~>x.y.z mean >=x.y.z <(x+1).0.0 instead of >=x.y.z <x.(y+1).z

Timothee Cour via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 1 18:06:56 PST 2017


I often run into breakages when building dub packages due to a dependency
that uses "foo":
"~>x.y.z" that prevents using minor version bumps of "foo" (only patch
bumps). According to Semantic versioning [http://semver.org/], minor
version bumps should be allowed (only major version bumps would be
backwards incompatible).

The proposed change [https://github.com/dlang/dub/pull/1038] would make
~>x.y.z mean >=x.y.z <(x+1).0.0 instead of >=x.y.z <x.(y+1).z
It fixes a lot of breakages I run into when using dub.

Concerns?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170101/206077ed/attachment.html>


More information about the Digitalmars-d mailing list