Releases: ruby/rbs
Releases Β· ruby/rbs
3.3.0
3.3.0.pre.2
Signature updates
Library changes
rbs prototype
3.3.0.pre.1
Signature updates
- json (#1575)
- net-protocol (#1559)
- pp (#1545)
- psych (#1527)
BasicObject
(#1506)ConditionVariable
(#1468)Encoding
(#1510)Exception
(#1529)FalseClass
(#1478, #1487)Fiber
(#1463)FileTest
(#1500)Kernel
(#1567, #1518, #1504, #1487)Marshal
(#1524)Math
(#1533)Mutex
(#1468)NilClass
(#1478, #1487)Object
(#1504)Queue
(#1468)RbConfig
(#1534)Signal
(#1512)SizedQueue
(#1468)ThreadGroup
(#1509)TrueClass
(#1478, #1487)Warning
(#1477)Enumerator.produce
(#1516)Module.define_method
(#1557)URI.join
(#1580)YAML.unsafe_load
(#1528)builtin.rbs
(#1455, #1469)constants.rbs
(#1531)::interned
(#1499, #1488)
Language updates
- Add
__todo__
type (#1520)
Library changes
- Colored diff (#1589)
- Fix the issue where ::array[T] would be interpreted as ::array, and type mismatch (#1491)
- Add
Abbrev
to runtime dependency (#1573) - Avoid an error when parsing files including SyntaxError (#1574)
- Implement rbs diff command (#1459)
- Add another type syntax validation (#1566)
- Mark global variables (#1551)
- Show location of type by method command (#1537)
- Make alias and interface names absolute (#1502)
- Better record type format (#1501)
- Should keep escape of alias and attr family (#1486)
- Fix error when undefined interface or alias (#1465)
rbs prototype
- [prototype runtime --todo] Consider accessibility mismatch (#1539)
- Better support for inherited class of
Struct
orData
by prototype runtime (#1571) - prototype rb: Ignore ITER (method call with block) (#1562)
- [prototype runtime] Add --autoload option (#1561)
- Implement todo option (#1470)
- [prototype runtime] Fix error when constant is a BasicObject instance. (#1485)
- [prototype runtime] Const name should be absolute (#1490)
- [prototype runtime] Optimize performance (#1495)
- [prototype runtime] Fix error when output Object constants (#1472)
- [prototype runtime] Support prepend mixin (#1460)
- [prototype runtime] Avoid alias for methods defined in another module (#1457)
rbs collection
- [Collection] Simple colorize collection text like Bundler (#1558)
- Delete
sources
section from lockfile (#1544)
Miscellaneous
- Add in with_XXX methods (#1492)
- Updated binding to use modern kernel tests (#1507)
- Remove all non-required methods from testing types (#1541)
- Add
assert_type
assertion to confirm if the value has a type (#1532) - Add
#assert_const_type
and guide to use type assertions (#1514) - Improve skip test message (#1476)
- Type check (#1467)
- Type check RDoc related Ruby code (#1466)
- Fix CI failure (#1464)
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)