quotient-im / libQuotient

A Qt library to write cross-platform clients for Matrix
https://quotient-im.github.io/libQuotient/
GNU Lesser General Public License v2.1
132 stars 56 forks source link

Bump API version #740

Closed KitsuneRal closed 4 months ago

KitsuneRal commented 5 months ago

I thought of trying to run things a bit different this time around, with soname getting a new number while the library version still starts with 0.8. Hope this makes sense and doesn't cause lots of confusion?

TobiasFella commented 5 months ago

We previously used the minor version for compatibility ifdefs; but we might as well check patch version >= 50 so it should be fine

KitsuneRal commented 4 months ago

Hrrm, yeah, good point. Could as well expose QUOTIENT_API_VERSION macro to C++ but that also would not be aligned with Qt version checks... I'll think of it a bit more.

KitsuneRal commented 4 months ago

Alright, I'm trying to solve an inexistent problem here; there's not much need to distinguish unstable prereleases in purely numeric terms. I'll revert to the previous mechanism.

KitsuneRal commented 4 months ago

This way should be better.