Releases: ruby/rbs
Releases Β· ruby/rbs
3.1.3
3.1.2
Library changes
3.1.1
3.1.0
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_namelocation (#1307) - Fix
InvalidOverloadMethodErroron overloading extended method (#1294) - Fix super class of
NoTypeFoundErrorfromBaseErrortoDefinitionError(#1290) - Support
#detailed_messageforNonregularTypeAliasError,CyclicTypeParameterBound,InconsistentClassModuleAliasErrorandCyclicClassAliasDefinitionError(#1289) - Implement
rbs subtractcommand (#1287) - Support
#detailed_messageforInvalidVarianceAnnotationError,RecursiveAliasDefinitionError,MixinClassErrorandRecursiveTypeAliasError(#1285) - Support
#detailed_messageforNoTypeError,InheritModuleError,NoSelfTypeFoundErrorandNoMixinFoundError(#1280) - Validate duplicate type aliases (#1279)
- Add
-e,--type, and--method-typeoptions torbs parse(#1252)
rbs prototype
- Convert
includeinclass << selftoextendbyprototype rb(#1255)
rbs collection
- Skip loading
#gemspecgems via RBS collection (#1319)
Miscellaneous
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
Signature updates
- Ruby 3.2 core updates (#1238, #1246, #1242)
- Ruby 3.2 stdlib updates (#1240)
- Ruby 3.2 incompatibilities (#1241)
- ripper (#1193)
RubyVM::AbstractSyntaxTree(#1189)Array#zip(#1232)Enumerable#zip(#1232)Module#attr_*(#1218, #1229)Regexp.new(#1237)Regexp#=~(#1195)Socket.new(#1185)Object::name(#1204)_ToProc#to_proc(#1223)- Add
implicitly-returns-nilannotations (#1226)
Language updates
Class/module alias declaration
- Spec: https://hackmd.io/SAE7AGD6SMSJFnYiR2M5-Q?view
- Pull requests: #1219, #1220
use directives
- Spec: https://hackmd.io/pQehT1u1RfSj6lBcdgW8hg
- Pull requests: #1224, #1234, #1235
Per-overload annotations
- Pull requests: #1174
Library changes
Environmentcleanup (#1209, #1236, #1247)- Add "Expected one argument." to
rbs ancestorscommand (#1245) - Implement
#detailed_messageforParsingError(#1166) - Support interface in class/module for
Sorter(#1191) - Use
-std=gnu99instead of-std=c99(#973) - Add
rbs_prefix toskipfunction (#1186) - Better method definition resolution for overload/mixin combination (#1199)
- Escaping for keywords is no longer necessary (#1178)
- Fix super-class location (#1172)
rbs prototype
- Introduce new heuristics for block types (#1180)
rbs collection
- Install only library dependencies (#1222, #1228)
- Add local source (#854)
- Refactor collection (#1149)
- Let
#resolved_revisionreturn the last fetched commit (#1215)