You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example:
browser_controller has version 0.00.2-dev
Semantic versioning says:
A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes.
There is a discrepancy between the dart and python versions of pub.dartlang.org on how this is displayed and linked to (basically the python version will show 0.0.2, but link to 0.00.2, the dart version will show 0.00.2, but link to 0.0.2).
The text was updated successfully, but these errors were encountered:
I recall we had to add some special case support in the Dart code for pub to handle this, but I don't remember exactly why. I think support for leading zeroes may have initially been a bug in pub that we then had to deliberately support for backwards compatibility.
Natalie might remember the details. If not, I can dig through the commit history.
For reasons I can get into further if you're curious, Pub supports semantic versioning 2.0.0-rc.1 (http://semver.org/spec/v2.0.0-rc.1.html), which has nothing in particular to say about leading zeros. The pub_semver package treats them as identical to versions without leading zeros, but will display them with the leading zeros. Can the server use the "display version" for linking?
<img src="https://avatars.githubusercontent.com/u/5475521?v=3" align="left" width="96" height="96"hspace="10"> Issue by ricowind
Originally opened as dart-lang/sdk#23425
Example:
browser_controller has version 0.00.2-dev
Semantic versioning says:
A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes.
There is a discrepancy between the dart and python versions of pub.dartlang.org on how this is displayed and linked to (basically the python version will show 0.0.2, but link to 0.00.2, the dart version will show 0.00.2, but link to 0.0.2).
The text was updated successfully, but these errors were encountered: