Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why no semantic versioning? #268

Closed
dralletje opened this issue Nov 25, 2015 · 3 comments
Closed

Why no semantic versioning? #268

dralletje opened this issue Nov 25, 2015 · 3 comments

Comments

@dralletje
Copy link

This is not really an issue, but more a curious question.
Not sure if it belongs here or would fit better on twitter, haha!

Why doesn't the project use 'hardcore' semantic versioning? Why is it still 0.X.X?

@sindresorhus
Copy link
Member

It follows semver, but it's unstable, hence not being v1 yet. No idea what you mean by "hardcore semantic"? Can you elaborate on why you think it doesn't follow semver?

@jamestalmage
Copy link
Contributor

Related: http://semver.org/

4 - Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

...

FAQ

How should I deal with revisions in the 0.y.z initial development phase?

The simplest thing to do is start your initial development release at 0.1.0 and then increment the minor version for each subsequent release.

Use Caret Ranges in package.json when it comes to pre-1.0.0 projects.
(I personally use caret ranges just about everywhere)

Caret Ranges ^1.2.3 ^0.2.5 ^0.0.4
Allows changes that do not modify the left-most non-zero digit in the [major, minor, patch] tuple. In other words, this allows patch and minor updates for versions 1.0.0 and above, patch updates for versions 0.X >= 0.1.0, and no updates for versions 0.0.X.

Many authors treat a 0.x version as if the x were the major "breaking-change" indicator.

@jamestalmage
Copy link
Contributor

@dralletje
I think we answered your question. If not, please reopen this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants