-
Notifications
You must be signed in to change notification settings - Fork 227
Release Note 3.10
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.
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.
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-escapeThe type definitions for pathname have also been moved from stdlib to core, as it is now implemented as part of the core library.