[Request] Using semantic versioning #145
Replies: 1 comment
-
I have to explain why I avoid using SemVer for numbering versions of a library. Personally, I prefer a scheme like that:
where GenerationIf The first. It allows using of several versions of the same library in one project. Just imagine that we have restinio-1.0.0 with the top-level namespace named The second. Once you switch from an older version of the library to a new one, it would be completely impossible to switch back. So the upgrading to the version with greater generation value is a one-way path. MajorIf The increment of restinio/dev/sample/async_handling_with_sobjectizer/main.cpp Lines 7 to 31 in 0052518 MinorThe increment of You can upgrade to a version with a higher PatchThe increment of Maybe it's just my limited experience, but I think that this versioning scheme is more suitable for libraries. Especially for libraries with a long lifetime. RESTinio is still a young project, but I saw the benefits of that scheme in other projects (like SObjectizer that evolves for 18 years). The classical SemVer suits application (not library) development much better. So I think that SemVer is more appropriate for tools like But it's just my opinion. If your suggestion gets a big number of votes we'll switch to SemVer after the release of restinio-1.0.0 :) |
Beta Was this translation helpful? Give feedback.
-
Currently the version is a little off the beaten path. It would be wonderful if the next big release moved to https://semver.org/ which is more preferable for tracking.
I would suggest just dropping the leading 0 :)
Beta Was this translation helpful? Give feedback.
All reactions