On Sun, 13 Jul 2014 13:02:29 GMT, Sönke Ludwig wrote:

According to the SemVer spec, it should ignore the part after the plus sign. But it's possible (but unlikely) that it would fetch the exact version anyway due to the way it resolves dependencies - I'd actually have to test to be sure (it sounds like desirable behavior, though). However, what definitely doesn't work reliably is saying something like ~>0.99.9 or >=0.99.9 to let it always get the latest version, because during relational comparisons, the build meta data part is ignored.

Ok, I see.

But generally, isn't this what patch versions are meant for? I'd probably go for something like 0.99.9+dmd.2.065.0 -> 0.99.10+dmd-2.066.0, so that the build meta data just functions as documentation. Or maybe even start 1.0.0+ if the API is stable?

Yeah, perhaps. The API is stable, except for when DMD breaks it. I guess I need to hear what the current maintainer thinks about this.

/Jacob Carlborg