Skip to content

Release Note 3.10

Soutaro Matsumoto edited this page Dec 23, 2025 · 1 revision

Some of the highlights in RBS 3.10 are:

  • Pure C parser implementation
  • Signature updates for Ruby 4.0

You can install it with $ gem install rbs or using Bundler.

gem 'rbs', '~> 3.10.0'

Read the CHANGELOG for the details.

Pure C parser implementation

The new parser implementation was announced at RubyKaigi 2025 and is finally shipped as a RubyGem!

The new parser is faster than the one in 3.9 and is portable — it is independent of the Ruby runtime and is used to implement Sorbet’s RBS support.

Type definition of bundled gems

The type definitions of cgi have been moved to gem_rbs_collection, as it has been migrated to a bundled gem in Ruby 4.0

cgi-escape has been added to stdlib. You may need to declare a dependency on cgi-escape in your manifest.yaml, add -r cgi-escape to your command line, or update your type checker configuration.

dependencies:
  - name: cgi-escape

The type definitions for pathname have also been moved from stdlib to core, as it is now implemented as part of the core library.

Clone this wiki locally