Skip to content

libcephfs: Bump API major version#63713

Merged
vshankar merged 1 commit intoceph:mainfrom
anoopcs9:bump-libcephfs-major-vers
Jun 5, 2025
Merged

libcephfs: Bump API major version#63713
vshankar merged 1 commit intoceph:mainfrom
anoopcs9:bump-libcephfs-major-vers

Conversation

@anoopcs9
Copy link
Contributor

@anoopcs9 anoopcs9 commented Jun 4, 2025

We recently had ABI changes #62934 with respect to APIs from chown() family which calls for a change in major version. Native users of the library may not have to change their code but expected sizes differ when data type for parameters are changed. However go-ceph, Go bindings for ceph, couldn't build ceph/go-ceph#1119 unless the ABI change is made visible to the consumers of the API. Following the Semantic Versioning guidelines we reset minor and patch (extra) versions to 0.

Fixes: https://tracker.ceph.com/issues/71519

We recently had ABI changes[1] with respect to APIs from chown() family
which calls for a change in major version. Native users of the library
may not have to change their code but expected sizes differ when data
type for parameters are changed. However go-ceph, Go bindings for ceph,
couldn't build[2] unless the ABI change is made visible to the consumers
of the API. Following the Semantic Versioning guidelines[3] we reset
minor and patch (extra) versions to 0.

[1] ceph#62934
[2] ceph/go-ceph#1119
[3] https://semver.org/#spec-item-8

Fixes: https://tracker.ceph.com/issues/71519

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
@github-actions github-actions bot added the cephfs Ceph File System label Jun 4, 2025
@anoopcs9
Copy link
Contributor Author

anoopcs9 commented Jun 4, 2025

jenkins test api

@vshankar vshankar merged commit 996bf66 into ceph:main Jun 5, 2025
13 checks passed
@anoopcs9 anoopcs9 deleted the bump-libcephfs-major-vers branch June 5, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants