-
Hi, We're using JSON types from your library in in the APIs of a few different modules (libraries, applications) in our code base. We're using Conan to manage dependencies and install your library. Recently, we've noticed that we cannot link modules that use v3.9.1 of the JSON library with other modules that were built against v3.7.3; there have been some API-incompatible changes between the two. This was not flagged by Conan because its default versioning schema is to assume that API breaking changes only happen between major releases. I'd like to propose a change to the nlohmann_json recipe in conan-center-index to update the versioning schema used and ensure that other people don't run into the same issue we did, but I couldn't find information regarding API stability in the documentation. Should we assume that compatibility can be broken in major and minor releases for example, or in any release, including patches? Thanks, Romain |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The versioning scheme does not take the ABI into account. A non-breaking change from the point of the library means that existing code can compile after updating the library. We cannot guarantee binary compatibility. |
Beta Was this translation helpful? Give feedback.
The versioning scheme does not take the ABI into account. A non-breaking change from the point of the library means that existing code can compile after updating the library. We cannot guarantee binary compatibility.