Releases: ruby/rbs
Releases Β· ruby/rbs
2.7.0
2.7.0.pre.3
2.7.0.pre.2
2.7.0.pre.1
Signature updates
- fiber (#1071)
BigDecimal(#1053)ERB::Util,ERB::DefMethod(#1074)Float::Infinity(#1095)Logger(#1046)IO.pipe,IO.foreach(#1057)Module#refine(#1064)Regexp.new(#1059)StringIO#write(#1065)Warning.#warn,Kernel.#warn(#1056)
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
-roption also (#1013) - Fix DefinitionBuilder for methods aliased from module self constraints (#1099)
- Fix RBS type definitions (#1098)
- Give aliases of
.newmethods correct type (#1097) nilversions are discouraged and will be deprecated in Rubygems 4 (#1091)- Fixes towards Rubygems 4.0 (#1090)
- Remove redundant
addforRepository.default(#1062) - Refactor: Use Repository in stdlib source (#1063)
- Move
bin/sortimplementation to underlib/(#1051)
rbs prototype
Miscellaneous
2.6.0
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
- etc (#1006)
- minitest (#1009)
- date (#1033)
ENV.ARGF,Random::Base(#1041)Hash#dig(#1011)Hash#reject(#1016)Kernel?.fail(#1026, #1028)Rational#*(#1012)Regexp.new(#1040)
Library changes
- Add
visibilitycolumns 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