Compability with Ruby 3.3 #2889
-
Hi guys, From the README, I can see that this gem is compatible with Ruby 3.3. But from the GitHub Actions CI, I only see that the gem is being tested on Ruby 2.7, 3.0, 3.1, and 3.2, not 3.3. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The README jumped the gun a bit. :) We do not currently expect any problems with Ruby 3.3 compatibility (and in fact, I use Ruby 3.3 as my primary Ruby version when working on the driver), but we are still in process of adding Ruby 3.3 to our testing matrix. The canonical place where we document compatibility with different Ruby versions is here: https://www.mongodb.com/docs/ruby-driver/current/reference/driver-compatibility/#ruby-compatibility . Once we're fully ready to announce Ruby 3.3 compatibility, we'll update that matrix accordingly. So, loosely, yes, the gem is compatible with Ruby 3.3, but without any continuous test against that version, we can't confidently say that it's safe for use in production with Ruby 3.3. I expect we'll have that rectified in the near future. |
Beta Was this translation helpful? Give feedback.
-
@tientt-holistics FYI we also have RUBY-3510 open at the moment for this work, so if you watch that ticket in JIRA once it's actioned we'll have 3.3 enabled in our matrices. |
Beta Was this translation helpful? Give feedback.
-
Awesome, thank you guys for your answers. |
Beta Was this translation helpful? Give feedback.
The README jumped the gun a bit. :) We do not currently expect any problems with Ruby 3.3 compatibility (and in fact, I use Ruby 3.3 as my primary Ruby version when working on the driver), but we are still in process of adding Ruby 3.3 to our testing matrix.
The canonical place where we document compatibility with different Ruby versions is here: https://www.mongodb.com/docs/ruby-driver/current/reference/driver-compatibility/#ruby-compatibility . Once we're fully ready to announce Ruby 3.3 compatibility, we'll update that matrix accordingly.
So, loosely, yes, the gem is compatible with Ruby 3.3, but without any continuous test against that version, we can't confidently say that it's safe …