Feature #15456

Adopt some kind of consistent versioning mechanism

Added by ioquatix (Samuel Williams) about 2 years ago. Updated almost 2 years ago.

Target version:


After the discussion I feel like we would benefit from some consistent versioning mechanism across all of Ruby.

So far, I feel the majority of Ruby uses some form of semantic versioning.

For the sanity of all Ruby users, I think it would be a good policy to adopt this across core Ruby and standard gems.

There are some previous discussions around this:

So, the questions are as follows:

  • Can we adopt Semantic Versioning (or as much of it as possible) across Ruby?
  • Would such a change help users of Ruby?
  • Is there existing documentation about how version number works?
  • How does it deviate from Semantic Versioning?
  • Is this deviation important and worth the additional complexity for our users?

As an aside:

  • How do other implementations advertise compatibility with Ruby?
  • JRuby and RBX have totally different version numbers that are difficult to understand w.r.t. compatibility with mainline CRuby.

My main concern is how difficult this is for everyone to keep track of and also the implied assumptions (e.g. breaking change if and only if major versions bump). If different parts of Ruby use different versioning scheme, it is hard for our users to define dependencies which don't cause broken software.

Also available in: Atom PDF