-
Notifications
You must be signed in to change notification settings - Fork 713
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
Recommend different bumping strategy for 0.x versions #294
Comments
bajtos
changed the title
Recommend different bump strategy for 0.x versions
Recommend different bumping strategy for 0.x versions
Mar 2, 2018
If we agree this change is welcome, then I am happy to contribute a pull request myself. However, it would great if the licensing issue #286 could be sorted out first! |
@hbetts thank you for a quick response. I read through the discussion in #239 and npm/node-semver#177. The reasoning make sense, I am closing this issue as a duplicate and/or invalid. |
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, conventional-recommended-bump does not distinguish between 0.x and post-1.0 versions when recommending the next version.
The current behaviour for 0.x versions:
1.0.0
. This is almost never wanted!0.<x>.0
). This does not work with npm's carrot (^
) operator.0.x.<y>
).I am proposing to implement a different behavior for 0.x versions:
0.<x>.0
).0.x.<y>
).This allows consumers of modules to specify the dependency version as
^0.x.y
to receive all backwards-compatible updates.See https://www.npmjs.com/package/semver#caret-ranges-123-025-004:
The text was updated successfully, but these errors were encountered: