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

0.4.5 breaks API over 0.4.2 #76

Open
Danvil opened this issue Jan 26, 2024 · 0 comments
Open

0.4.5 breaks API over 0.4.2 #76

Danvil opened this issue Jan 26, 2024 · 0 comments

Comments

@Danvil
Copy link

Danvil commented Jan 26, 2024

I have a project built against 0.4.2 which suddenly stopped working with compiler errors.

cargo is free to upgrade between "patch" versions, like from 0.4.2 to 0.4.5 as patch versions are not allowed to change the API. Some changes from 0.4.2 to 0.4.5 introduced API changes and should have come with an increase in the minor version number, e.g. "0.5.0".

It is too late for this now, but would be great for the future to only do API changes only via minor version number increase. More info here: https://semver.org

Workaround is to pin the version using "=0.4.2", but this is generally considered bad practice.

@Danvil Danvil changed the title 0.4.5 brakes API over 0.4.2 0.4.5 breakes API over 0.4.2 Jan 26, 2024
@Danvil Danvil changed the title 0.4.5 breakes API over 0.4.2 0.4.5 breaks API over 0.4.2 Jan 26, 2024
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

1 participant