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

SONAME/ABI and library versioning policy #218

Closed
traversaro opened this issue Nov 13, 2020 · 2 comments
Closed

SONAME/ABI and library versioning policy #218

traversaro opened this issue Nov 13, 2020 · 2 comments
Labels
enhancement Request a new feature.

Comments

@traversaro
Copy link

Description
Hi @0-wiz-0 and all libzip authors, thanks a lot for the amazing library. I was wondering if do you have any policy on versiong w.r.t. to bumping the SONAME, i.e. breaking the ABI. In the sense, do you expect to bump the major version of the library the next time you will bump the SONAME, or the SONAME and the library version are indipendent?

Solution
Reply to this issue explaining if there is a relation between the SONAME and the library version, of if there is no such relation. Adding this info in the README could also help other packagers.

Describe alternatives you've considered
The alternative is not to clarify this aspect.

Additional context
The question came out in conda-forge/libzip-feedstock#21 .

@traversaro traversaro added the enhancement Request a new feature. label Nov 13, 2020
@0-wiz-0
Copy link
Member

0-wiz-0 commented Nov 13, 2020

We try to follow best practices: when adding symbols, we bump the shared library minor version, and when removing symbols (or changing the API for a function, which we haven't done yet) we bump the major version.
There is no promise on the version number of the distfile (which I think is what you are asking) but I expect at least the "Y", perhaps the "X", in X.Y.Z to change whenever we change the shared library major version number.

@0-wiz-0 0-wiz-0 closed this as completed Nov 13, 2020
@traversaro
Copy link
Author

Perfect, thanks!

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

No branches or pull requests

2 participants