From 74410e5397ebad354d1828ac4cef0b9028e951e2 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Wed, 4 Jun 2025 13:32:01 +0530 Subject: [PATCH] libcephfs: Bump API major version 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 --- src/include/cephfs/libcephfs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/cephfs/libcephfs.h b/src/include/cephfs/libcephfs.h index dfb5a597b06..18e44b656ee 100644 --- a/src/include/cephfs/libcephfs.h +++ b/src/include/cephfs/libcephfs.h @@ -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) -- 2.39.5