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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-url: possible breaking change in public API surface between 0.7.0 and 0.7.3 #524
Comments
A `&BStr` better indicates that we are expecting human-readable input with ascii-compatible or UTF-8 endcoding.
Thanks for the kind words! Apologies for the hassle.
After taking a look at the changelog it becomes clear that the commit message was correctly understood as breaking change, yet the newly created versions don't bump the minor version, just the patch level. This seems to have happened multiple times already at least in the I hope it doesn't happen again and hope I will be able to detect such issue in future and fix the bug, before such breakage happens again. I am closing the issue as I am unable to fix it without breaking what's currently released. |
No worries, thanks again! |
Duplicates
Current behavior 馃槸
Howdie, thanks so much for sharing this project, it has been very useful for me <3
I wanted to ask about the version scheme in use for git-url, in particular: is it SemVer or some other scheme?
I have
git-url = "0.7"
in my Cargo.toml, and recently noticed that my builds started getting compiler errors, which seem to have started with the release of git-url 0.7.3It seems that, among other changes, the new git-url version changed the function signature of
git_url::parse()
so that it no longer takes[u8]
, which I have been able to accommodate now in my project: https://gitlab.com/jokeyrhyme/tuning/-/merge_requests/26/diffsIt looks like this is the commit in question: f6506e0
Expected behavior 馃
I suppose, if this were within a SemVer scheme, then bumping the version number of git-url to 0.8.0 might be an option
But, I'm a little rusty on pre-1.0 behaviour for version numbers :) I thought it was 0.MAJOR.MINOR , but 0.anything could also just not have the same API stability indication as 1.0 , so who know? :) 馃し
Again, thanks so much, I especially love the "serde1" feature flag for git-url, it's all terrific :) Thanks!
Steps to reproduce 馃暪
git_url::parse()
in git-url 0.7.0 without compiler errorsexpected struct BStr, found slice [u8]
The text was updated successfully, but these errors were encountered: