grape icon indicating copy to clipboard operation
grape copied to clipboard

Required ruby version ?

Open ericproulx opened this issue 3 years ago • 2 comments

Hello,

Simple question, since Ruby 3.1 is out, is it worth keeping 2.5 as the minimal required_ruby_version ?

I could add a PR adding 3.1 and dropping 2.5.

Thanks

ericproulx avatar Jan 03 '22 20:01 ericproulx

If there's a good reason, sure. Otherwise unless it's difficult or annoying to preserve compatibility with Ruby 2.5, and if we don't want to take advantage of some feature in 2.5+, I would leave it, we don't try to be too aggressive in upgrading in general.

dblock avatar Jan 03 '22 20:01 dblock

We still use 2.7 and don't plan to upgrade to 3.1, unfortunately, it is slower than 2.7, see more there https://www.reddit.com/r/ruby/comments/royv5z/benchmarking_ruby_25_to_31_and_yjit/

dnesteryuk avatar Jan 03 '22 21:01 dnesteryuk