How do version numbers work for MRI Ruby?

后端 未结 2 1434
庸人自扰
庸人自扰 2020-12-17 04:48

A recent question, \"What happened with Ruby 1.9.2?\", made me wonder about version numbers for MRI Ruby mean.

The scheme MRI Ruby uses differs from that of semver.o

2条回答
  •  伪装坚强ぢ
    2020-12-17 05:22

    They have changed to quasi-semantic versioning starting with Ruby 2.1.0. See https://www.ruby-lang.org/en/news/2013/12/21/semantic-versioning-after-2-1-0/ for further details, but the version numbers will now have the following meaning:

    MAJOR: increased when incompatible change which can’t be released in MINOR
        Reserved for special events
    MINOR: increased every christmas, may be API incompatible
    TEENY: security or bug fix which maintains API compatibility
        May be increased more than 10 (such as 2.1.11), and will be released every 2-3 months.
    PATCH: number of commits since last MINOR release (will be reset at 0 when releasing MINOR)
    

提交回复
热议问题