Releases: ruby/rbs
Releases Β· ruby/rbs
3.5.0
Signature updates
net-http
headers (#1750)CSV.foreach
(#1738)Enumerator#initialize
(#1801)Float#divmod
,Rational#divmod
(#1868)GC
(#1530)Integer#pow
(#1706)Kernel.rand
(#1783)Kernel#extend
(#1769)Module#include
,Module#prepend
(#1769)Proc#parameters
(#1819)Range#step
(#1709)Regexp.union
(#1809)RubyVM::YJIT.enable
(#1812)RubyVM::YJIT
,RubyVM::RJIT
(#1746)String#bytesplice
(#1793)String#gsub!
(#1768)Symbol#=~
(#1704)Time#initialize
(#1771)Time#zone
(#1770)Timeout::ExitException
(#1803)URI::MailTo
(#1858)- Update docs (#1811, #1699)
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
Miscellaneous
- Introduce RaaP for testing of signature (#1810)
- Revise .gemspec to remove
Gemfile
andGemfile.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
notString#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
3.5.0.pre.1
3.4.4
3.4.3
3.4.2
3.4.1
3.4.0
3.4.0.pre.1
Signature updates
- Changes in ruby-3.3 (#1684, #1674)
- Embedded docs update (#1689, #1676)
- delegate (#1677)
MatchData
(#1651)String
(#1672, #1641)Struct
(#1621)Warning
categories (#1576)ConditionVariable#wait
(#1670)Date.parse
(#1653)IO#gets
(#1620)Kernel.Pathname
(#1681)Resolv::DNS::Resource::Generic.create
(#1655)Thread#raise
(#1668)- Builtin types (#1680, #1644)
Library changes
- Add more details error message for
UnresolvedOverloadingError
(#1688) - Add
with_***
helpers (#1687) - Fix lexer (#1685)
- Support
Delegator
object (#1682) - Should raise
ParsingError
instead of NoMethodError (#1675) - Implement multiple validate (#1648)
- Add
RBS::UnitTest
modules (#1660) - Not cached as it may be replaced (#1656)
- Should raise
ParsingError
instead of ArgumentError (#1652) - Added
WithEnum#but
andwith_range
(#1649) - Bugfix;
.respond_to
is no longer used inRbs::Test::Errors#inspect_
(#1650) - Add
--detail
option to rbs diff (#1623) - Fix parse error when quoted required keywords (#1627)
rbs collection
- Fix order for collection sources (#1659)
- [collection] Ignore directory starting with
_
as version from git source (#1657)