-
Notifications
You must be signed in to change notification settings - Fork 217
Release Note 3.7
RBS 3.7 is a maintenance release before Ruby 3.4 and rbs-inline migration. It ships without major enhancement.
-
mutex_m
support
You can install it with $ gem install rbs
or using Bundler.
gem 'rbs', '~> 3.7.0'
Read the CHANGELOG for the details.
mutex_m
has been a default gem since Ruby 2.6 and will be a bundled gem in Ruby 3.4. RBS gem had bundled the type definition of the gem for years, but we decided to deprecate the rbs-gem bundled type definition and migrate to mutex_m-gem bundled type definition. This involves an issue because some types of gems declare RBS dependency in manifest.yaml
.
You may see some warning message like:
`mutex_m` as a stdlib in rbs-gem is deprecated. Add `mutex_m` (>= 0.3.0) to the dependency of your Ruby program to use the gem-bundled type definition.
If you see this message, add gem 'mutex_m', '>= 0.3.0'
to your Gemfile
and delete mutex_m
from the gems:
section in your rbs_collection.yaml
.
If you have manifest.yaml
which declares a dependency to mutex_m
, remove the dependency from dependencies:
section. You may also need to add mutex_m
to your .gemspec
to declare Ruby dependency.