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

Hiredis v1.2.0 HIREDIS_SONAME number is incorrect #1285

Open
joydeep2024 opened this issue Feb 12, 2025 · 1 comment
Open

Hiredis v1.2.0 HIREDIS_SONAME number is incorrect #1285

joydeep2024 opened this issue Feb 12, 2025 · 1 comment

Comments

@joydeep2024
Copy link

In file hiredis.h for v1.2.0 we have the following
#define HIREDIS_MAJOR 1
#define HIREDIS_MINOR 2
#define HIREDIS_PATCH 0
#define HIREDIS_SONAME 1.1.0

Shouldn't this be
#define HIREDIS_MAJOR 1
#define HIREDIS_MINOR 2
#define HIREDIS_PATCH 0
#define HIREDIS_SONAME 1.2.0

@michael-grunder
Copy link
Collaborator

The reason the v1.2.0 SONAME is 1.1.0 is that hiredis v1.2.0 is 100% API and API compatible with v1.1.0.

Or to put differently, clients don't have to recompile their binaries if they upgrade from v1.1.0 to v1.2.0.

Technically I think we would actually want to drop minor and patch from the soname (to comply with normal linux conventions) but we did it in a weird way from the very early versions of hiredis.

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

No branches or pull requests

2 participants