Releases: ruby/rbs
Releases Β· ruby/rbs
3.2.2
3.2.1
3.2.0
3.2.0.pre.1
Signature updates
- observable (#1424)
- uri (#1371)
- zlib (#1389)
IO
(#1399)::DATA
(#1395)$DEBUG
(#1427)ConditionVariable#wait
(#1397)Kernel::exit!
(#1396)Kernel#exec
(#1368)Kernel#p
,Kernel#pp
(#1342)Logger.new
(#1423)Module
(#1321)Object#define_singleton_method
(#1431)Object#enum_for
(#1327)StringIO#truncate
(#1425)Thread#raise
(#1426)Time#round
,Time#floor
,Time#ceil
(#1337)- Remove
TRUE
,FALSE
, andNIL
constants (#1432) - Updated builtin.rbs's interfaces (#1429)
- Convert
| nil
to?
in global_variables.rbs (#1430) - Remove references to the transient heap (#1374)
Library changes
- subtract: Remove RBS file if the subtracted definition is empty (#1385)
- subtract: Filter redundant access modifiers (#1384)
- Fix module alias normalizations (#1393)
- Reduce memory allocation on TypeName#initialize (#1363)
- Fix a type error in FileFinder (#1326)
- Add signatures about DetailedMessage (#1323)
- Make TypeNameResolver more compatible with Ruby (#1373)
- Drop support of Ruby 2.x (#1364)
- Print detailed_message on parse command (#1329)
- Relax rdoc version requirement (#1333)
- Support keyword argument to #detailed_message (#1328)
rbs prototype
- Avoid to generate anonymous or internal module (#1421)
- Fix type name for prototype rbi (#1386)
- Support type params for known signatures (#1408)
- Super class should be absolute paths. (#1415)
- prototype rb: Fix a crash by "include foo" (#1419)
- Add
--outline
option toprototype runtime
to skip generating method definition (#1404) - [rbs prototype] Follow up ivar/cvar feature (#1361)
- prototype rb: Extract instance variables and class variables (#1343)
rbs collection
- Print warning when specified gem not found (#1367)
- Generate gem specific sources in lockfile (#1402)
- Spec may be missing when
rbs_collection.yaml
declares dependency (#1378)
Miscellaneous
- Remove ruby-lsp && bundle update --bundler (#1420)
- Delete all remaining set-related descriptions. (#1324)
- Add customized test runner to accept minitest options (#1392)
- Specify
rbs
syntax to code snippets in Markdown files (#1366) - Fix typo in parser.rbs (#1352)
- Fix broken CI (#1353)
- Handle connection error with Resolv_test.rb (#1356)
- Removed Prime signature and tests (#1355)
3.1.3
3.1.2
Library changes
3.1.1
3.1.0
Signature updates
Module#attr_*
methods (#1300)Object#define_singleton_method
(#1299)String#scan
(#1297)- Removed
Gem.datadir
(#1273)
Language updates
Library changes
- Use fenced code block instead of indented one in .rbs files (#1312)
- Fix single use clause
:type_name
location (#1307) - Fix
InvalidOverloadMethodError
on overloading extended method (#1294) - Fix super class of
NoTypeFoundError
fromBaseError
toDefinitionError
(#1290) - Support
#detailed_message
forNonregularTypeAliasError
,CyclicTypeParameterBound
,InconsistentClassModuleAliasError
andCyclicClassAliasDefinitionError
(#1289) - Implement
rbs subtract
command (#1287) - Support
#detailed_message
forInvalidVarianceAnnotationError
,RecursiveAliasDefinitionError
,MixinClassError
andRecursiveTypeAliasError
(#1285) - Support
#detailed_message
forNoTypeError
,InheritModuleError
,NoSelfTypeFoundError
andNoMixinFoundError
(#1280) - Validate duplicate type aliases (#1279)
- Add
-e
,--type
, and--method-type
options torbs parse
(#1252)
rbs prototype
- Convert
include
inclass << self
toextend
byprototype rb
(#1255)
rbs collection
- Skip loading
#gemspec
gems via RBS collection (#1319)