Releases: ruby/rbs
Releases Β· ruby/rbs
3.4.3
3.4.2
3.4.1
3.4.0
3.4.0.pre.1
Signature updates
- Changes in ruby-3.3 (#1684, #1674)
- Embedded docs update (#1689, #1676)
- delegate (#1677)
MatchData
(#1651)String
(#1672, #1641)Struct
(#1621)Warning
categories (#1576)ConditionVariable#wait
(#1670)Date.parse
(#1653)IO#gets
(#1620)Kernel.Pathname
(#1681)Resolv::DNS::Resource::Generic.create
(#1655)Thread#raise
(#1668)- Builtin types (#1680, #1644)
Library changes
- Add more details error message for
UnresolvedOverloadingError
(#1688) - Add
with_***
helpers (#1687) - Fix lexer (#1685)
- Support
Delegator
object (#1682) - Should raise
ParsingError
instead of NoMethodError (#1675) - Implement multiple validate (#1648)
- Add
RBS::UnitTest
modules (#1660) - Not cached as it may be replaced (#1656)
- Should raise
ParsingError
instead of ArgumentError (#1652) - Added
WithEnum#but
andwith_range
(#1649) - Bugfix;
.respond_to
is no longer used inRbs::Test::Errors#inspect_
(#1650) - Add
--detail
option to rbs diff (#1623) - Fix parse error when quoted required keywords (#1627)
rbs collection
- Fix order for collection sources (#1659)
- [collection] Ignore directory starting with
_
as version from git source (#1657)
Miscellaneous
3.3.2
3.3.1
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)