🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
2.6 KiB

  1. # Versioning
  2. ## Since 2.23.0
  3. SDL follows an "odd/even" versioning policy, similar to GLib, GTK, Flatpak
  4. and older versions of the Linux kernel:
  5. * The major version (first part) increases when backwards compatibility
  6. is broken, which will happen infrequently.
  7. * If the minor version (second part) is divisible by 2
  8. (for example 2.24.x, 2.26.x), this indicates a version of SDL that
  9. is believed to be stable and suitable for production use.
  10. * In stable releases, the patchlevel or micro version (third part)
  11. indicates bugfix releases. Bugfix releases should not add or
  12. remove ABI, so the ".0" release (for example 2.24.0) should be
  13. forwards-compatible with all the bugfix releases from the
  14. same cycle (for example 2.24.1).
  15. * The minor version increases when new API or ABI is added, or when
  16. other significant changes are made. Newer minor versions are
  17. backwards-compatible, but not fully forwards-compatible.
  18. For example, programs built against SDL 2.24.x should work fine
  19. with SDL 2.26.x, but programs built against SDL 2.26.x will not
  20. necessarily work with 2.24.x.
  21. * If the minor version (second part) is not divisible by 2
  22. (for example 2.23.x, 2.25.x), this indicates a development prerelease
  23. of SDL that is not suitable for stable software distributions.
  24. Use with caution.
  25. * The patchlevel or micro version (third part) increases with
  26. each prerelease.
  27. * Each prerelease might add new API and/or ABI.
  28. * Prereleases are backwards-compatible with older stable branches.
  29. For example, 2.25.x will be backwards-compatible with 2.24.x.
  30. * Prereleases are not guaranteed to be backwards-compatible with
  31. each other. For example, new API or ABI added in 2.25.1
  32. might be removed or changed in 2.25.2.
  33. If this would be a problem for you, please do not use prereleases.
  34. * Only upgrade to a prerelease if you can guarantee that you will
  35. promptly upgrade to the stable release that follows it.
  36. For example, do not upgrade to 2.23.x unless you will be able to
  37. upgrade to 2.24.0 when it becomes available.
  38. * Software distributions that have a freeze policy (in particular Linux
  39. distributions with a release cycle, such as Debian and Fedora)
  40. should usually only package stable releases, and not prereleases.
  41. ## Before 2.23.0
  42. Older versions of SDL followed a similar policy, but instead of the
  43. odd/even rule applying to the minor version, it applied to the patchlevel
  44. (micro version, third part). For example, 2.0.22 was a stable release
  45. and 2.0.21 was a prerelease.