Skip to content

Releases: ruby/rbs

2.7.0

07 Oct 01:10
Compare
Choose a tag to compare

Release note

Signature updates

2.7.0.pre.3

07 Oct 01:09
Compare
Choose a tag to compare
2.7.0.pre.3 Pre-release
Pre-release

Release note

Signature updates

2.7.0.pre.2

07 Oct 01:08
Compare
Choose a tag to compare
2.7.0.pre.2 Pre-release
Pre-release

Release note

Signature updates

Library changes

  • Always skip CR explicitly (#1112)

Miscellaneous

  • Use append_cflags for other than GCC (#1106)

2.7.0.pre.1

02 Sep 06:55
Compare
Choose a tag to compare
2.7.0.pre.1 Pre-release
Pre-release

Release note

Signature updates

Language updates

Library changes

  • RDoc plugin (#1048)
  • Dedupe method comments (#1103)
  • Reduce object allocations for GC (#1102)
  • Add frozen_string_literal: true (#1100)
  • Load dependencies on -r option also (#1013)
  • Fix DefinitionBuilder for methods aliased from module self constraints (#1099)
  • Fix RBS type definitions (#1098)
  • Give aliases of .new methods correct type (#1097)
  • nil versions are discouraged and will be deprecated in Rubygems 4 (#1091)
  • Fixes towards Rubygems 4.0 (#1090)
  • Remove redundant add for Repository.default (#1062)
  • Refactor: Use Repository in stdlib source (#1063)
  • Move bin/sort implementation to under lib/ (#1051)

rbs prototype

  • Fix some error on prototype runtime (#1055)
  • Skip existing RBS files from batch prototype (#1060)

Miscellaneous

  • Discard outputs from test code (#1093)
  • Skip testing visibility methods with Ruby 3.2 (#1082)

2.6.0

22 Jun 07:25
Compare
Choose a tag to compare

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