Skip to content

Releases: ruby/rbs

3.2.2

28 Sep 01:38
Compare
Choose a tag to compare

Release note

Library changes

3.2.1

29 Aug 06:00
Compare
Choose a tag to compare

Release note

Signature updates

Library changes

  • Fix error when undefined interface or alias (Backport #1465)

Miscellaneous

  • Improve skip test message (Backport #1476)
  • Fix CI failure (Backport #1464)

3.2.0

22 Aug 08:48
Compare
Choose a tag to compare

Release note

Signature updates

Library changes

rbs collection

  • Fix LockfileGenerator crashes if failed to get deps for locked source (#1413)

3.2.0.pre.1

18 Aug 06:17
Compare
Choose a tag to compare
3.2.0.pre.1 Pre-release
Pre-release

Release note

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, and NIL 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 to prototype 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)

3.1.3

31 Jul 02:14
Compare
Choose a tag to compare

Release note

Library changes

rbs collection

  • Generate gem specific sources in lockfile (Backport #1402)

3.1.2

27 Jul 08:16
Compare
Choose a tag to compare

Release note

⚠️ Note that this patch level release may report additional validation errors that is caused by fix of type name resolution (#1373).

Library changes

  • Make TypeNameResolver more compatible with Ruby (#1373)
  • Fix module alias normalizations (#1393)

3.1.1

18 Jul 14:01
Compare
Choose a tag to compare

Release note

Signature updates

  • Removed GC.verify_transient_heap_internal_consistency (#1374)

Library changes

  • Relax rdoc version requirement in RDoc plugin (#1333)

rbs collection

  • Spec may be missing when rbs_collection.yaml declares dependency (#1378)

Miscellaneous

  • Handle connection error with Resolv_test.rb (#1356)
  • Fix broken CI (#1353)

3.1.0

26 Apr 06:45
Compare
Choose a tag to compare

Release note

Signature updates

  • Module#attr_* methods (#1300)
  • Object#define_singleton_method (#1299)
  • String#scan (#1297)
  • Removed Gem.datadir (#1273)

Language updates

Library changes

  • Use fenced code block instead of indented one in .rbs files (#1312)
  • Fix single use clause :type_name location (#1307)
  • Fix InvalidOverloadMethodError on overloading extended method (#1294)
  • Fix super class of NoTypeFoundError from BaseError to DefinitionError (#1290)
  • Support #detailed_message for NonregularTypeAliasError, CyclicTypeParameterBound, InconsistentClassModuleAliasError and CyclicClassAliasDefinitionError (#1289)
  • Implement rbs subtract command (#1287)
  • Support #detailed_message for InvalidVarianceAnnotationError, RecursiveAliasDefinitionError, MixinClassError and RecursiveTypeAliasError (#1285)
  • Support #detailed_message for NoTypeError, InheritModuleError, NoSelfTypeFoundError and NoMixinFoundError (#1280)
  • Validate duplicate type aliases (#1279)
  • Add -e, --type, and --method-type options to rbs parse (#1252)

rbs prototype

  • Convert include in class << self to extend by prototype rb (#1255)

rbs collection

  • Skip loading #gemspec gems via RBS collection (#1319)

Miscellaneous

  • Run bundle install automatically in bin/steep (#1308)
  • Fix warnings (#1314)

3.0.4

13 Mar 01:22
Compare
Choose a tag to compare

Release note

Library changes

  • Add missing implementation to support class/module alias (#1271)

3.0.3

07 Mar 00:48
Compare
Choose a tag to compare

Release note

Library changes

  • Fix DefinitionBuilder (#1268)

rbs collection

  • Skip dependencies not included in Gemfile.lock (#1266)

Miscellaneous