Skip to content

Release Note 3.8

Soutaro Matsumoto edited this page Dec 24, 2024 · 2 revisions

RBS 3.8 is a maintenance release for Ruby 3.4. It ships with type definition updates for Ruby 3.4.

  • Deprecate Kernel#Namespace and Kernel#TypeName (#2123)

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

gem 'rbs', '~> 3.8.0'

Read the CHANGELOG for the details.

Deprecate Kernel#Namespace and Kernel#TypeName

Deprecated utility method Kernel#Namespace to avoid potential method name conflict with the new namespace feature, that might be provided in the future version of Ruby.

This PR also deprecated Kernel#TypeName.

You can use RBS::Namespace.parse and RBS::TypeName.parse to convert a String into RBS::Namespace and RBS::TypeName respectively.

Clone this wiki locally