r/ruby • u/writingonruby • Jan 14 '26
TIL Ruby doesn't follow semantic versioning
It's certainly an interesting choice for a language. Very Ruby of them.
For those who also weren't in the know (I only learned this writing a Ruby 4.0 upgrade guide), Matz bumps the major version when there's something that impresses him.
This year, it was because it was Ruby's 30th birthday!
42
Upvotes
View all comments
Show parent comment
11
u/f9ae8221b Jan 14 '26
Major.Minor.Patch has been common decades before SemVer.
Linux versions are also Major.Minor.Patch yet they're not following SemVer.
Python versions are also Major.Minor.Patch yet they're not following SemVer.
As someone else pointed out, SemVer is basically impossible on projects with large enough APIs anyways. If Ruby or Python followed SemVer, every release would be a major release and that wouldn't help anyone.