<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 2:42 AM, Zach Moazeni <span dir="ltr"><<a href="mailto:zach.moazeni@gmail.com" target="_blank">zach.moazeni@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>Forgive me if this is a frequently asked question, I've searched the web and can't find an answer. I originally sent this to the Beginners list and someone said this might get more responses here instead.<br><br></div>What is the history that led up to the <a href="https://www.haskell.org/haskellwiki/Package_versioning_policy" target="_blank">PVP</a> specifying two values as the major version?<br><br></div>I come from other tools that primarily use <a href="http://semver.org/" target="_blank">http://semver.org/</a> (or a variant) and I'm confused in what cases I should bump "A" but not "B" (or bump "B" but not "A")?<br><br></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div></div>A
 concrete example: If I make backwards incompatible changes to a package
 whose latest version is 1.0.x, should the next version be 2.0.x or 
1.1.x? What sorts of things should I consider for choosing 2.0 over 1.1 
and vice versa?<br><br></div></div></blockquote><div> </div><div>Both are allowed, it's up to you and there is no explicit rule to decide. Some people seem to be bumping A for big changes, or to signify that the package is now stable.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Another question, by far most 
packages I have encountered either lead with a 0 or a 1 for "A". Does 
that have some bearing on the long term stability that package users 
should expect in the future?<br></div></div></blockquote><div><br></div><div>Formally, no. But some people use it like that.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Finally, if "1.0.x.." is 
meant to convey a level of long term support, does "B" get rarely used? 
Since "C" version bumps to include backwards compatible additions, and 
"D"+ for backwards compatible bug fixes. (I know "D" isn't technically a
 PVP category, I'm just relating it to the patch version of semver).<br><br></div>Thanks for your help!<span class=""><font color="#888888"><br clear="all"><br><div><div dir="ltr">-Zach</div></div></font></span></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div></div></div>