Ruby 4.0 was released on Christmas Day as part of Ruby’s 30th-anniversary milestone, introducing Ruby Box, the ZJIT compiler, a reworked Ractor API and other improvements.
Ruby 4.0 was released on Christmas Day as Ruby marked its 30th anniversary in December 2025. The version number is described as partly celebratory, rather than signaling a wave of breaking syntax changes.
The release includes Ruby Box, a new just-in-time compiler called ZJIT, a reworked Ractor API and a broad set of quality-of-life improvements for Ruby developers.