NEWS for Ruby 3.0.0

This document is a list of user visible feature changes since the2.7.0 release, except for bug fixes.

Note that each entry is kept to a minimum, see links for details.

Language changes

Command line options

--help option

When the environment variableRUBY_PAGER orPAGER is present and has a non-empty value, and the standard input and output are tty, the--help option shows the help message via the pager designated by the value. [Feature #16754]

--backtrace-limit option

The--backtrace-limit option limits the maximum length of a backtrace. [Feature #8661]

Core classes updates

Outstanding ones only.

Stdlib updates

Outstanding ones only.

Compatibility issues

Excluding feature bug fixes.

Stdlib compatibility issues

C API updates

Implementation improvements

JIT

Static analysis

RBS

TypeProf

# test.rbdeffoo(x)ifx>10x.to_selsenilendendfoo(42)
$ typeprof test.rb# Classesclass Object  def foo : (Integer) -> String?end

Miscellaneous changes