mirror of
https://github.com/semver/semver.git
synced 2026-07-11 04:52:47 -05:00
ABI changes #424
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kgold2 on GitHub (Jul 10, 2020).
Is there any consideration of an ABI break that does not break the API? An ABI break may require a recompile but not changes to the calling source code.
For example, a C program could take a struct parameter. If a new member was added to the struct, the API doesn't break but the ABI does.
@steveklabnik commented on GitHub (Jul 10, 2020):
In general, SemVer is only concerned with APIs. This comes from its heritage in dynamically typed scripting languages. That being said, its notion of "API" is up to the maintainer; you as the project owner say what your API is, and if the ABI is part of that or not.
@Tieske commented on GitHub (Jul 11, 2020):
@steveklabnik is right. The most important (and most overlooked) element in versioning is defining the scope of the version. For example are "under the hood" database schema changes part of the version, or a file system layout? or in your case the ABI.
@WayneSherman commented on GitHub (Jul 16, 2023):
Regarding API and ABI changes, I agree with this post:
https://stackoverflow.com/a/34194562