Skip to content

2.6.0

Compare
Choose a tag to compare
@soutaro soutaro released this 22 Jun 07:25
· 2496 commits to master since this release

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

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