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
package resolution issue in 1.5.x #1896
Comments
I've reverted semver upgrade in 1.5.2, so it should be fixed now.. |
I don't have a particular need for semver 5.x, but I do favor newer versions of any dependency in general. So is reverting really the solution here? In #1852, you said
I think developers who require dcjs 2.0.0-beta.x should explicitly ask for So I would vote for keeping semver 5.x, thoughts? |
@lebolo now that I read up on the breaking change in semver 5.x with regard to pre-release tags and the reason for that change, I think I agree. Just to confirm, if I need the latest beta of dcjs, the bower dependency would have to be: |
I think so, yes. semver 5.x should be the correct behavior, not a bug. |
+1 2.0.0 starts is 2.0.0 stable not beta included |
I was wrong, as this can break things more often: not only when package consists of only pre-releases, but also when selected range (like 2.0.x) consists only of prereleases. This issue is an example of it. Given large usebase of bower 1.x, stability should be a priority. Personally, I'd like to see some kind of |
@sheerun I agree. +1 |
When using bower 1.4.1 a package specification:
dcjs#~2.0.0
correctly resolves todcjs#2.0.0-beta.17
But when using bower 1.5.1, getting the following error
bower dcjs#~2.0.0 ENORESTARGET No tag found that was able to satisfy ~2.0.0 Additional error details: Available versions: 2.0.0-beta.17, 2.0.0-beta.16, 2.0.0-beta.15, 2.0.0-beta.14, 2.0.0-beta.13, 2.0.0-beta.12, 2.0.0-beta.11, 2.0.0-beta.10, 2.0.0-beta.9, 2.0.0-beta.8, 2.0.0-beta.7, 2.0.0-beta.6, 2.0.0-beta.5, 2.0.0-beta.4, 2.0.0-beta.3, 2.0.0-beta.2, 2.0.0-beta.1, 2.0.0-alpha.5, 2.0.0-alpha.4, 2.0.0-alpha.3, 2.0.0-alpha.2, 2.0.0-alpha, 1.7.3, 1.7.2, 1.7.1, 1.7.0, 1.6.0, 1.5.0, 1.4.0, 1.3.0, 0.9.1, 0.7.1, 0.7.0, 0.6.0, 0.5.0, 0.4.0, 0.3.0, 0.2.0, 0.1.0
The text was updated successfully, but these errors were encountered: