Skip to content

Releases: ruby/rbs

3.6.0

30 Sep 08:22
421333e
Compare
Choose a tag to compare

Release note

Nothing changed since 3.6.0.pre.3.

3.6.0.pre.3

30 Sep 07:57
9eea0e7
Compare
Choose a tag to compare
3.6.0.pre.3 Pre-release
Pre-release

Release note

Signature updates

  • JSON.load_file, .load_file! (#2031)
  • Module#class_eval, Module#module_eval (#2029)
  • Open3 (#2014)
  • RubyVM::InstructionSequence (#2027)
  • Fixup RBS type definitions with rbs-on-rubocop (#2023)
  • Avoid using instance/class types in modules (#2020)

Language updates

  • Optional type param restriction (#2030)
  • Prohibit self type as a generics default (#2022)
  • Allow self types in generics default type (#2021)

Library changes

  • Add TypeParamDefaultReferenceError#type_param (#2032)

3.6.0.pre.2

18 Sep 07:22
42920d6
Compare
Choose a tag to compare
3.6.0.pre.2 Pre-release
Pre-release

Release note

Signature updates

Miscellaneous

  • Fix type definition and type errors (#2016)

3.6.0.pre.1

17 Sep 07:37
902ff7b
Compare
Choose a tag to compare
3.6.0.pre.1 Pre-release
Pre-release

Release note

Signature updates

Language updates

  • Fix position for default_type (#1997)
  • Update syntax.md (#1995)
  • Improve generics (#1994)
  • Allow alias to module-self-type from module (#1948)
  • Make it a syntax error when the keys of keyword and record are duplicated. (#1883)

Library changes

  • Omit unnecessary field from location range (#1788)
  • Handle ISEQs compiled by Prism (#1983)
  • Add AST Visitor (#1975)
  • Make the extension GC.auto_compact compatible (#1971)
  • Make FileFinder faster by globbing all possible files (#1965)
  • Fix #1905: Fix typo in UntypedFunction (#1906)

rbs prototype

  • [prototype] Remove redundant access modifier (#1914)

Miscellaneous

  • Allow RBS/Style/InitializeReturnType (#2008)
  • docs: An interface can include interfaces only and not modules (#1996)
  • Fix the portability of an external command (#2001)
  • Skip AbstractSyntaxTree test with ruby-3.4 (#2005)
  • Fix test (#1972)
  • Use File.open instead of IO.sysopen (#1912)

3.6.0.dev.1

06 Sep 06:56
Compare
Choose a tag to compare
3.6.0.dev.1 Pre-release
Pre-release

3.5.3

23 Aug 01:29
Compare
Choose a tag to compare

Release note

Library changes

  • Backport GC fix PR (#1977)

3.5.2

10 Jul 08:53
Compare
Choose a tag to compare

Release note

Library changes

  • Update docs for ruby-3.3.4 (#1923, Backported in #1925)
  • Update docs for ruby-3.3.3 (#1889, Backported in #1925)
  • Fix #1905: Fix typo in UntypedFunction (#1906, Backported in #1925)

Miscellaneous

  • Use File.open instead of IO.sysopen (#1913)

3.5.1

07 Jun 03:40
Compare
Choose a tag to compare

Release note

Library changes

  • Add explicit dependency on the logger gem (#1865)
  • Make c99, c23 compatible (#1870)

Miscellaneous

  • Don't try to sign git commits when running tests (#1867)

3.5.0

06 Jun 06:29
Compare
Choose a tag to compare

Release note

Signature updates

Language updates

  • Fix proc type syntax (#1807)
  • Function types with untyped parameter (#1806)
  • Fix record type (#1732)
  • parser: enable record types with optional fields (#1717)

Library changes

  • Drop dependency on abbrev (#1866)
  • Fix source display (#1832)
  • Include trivia tokens to lex result (#1831)
  • Implement token list API (#1829)
  • Fix memory leak when ParsingError (#1830)
  • [rbs diff] Fix error when empty manifest.yaml (#1762)
  • Remove deprecated API since RBS v1 (#1805)
  • Use array instead of linked list for rbs location's child (#1786)
  • Fix SEGV with parse negative position (#1790)
  • Add location for attribute (#1787)
  • Always be private (#1774)
  • Prevent resource leak with type/method-type parser when reaching EOF. (#1742)
  • Allow loading RBS from different version of a gem (#1731)
  • Fix method name tag on assertion (#1705)
  • Improve interface check by method parameters (#1698)

rbs prototype

  • Fix prototype for ruby-3.4 (#1760)
  • Fix 3.4 prototype rb failure (#1713)
  • Add Numeric Node's check for parse rbs (#1711)

rbs collection

  • Fix RBS loading precedence (#1720)
  • Refactor Git source by using git? method (#1701)

Miscellaneous

  • Introduce RaaP for testing of signature (#1810)
  • Revise .gemspec to remove Gemfile and Gemfile.lock (#1856)
  • Add link to gem_rbs_collection to README (#1827)
  • Remove Gemfile.lock from the gem package (#1823)
  • Modify template to use TestHelper (#1776)
  • Should focus on String.new not String#initialize. (#1789)
  • Make the test suite compatible with --enable-frozen-string-literal (#1767)
  • Stop reusing fd (#1752)
  • Fix test failures on Ruby 3.4 (#1734)
  • Stop trace object allocations during test (#1724)
  • Fix head test fails (#1719)

3.5.0.pre.2

23 Apr 07:56
Compare
Choose a tag to compare
3.5.0.pre.2 Pre-release
Pre-release