VERSIONS 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. _ _ ____ _
  2. ___| | | | _ \| |
  3. / __| | | | |_) | |
  4. | (__| |_| | _ <| |___
  5. \___|\___/|_| \_\_____|
  6. Version Numbers and Releases
  7. Curl is not only curl. Curl is also libcurl. They're actually individually
  8. versioned, but they mostly follow each other rather closely.
  9. The version numbering is always built up using the same system:
  10. X.Y[.Z]
  11. Where
  12. X is main version number
  13. Y is release number
  14. Z is patch number
  15. One of these numbers will get bumped in each new release. The numbers to the
  16. right of a bumped number will be reset to zero. If Z is zero, it may not be
  17. included in the version number.
  18. The main version number will get bumped when *really* big, world colliding
  19. changes are made. The release number is bumped when changes are performed or
  20. things/features are added. The patch number is bumped when the changes are
  21. mere bugfixes.
  22. It means that after release 1.2.3, we can release 2.0 if something really big
  23. has been made, 1.3 if not that big changes were made or 1.2.4 if mostly bugs
  24. were fixed.
  25. Bumping, as in increasing the number with 1, is unconditionally only
  26. affecting one of the numbers (except the ones to the right of it, that may be
  27. set to zero). 1 becomes 2, 3 becomes 4, 9 becomes 10, 88 becomes 89 and 99
  28. becomes 100. So, after 1.2.9 comes 1.2.10. After 3.99.3, 3.100 might come.
  29. All original curl source release archives are named according to the libcurl
  30. version (not according to the curl client version that, as said before, might
  31. differ).
  32. As a service to any application that might want to support new libcurl
  33. features while still being able to build with older versions, all releases
  34. have the libcurl version stored in the curl/curlver.h file using a static
  35. numbering scheme that can be used for comparison. The version number is
  36. defined as:
  37. #define LIBCURL_VERSION_NUM 0xXXYYZZ
  38. Where XX, YY and ZZ are the main version, release and patch numbers in
  39. hexadecimal. All three number fields are always represented using two digits
  40. (eight bits each). 1.2 would appear as "0x010200" while version 9.11.7
  41. appears as "0x090b07".
  42. This 6-digit hexadecimal number is always a greater number in a more recent
  43. release. It makes comparisons with greater than and less than work.
  44. This number is also available as three separate defines:
  45. LIBCURL_VERSION_MAJOR, LIBCURL_VERSION_MINOR and LIBCURL_VERSION_PATCH.