RBS 2.6 ships with rbs prototype
commands improvements and signature updates.
New minitest RBS definitions will help you to type check your tests.
Signature updates
- etc (#1006)
- minitest (#1009)
- date (#1033)
ENV
.ARGF
,Random::Base
(#1041)Hash#dig
(#1011)Hash#reject
(#1016)Kernel?.fail
(#1026, #1028)Rational#*
(#1012)Regexp.new
(#1040)
Library changes
- Add
visibility
columns in {AttrReader,AttrAccessor,AttrWriter}#to_json (#1014) - Add support for RSpec's verifying doubles in test setup helper (#1015)
- Fix lexer to analyze escape characters (#1043)
rbs prototype
- [rb] Support the case where the return value is
self
(#1003) - [rb] Lean to the optional side (#1021)
- [rb] Fix method commenting (#1027)
- [runtime] Fix decls of output from
Prototype::Runtime
(#1030) - [runtime] Fix class name resolution of prototype runtime (#1032)
- [rbi] Improve
Prototype::RBI
(#1018)
Miscellaneous
- Fix typo in
CONTRIBUTING.md
(#1004) - Use manifest.yaml instead of manually for validate task (#1010)
- Update re2c (#1017)
- Type check
Prototype::RB
(#1019) - Minor cleanup & fix (#1020)
- Fix type errors (#1023)
- Clarify GHA step name for rake annotate (#1024)
- Silence parser warning (#1039)
- Fix warnings (#1035