]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
libcephfs: Bump API major version 63713/head
authorAnoop C S <anoopcs@cryptolab.net>
Wed, 4 Jun 2025 08:02:01 +0000 (13:32 +0530)
committerAnoop C S <anoopcs@cryptolab.net>
Wed, 4 Jun 2025 08:30:42 +0000 (14:00 +0530)
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] https://github.com/ceph/ceph/pull/62934
[2] https://github.com/ceph/go-ceph/issues/1119
[3] https://semver.org/#spec-item-8

Fixes: https://tracker.ceph.com/issues/71519
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
src/include/cephfs/libcephfs.h

index dfb5a597b06847c38926d4bb8429a9bbbab8f6eb..18e44b656eef1dac2ae8ac8adc83607ae567d9cb 100644 (file)
@@ -39,9 +39,9 @@ using CephContext = ceph::common::CephContext;
 extern "C" {
 #endif
 
-#define LIBCEPHFS_VER_MAJOR 10
-#define LIBCEPHFS_VER_MINOR 1
-#define LIBCEPHFS_VER_EXTRA 3
+#define LIBCEPHFS_VER_MAJOR 11
+#define LIBCEPHFS_VER_MINOR 0
+#define LIBCEPHFS_VER_EXTRA 0
 
 #define LIBCEPHFS_VERSION(maj, min, extra) ((maj << 16) + (min << 8) + extra)
 #define LIBCEPHFS_VERSION_CODE LIBCEPHFS_VERSION(LIBCEPHFS_VER_MAJOR, LIBCEPHFS_VER_MINOR, LIBCEPHFS_VER_EXTRA)