rbs 4.1.0.pre.2-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (574) hide show
  1. checksums.yaml +7 -0
  2. data/.clang-format +75 -0
  3. data/.clangd +2 -0
  4. data/.github/dependabot.yml +24 -0
  5. data/.github/workflows/bundle-update.yml +63 -0
  6. data/.github/workflows/c-check.yml +61 -0
  7. data/.github/workflows/comments.yml +37 -0
  8. data/.github/workflows/dependabot.yml +30 -0
  9. data/.github/workflows/jruby.yml +67 -0
  10. data/.github/workflows/milestone.yml +83 -0
  11. data/.github/workflows/ruby.yml +158 -0
  12. data/.github/workflows/rust.yml +184 -0
  13. data/.github/workflows/truffleruby.yml +54 -0
  14. data/.github/workflows/typecheck.yml +39 -0
  15. data/.github/workflows/wasm.yml +53 -0
  16. data/.github/workflows/windows.yml +49 -0
  17. data/.gitignore +38 -0
  18. data/.rubocop.yml +72 -0
  19. data/BSDL +22 -0
  20. data/CHANGELOG.md +2292 -0
  21. data/COPYING +56 -0
  22. data/README.md +240 -0
  23. data/Rakefile +869 -0
  24. data/Steepfile +53 -0
  25. data/config.yml +913 -0
  26. data/core/array.rbs +4142 -0
  27. data/core/basic_object.rbs +376 -0
  28. data/core/binding.rbs +148 -0
  29. data/core/builtin.rbs +278 -0
  30. data/core/class.rbs +223 -0
  31. data/core/comparable.rbs +192 -0
  32. data/core/complex.rbs +812 -0
  33. data/core/constants.rbs +96 -0
  34. data/core/data.rbs +415 -0
  35. data/core/dir.rbs +993 -0
  36. data/core/encoding.rbs +1368 -0
  37. data/core/enumerable.rbs +2506 -0
  38. data/core/enumerator/arithmetic_sequence.rbs +70 -0
  39. data/core/enumerator/product.rbs +92 -0
  40. data/core/enumerator.rbs +705 -0
  41. data/core/env.rbs +6 -0
  42. data/core/errno.rbs +682 -0
  43. data/core/errors.rbs +789 -0
  44. data/core/exception.rbs +485 -0
  45. data/core/false_class.rbs +82 -0
  46. data/core/fiber.rbs +570 -0
  47. data/core/fiber_error.rbs +11 -0
  48. data/core/file.rbs +2045 -0
  49. data/core/file_constants.rbs +463 -0
  50. data/core/file_stat.rbs +534 -0
  51. data/core/file_test.rbs +331 -0
  52. data/core/float.rbs +1316 -0
  53. data/core/gc.rbs +788 -0
  54. data/core/global_variables.rbs +184 -0
  55. data/core/hash.rbs +2183 -0
  56. data/core/integer.rbs +1374 -0
  57. data/core/io/buffer.rbs +995 -0
  58. data/core/io/wait.rbs +48 -0
  59. data/core/io.rbs +3472 -0
  60. data/core/kernel.rbs +3172 -0
  61. data/core/marshal.rbs +207 -0
  62. data/core/match_data.rbs +637 -0
  63. data/core/math.rbs +770 -0
  64. data/core/method.rbs +422 -0
  65. data/core/module.rbs +1856 -0
  66. data/core/nil_class.rbs +210 -0
  67. data/core/numeric.rbs +832 -0
  68. data/core/object.rbs +108 -0
  69. data/core/object_space/weak_key_map.rbs +166 -0
  70. data/core/object_space.rbs +197 -0
  71. data/core/pathname.rbs +1322 -0
  72. data/core/proc.rbs +905 -0
  73. data/core/process.rbs +2316 -0
  74. data/core/ractor.rbs +924 -0
  75. data/core/random.rbs +255 -0
  76. data/core/range.rbs +1209 -0
  77. data/core/rational.rbs +502 -0
  78. data/core/rb_config.rbs +88 -0
  79. data/core/rbs/ops.rbs +154 -0
  80. data/core/rbs/unnamed/argf.rbs +1236 -0
  81. data/core/rbs/unnamed/env_class.rbs +1214 -0
  82. data/core/rbs/unnamed/main_class.rbs +123 -0
  83. data/core/rbs/unnamed/random.rbs +186 -0
  84. data/core/refinement.rbs +59 -0
  85. data/core/regexp.rbs +1974 -0
  86. data/core/ruby.rbs +53 -0
  87. data/core/ruby_vm.rbs +809 -0
  88. data/core/rubygems/basic_specification.rbs +6 -0
  89. data/core/rubygems/config_file.rbs +38 -0
  90. data/core/rubygems/dependency_installer.rbs +6 -0
  91. data/core/rubygems/errors.rbs +109 -0
  92. data/core/rubygems/installer.rbs +15 -0
  93. data/core/rubygems/path_support.rbs +6 -0
  94. data/core/rubygems/platform.rbs +7 -0
  95. data/core/rubygems/request_set.rbs +49 -0
  96. data/core/rubygems/requirement.rbs +148 -0
  97. data/core/rubygems/rubygems.rbs +1105 -0
  98. data/core/rubygems/source_list.rbs +15 -0
  99. data/core/rubygems/specification.rbs +23 -0
  100. data/core/rubygems/stream_ui.rbs +5 -0
  101. data/core/rubygems/uninstaller.rbs +10 -0
  102. data/core/rubygems/version.rbs +293 -0
  103. data/core/set.rbs +751 -0
  104. data/core/signal.rbs +110 -0
  105. data/core/string.rbs +5532 -0
  106. data/core/struct.rbs +668 -0
  107. data/core/symbol.rbs +482 -0
  108. data/core/thread.rbs +1826 -0
  109. data/core/thread_group.rbs +79 -0
  110. data/core/time.rbs +1793 -0
  111. data/core/trace_point.rbs +483 -0
  112. data/core/true_class.rbs +98 -0
  113. data/core/unbound_method.rbs +337 -0
  114. data/core/warning.rbs +87 -0
  115. data/docs/CONTRIBUTING.md +107 -0
  116. data/docs/aliases.md +79 -0
  117. data/docs/architecture.md +110 -0
  118. data/docs/collection.md +192 -0
  119. data/docs/config.md +171 -0
  120. data/docs/data_and_struct.md +86 -0
  121. data/docs/encoding.md +56 -0
  122. data/docs/gem.md +56 -0
  123. data/docs/inline.md +634 -0
  124. data/docs/rbs_by_example.md +309 -0
  125. data/docs/repo.md +125 -0
  126. data/docs/rust.md +96 -0
  127. data/docs/sigs.md +167 -0
  128. data/docs/stdlib.md +147 -0
  129. data/docs/syntax.md +940 -0
  130. data/docs/tools.md +17 -0
  131. data/docs/type_fingerprint.md +21 -0
  132. data/docs/wasm_serialization.md +80 -0
  133. data/exe/rbs +7 -0
  134. data/ext/rbs_extension/ast_translation.c +1855 -0
  135. data/ext/rbs_extension/ast_translation.h +41 -0
  136. data/ext/rbs_extension/class_constants.c +187 -0
  137. data/ext/rbs_extension/class_constants.h +104 -0
  138. data/ext/rbs_extension/compat.h +10 -0
  139. data/ext/rbs_extension/extconf.rb +40 -0
  140. data/ext/rbs_extension/legacy_location.c +294 -0
  141. data/ext/rbs_extension/legacy_location.h +82 -0
  142. data/ext/rbs_extension/main.c +613 -0
  143. data/ext/rbs_extension/rbs_extension.h +16 -0
  144. data/ext/rbs_extension/rbs_string_bridging.c +9 -0
  145. data/ext/rbs_extension/rbs_string_bridging.h +24 -0
  146. data/goodcheck.yml +91 -0
  147. data/include/rbs/ast.h +1047 -0
  148. data/include/rbs/defines.h +99 -0
  149. data/include/rbs/lexer.h +207 -0
  150. data/include/rbs/location.h +40 -0
  151. data/include/rbs/parser.h +153 -0
  152. data/include/rbs/serialize.h +39 -0
  153. data/include/rbs/string.h +47 -0
  154. data/include/rbs/util/rbs_allocator.h +59 -0
  155. data/include/rbs/util/rbs_assert.h +20 -0
  156. data/include/rbs/util/rbs_buffer.h +83 -0
  157. data/include/rbs/util/rbs_constant_pool.h +155 -0
  158. data/include/rbs/util/rbs_encoding.h +282 -0
  159. data/include/rbs/util/rbs_unescape.h +24 -0
  160. data/include/rbs.h +14 -0
  161. data/lib/rbs/ancestor_graph.rb +92 -0
  162. data/lib/rbs/annotate/annotations.rb +199 -0
  163. data/lib/rbs/annotate/formatter.rb +82 -0
  164. data/lib/rbs/annotate/rdoc_annotator.rb +398 -0
  165. data/lib/rbs/annotate/rdoc_source.rb +131 -0
  166. data/lib/rbs/annotate.rb +8 -0
  167. data/lib/rbs/ast/annotation.rb +29 -0
  168. data/lib/rbs/ast/comment.rb +29 -0
  169. data/lib/rbs/ast/declarations.rb +472 -0
  170. data/lib/rbs/ast/directives.rb +49 -0
  171. data/lib/rbs/ast/members.rb +451 -0
  172. data/lib/rbs/ast/ruby/annotations.rb +451 -0
  173. data/lib/rbs/ast/ruby/comment_block.rb +247 -0
  174. data/lib/rbs/ast/ruby/declarations.rb +291 -0
  175. data/lib/rbs/ast/ruby/helpers/constant_helper.rb +28 -0
  176. data/lib/rbs/ast/ruby/helpers/location_helper.rb +15 -0
  177. data/lib/rbs/ast/ruby/members.rb +762 -0
  178. data/lib/rbs/ast/type_param.rb +235 -0
  179. data/lib/rbs/ast/visitor.rb +137 -0
  180. data/lib/rbs/buffer.rb +189 -0
  181. data/lib/rbs/builtin_names.rb +58 -0
  182. data/lib/rbs/cli/colored_io.rb +48 -0
  183. data/lib/rbs/cli/diff.rb +84 -0
  184. data/lib/rbs/cli/validate.rb +294 -0
  185. data/lib/rbs/cli.rb +1253 -0
  186. data/lib/rbs/collection/cleaner.rb +38 -0
  187. data/lib/rbs/collection/config/lockfile.rb +92 -0
  188. data/lib/rbs/collection/config/lockfile_generator.rb +269 -0
  189. data/lib/rbs/collection/config.rb +81 -0
  190. data/lib/rbs/collection/installer.rb +32 -0
  191. data/lib/rbs/collection/sources/base.rb +14 -0
  192. data/lib/rbs/collection/sources/git.rb +265 -0
  193. data/lib/rbs/collection/sources/local.rb +81 -0
  194. data/lib/rbs/collection/sources/rubygems.rb +48 -0
  195. data/lib/rbs/collection/sources/stdlib.rb +50 -0
  196. data/lib/rbs/collection/sources.rb +38 -0
  197. data/lib/rbs/collection.rb +16 -0
  198. data/lib/rbs/constant.rb +28 -0
  199. data/lib/rbs/definition.rb +415 -0
  200. data/lib/rbs/definition_builder/ancestor_builder.rb +678 -0
  201. data/lib/rbs/definition_builder/method_builder.rb +295 -0
  202. data/lib/rbs/definition_builder.rb +1054 -0
  203. data/lib/rbs/diff.rb +131 -0
  204. data/lib/rbs/environment/class_entry.rb +69 -0
  205. data/lib/rbs/environment/module_entry.rb +66 -0
  206. data/lib/rbs/environment/use_map.rb +77 -0
  207. data/lib/rbs/environment.rb +1028 -0
  208. data/lib/rbs/environment_loader.rb +167 -0
  209. data/lib/rbs/environment_walker.rb +155 -0
  210. data/lib/rbs/errors.rb +634 -0
  211. data/lib/rbs/factory.rb +18 -0
  212. data/lib/rbs/file_finder.rb +28 -0
  213. data/lib/rbs/inline_parser/comment_association.rb +117 -0
  214. data/lib/rbs/inline_parser.rb +568 -0
  215. data/lib/rbs/location_aux.rb +170 -0
  216. data/lib/rbs/locator.rb +247 -0
  217. data/lib/rbs/method_type.rb +145 -0
  218. data/lib/rbs/namespace.rb +154 -0
  219. data/lib/rbs/parser/lex_result.rb +15 -0
  220. data/lib/rbs/parser/token.rb +23 -0
  221. data/lib/rbs/parser_aux.rb +142 -0
  222. data/lib/rbs/prototype/helpers.rb +197 -0
  223. data/lib/rbs/prototype/node_usage.rb +99 -0
  224. data/lib/rbs/prototype/rb.rb +816 -0
  225. data/lib/rbs/prototype/rbi.rb +625 -0
  226. data/lib/rbs/prototype/runtime/helpers.rb +59 -0
  227. data/lib/rbs/prototype/runtime/reflection.rb +19 -0
  228. data/lib/rbs/prototype/runtime/value_object_generator.rb +279 -0
  229. data/lib/rbs/prototype/runtime.rb +680 -0
  230. data/lib/rbs/repository.rb +127 -0
  231. data/lib/rbs/resolver/constant_resolver.rb +219 -0
  232. data/lib/rbs/resolver/type_name_resolver.rb +167 -0
  233. data/lib/rbs/rewriter.rb +70 -0
  234. data/lib/rbs/sorter.rb +198 -0
  235. data/lib/rbs/source.rb +99 -0
  236. data/lib/rbs/substitution.rb +83 -0
  237. data/lib/rbs/subtractor.rb +204 -0
  238. data/lib/rbs/test/errors.rb +80 -0
  239. data/lib/rbs/test/guaranteed.rb +30 -0
  240. data/lib/rbs/test/hook.rb +212 -0
  241. data/lib/rbs/test/observer.rb +19 -0
  242. data/lib/rbs/test/setup.rb +84 -0
  243. data/lib/rbs/test/setup_helper.rb +50 -0
  244. data/lib/rbs/test/tester.rb +167 -0
  245. data/lib/rbs/test/type_check.rb +457 -0
  246. data/lib/rbs/test.rb +112 -0
  247. data/lib/rbs/type_alias_dependency.rb +100 -0
  248. data/lib/rbs/type_alias_regularity.rb +126 -0
  249. data/lib/rbs/type_name.rb +122 -0
  250. data/lib/rbs/types.rb +1604 -0
  251. data/lib/rbs/unit_test/convertibles.rb +177 -0
  252. data/lib/rbs/unit_test/spy.rb +138 -0
  253. data/lib/rbs/unit_test/type_assertions.rb +383 -0
  254. data/lib/rbs/unit_test/with_aliases.rb +145 -0
  255. data/lib/rbs/unit_test.rb +6 -0
  256. data/lib/rbs/validator.rb +186 -0
  257. data/lib/rbs/variance_calculator.rb +189 -0
  258. data/lib/rbs/vendorer.rb +71 -0
  259. data/lib/rbs/version.rb +5 -0
  260. data/lib/rbs/wasm/deserializer.rb +213 -0
  261. data/lib/rbs/wasm/jars/asm-analysis.jar +0 -0
  262. data/lib/rbs/wasm/jars/asm-commons.jar +0 -0
  263. data/lib/rbs/wasm/jars/asm-tree.jar +0 -0
  264. data/lib/rbs/wasm/jars/asm-util.jar +0 -0
  265. data/lib/rbs/wasm/jars/asm.jar +0 -0
  266. data/lib/rbs/wasm/jars/compiler.jar +0 -0
  267. data/lib/rbs/wasm/jars/log.jar +0 -0
  268. data/lib/rbs/wasm/jars/runtime.jar +0 -0
  269. data/lib/rbs/wasm/jars/wasi.jar +0 -0
  270. data/lib/rbs/wasm/jars/wasm.jar +0 -0
  271. data/lib/rbs/wasm/location.rb +61 -0
  272. data/lib/rbs/wasm/parser.rb +137 -0
  273. data/lib/rbs/wasm/rbs_parser.wasm +0 -0
  274. data/lib/rbs/wasm/runtime.rb +217 -0
  275. data/lib/rbs/wasm/serialization_schema.rb +110 -0
  276. data/lib/rbs/writer.rb +424 -0
  277. data/lib/rbs.rb +117 -0
  278. data/lib/rdoc/discover.rb +20 -0
  279. data/lib/rdoc_plugin/parser.rb +163 -0
  280. data/rbs.gemspec +68 -0
  281. data/schema/annotation.json +14 -0
  282. data/schema/comment.json +26 -0
  283. data/schema/decls.json +326 -0
  284. data/schema/function.json +87 -0
  285. data/schema/location.json +56 -0
  286. data/schema/members.json +266 -0
  287. data/schema/methodType.json +50 -0
  288. data/schema/typeParam.json +52 -0
  289. data/schema/types.json +317 -0
  290. data/sig/ancestor_builder.rbs +163 -0
  291. data/sig/ancestor_graph.rbs +60 -0
  292. data/sig/annotate/annotations.rbs +102 -0
  293. data/sig/annotate/formatter.rbs +24 -0
  294. data/sig/annotate/rdoc_annotater.rbs +85 -0
  295. data/sig/annotate/rdoc_source.rbs +32 -0
  296. data/sig/annotation.rbs +27 -0
  297. data/sig/ast/ruby/annotations.rbs +470 -0
  298. data/sig/ast/ruby/comment_block.rbs +127 -0
  299. data/sig/ast/ruby/declarations.rbs +158 -0
  300. data/sig/ast/ruby/helpers/constant_helper.rbs +11 -0
  301. data/sig/ast/ruby/helpers/location_helper.rbs +15 -0
  302. data/sig/ast/ruby/members.rbs +198 -0
  303. data/sig/buffer.rbs +108 -0
  304. data/sig/builtin_names.rbs +44 -0
  305. data/sig/cli/colored_io.rbs +15 -0
  306. data/sig/cli/diff.rbs +15 -0
  307. data/sig/cli/validate.rbs +47 -0
  308. data/sig/cli.rbs +89 -0
  309. data/sig/collection/cleaner.rbs +13 -0
  310. data/sig/collection/config/lockfile.rbs +74 -0
  311. data/sig/collection/config/lockfile_generator.rbs +68 -0
  312. data/sig/collection/config.rbs +46 -0
  313. data/sig/collection/installer.rbs +17 -0
  314. data/sig/collection/sources.rbs +214 -0
  315. data/sig/collection.rbs +4 -0
  316. data/sig/comment.rbs +26 -0
  317. data/sig/constant.rbs +21 -0
  318. data/sig/declarations.rbs +274 -0
  319. data/sig/definition.rbs +232 -0
  320. data/sig/definition_builder.rbs +181 -0
  321. data/sig/diff.rbs +28 -0
  322. data/sig/directives.rbs +77 -0
  323. data/sig/environment/class_entry.rbs +50 -0
  324. data/sig/environment/module_entry.rbs +50 -0
  325. data/sig/environment.rbs +286 -0
  326. data/sig/environment_loader.rbs +111 -0
  327. data/sig/environment_walker.rbs +65 -0
  328. data/sig/errors.rbs +408 -0
  329. data/sig/factory.rbs +5 -0
  330. data/sig/file_finder.rbs +28 -0
  331. data/sig/inline_parser/comment_association.rbs +71 -0
  332. data/sig/inline_parser.rbs +126 -0
  333. data/sig/location.rbs +135 -0
  334. data/sig/locator.rbs +56 -0
  335. data/sig/manifest.yaml +5 -0
  336. data/sig/members.rbs +258 -0
  337. data/sig/method_builder.rbs +89 -0
  338. data/sig/method_types.rbs +58 -0
  339. data/sig/namespace.rbs +161 -0
  340. data/sig/parser.rbs +164 -0
  341. data/sig/prototype/helpers.rbs +29 -0
  342. data/sig/prototype/node_usage.rbs +20 -0
  343. data/sig/prototype/rb.rbs +96 -0
  344. data/sig/prototype/rbi.rbs +75 -0
  345. data/sig/prototype/runtime.rbs +182 -0
  346. data/sig/rbs.rbs +21 -0
  347. data/sig/rdoc/rbs.rbs +67 -0
  348. data/sig/repository.rbs +85 -0
  349. data/sig/resolver/constant_resolver.rbs +92 -0
  350. data/sig/resolver/context.rbs +34 -0
  351. data/sig/resolver/type_name_resolver.rbs +61 -0
  352. data/sig/rewriter.rbs +45 -0
  353. data/sig/shims/bundler.rbs +38 -0
  354. data/sig/shims/enumerable.rbs +5 -0
  355. data/sig/shims/rubygems.rbs +19 -0
  356. data/sig/sorter.rbs +41 -0
  357. data/sig/source.rbs +48 -0
  358. data/sig/substitution.rbs +48 -0
  359. data/sig/subtractor.rbs +37 -0
  360. data/sig/test/errors.rbs +52 -0
  361. data/sig/test/guranteed.rbs +9 -0
  362. data/sig/test/type_check.rbs +19 -0
  363. data/sig/test.rbs +82 -0
  364. data/sig/type_alias_dependency.rbs +53 -0
  365. data/sig/type_alias_regularity.rbs +98 -0
  366. data/sig/type_param.rbs +115 -0
  367. data/sig/typename.rbs +89 -0
  368. data/sig/types.rbs +578 -0
  369. data/sig/unit_test/convertibles.rbs +154 -0
  370. data/sig/unit_test/spy.rbs +22 -0
  371. data/sig/unit_test/type_assertions.rbs +211 -0
  372. data/sig/unit_test/with_aliases.rbs +136 -0
  373. data/sig/use_map.rbs +35 -0
  374. data/sig/util.rbs +9 -0
  375. data/sig/validator.rbs +63 -0
  376. data/sig/variance_calculator.rbs +87 -0
  377. data/sig/vendorer.rbs +51 -0
  378. data/sig/version.rbs +3 -0
  379. data/sig/visitor.rbs +47 -0
  380. data/sig/wasm/deserializer.rbs +66 -0
  381. data/sig/wasm/serialization_schema.rbs +13 -0
  382. data/sig/writer.rbs +127 -0
  383. data/src/ast.c +1628 -0
  384. data/src/lexer.c +3217 -0
  385. data/src/lexer.re +155 -0
  386. data/src/lexstate.c +217 -0
  387. data/src/location.c +31 -0
  388. data/src/parser.c +4255 -0
  389. data/src/serialize.c +958 -0
  390. data/src/string.c +41 -0
  391. data/src/util/rbs_allocator.c +162 -0
  392. data/src/util/rbs_assert.c +19 -0
  393. data/src/util/rbs_buffer.c +54 -0
  394. data/src/util/rbs_constant_pool.c +268 -0
  395. data/src/util/rbs_encoding.c +21308 -0
  396. data/src/util/rbs_unescape.c +167 -0
  397. data/stdlib/abbrev/0/abbrev.rbs +66 -0
  398. data/stdlib/abbrev/0/array.rbs +26 -0
  399. data/stdlib/base64/0/base64.rbs +355 -0
  400. data/stdlib/benchmark/0/benchmark.rbs +452 -0
  401. data/stdlib/bigdecimal/0/big_decimal.rbs +1647 -0
  402. data/stdlib/bigdecimal-math/0/big_math.rbs +280 -0
  403. data/stdlib/bigdecimal-math/0/manifest.yaml +2 -0
  404. data/stdlib/cgi/0/core.rbs +911 -0
  405. data/stdlib/cgi/0/manifest.yaml +4 -0
  406. data/stdlib/cgi-escape/0/escape.rbs +171 -0
  407. data/stdlib/coverage/0/coverage.rbs +266 -0
  408. data/stdlib/csv/0/csv.rbs +3776 -0
  409. data/stdlib/csv/0/manifest.yaml +3 -0
  410. data/stdlib/date/0/date.rbs +1598 -0
  411. data/stdlib/date/0/date_time.rbs +617 -0
  412. data/stdlib/date/0/time.rbs +26 -0
  413. data/stdlib/dbm/0/dbm.rbs +421 -0
  414. data/stdlib/delegate/0/delegator.rbs +187 -0
  415. data/stdlib/delegate/0/kernel.rbs +47 -0
  416. data/stdlib/delegate/0/simple_delegator.rbs +96 -0
  417. data/stdlib/did_you_mean/0/did_you_mean.rbs +344 -0
  418. data/stdlib/digest/0/digest.rbs +687 -0
  419. data/stdlib/erb/0/erb.rbs +933 -0
  420. data/stdlib/etc/0/etc.rbs +884 -0
  421. data/stdlib/fileutils/0/fileutils.rbs +1753 -0
  422. data/stdlib/find/0/find.rbs +49 -0
  423. data/stdlib/forwardable/0/forwardable.rbs +271 -0
  424. data/stdlib/io-console/0/io-console.rbs +414 -0
  425. data/stdlib/ipaddr/0/ipaddr.rbs +436 -0
  426. data/stdlib/json/0/json.rbs +1963 -0
  427. data/stdlib/kconv/0/kconv.rbs +166 -0
  428. data/stdlib/logger/0/formatter.rbs +45 -0
  429. data/stdlib/logger/0/log_device.rbs +100 -0
  430. data/stdlib/logger/0/logger.rbs +796 -0
  431. data/stdlib/logger/0/manifest.yaml +2 -0
  432. data/stdlib/logger/0/period.rbs +17 -0
  433. data/stdlib/logger/0/severity.rbs +34 -0
  434. data/stdlib/minitest/0/kernel.rbs +42 -0
  435. data/stdlib/minitest/0/minitest/abstract_reporter.rbs +52 -0
  436. data/stdlib/minitest/0/minitest/assertion.rbs +17 -0
  437. data/stdlib/minitest/0/minitest/assertions.rbs +590 -0
  438. data/stdlib/minitest/0/minitest/backtrace_filter.rbs +23 -0
  439. data/stdlib/minitest/0/minitest/bench_spec.rbs +102 -0
  440. data/stdlib/minitest/0/minitest/benchmark.rbs +259 -0
  441. data/stdlib/minitest/0/minitest/composite_reporter.rbs +25 -0
  442. data/stdlib/minitest/0/minitest/compress.rbs +13 -0
  443. data/stdlib/minitest/0/minitest/error_on_warning.rbs +3 -0
  444. data/stdlib/minitest/0/minitest/expectation.rbs +2 -0
  445. data/stdlib/minitest/0/minitest/expectations.rbs +21 -0
  446. data/stdlib/minitest/0/minitest/guard.rbs +64 -0
  447. data/stdlib/minitest/0/minitest/mock.rbs +64 -0
  448. data/stdlib/minitest/0/minitest/parallel/executor.rbs +46 -0
  449. data/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +5 -0
  450. data/stdlib/minitest/0/minitest/parallel/test.rbs +3 -0
  451. data/stdlib/minitest/0/minitest/parallel.rbs +2 -0
  452. data/stdlib/minitest/0/minitest/pride_io.rbs +62 -0
  453. data/stdlib/minitest/0/minitest/pride_lol.rbs +19 -0
  454. data/stdlib/minitest/0/minitest/progress_reporter.rbs +11 -0
  455. data/stdlib/minitest/0/minitest/reportable.rbs +53 -0
  456. data/stdlib/minitest/0/minitest/reporter.rbs +5 -0
  457. data/stdlib/minitest/0/minitest/result.rbs +28 -0
  458. data/stdlib/minitest/0/minitest/runnable.rbs +163 -0
  459. data/stdlib/minitest/0/minitest/skip.rbs +6 -0
  460. data/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +48 -0
  461. data/stdlib/minitest/0/minitest/spec/dsl.rbs +129 -0
  462. data/stdlib/minitest/0/minitest/spec.rbs +11 -0
  463. data/stdlib/minitest/0/minitest/statistics_reporter.rbs +81 -0
  464. data/stdlib/minitest/0/minitest/summary_reporter.rbs +18 -0
  465. data/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +92 -0
  466. data/stdlib/minitest/0/minitest/test.rbs +69 -0
  467. data/stdlib/minitest/0/minitest/unexpected_error.rbs +12 -0
  468. data/stdlib/minitest/0/minitest/unexpected_warning.rbs +6 -0
  469. data/stdlib/minitest/0/minitest/unit/test_case.rbs +3 -0
  470. data/stdlib/minitest/0/minitest/unit.rbs +4 -0
  471. data/stdlib/minitest/0/minitest.rbs +115 -0
  472. data/stdlib/monitor/0/monitor.rbs +363 -0
  473. data/stdlib/mutex_m/0/mutex_m.rbs +104 -0
  474. data/stdlib/net-http/0/manifest.yaml +3 -0
  475. data/stdlib/net-http/0/net-http.rbs +5580 -0
  476. data/stdlib/net-protocol/0/manifest.yaml +2 -0
  477. data/stdlib/net-protocol/0/net-protocol.rbs +56 -0
  478. data/stdlib/net-smtp/0/manifest.yaml +2 -0
  479. data/stdlib/net-smtp/0/net-smtp.rbs +55 -0
  480. data/stdlib/nkf/0/nkf.rbs +402 -0
  481. data/stdlib/objspace/0/objspace.rbs +470 -0
  482. data/stdlib/observable/0/observable.rbs +217 -0
  483. data/stdlib/open-uri/0/manifest.yaml +4 -0
  484. data/stdlib/open-uri/0/open-uri.rbs +433 -0
  485. data/stdlib/open3/0/open3.rbs +606 -0
  486. data/stdlib/openssl/0/manifest.yaml +3 -0
  487. data/stdlib/openssl/0/openssl.rbs +12231 -0
  488. data/stdlib/optparse/0/optparse.rbs +1734 -0
  489. data/stdlib/pathname/0/pathname.rbs +36 -0
  490. data/stdlib/pp/0/manifest.yaml +2 -0
  491. data/stdlib/pp/0/pp.rbs +301 -0
  492. data/stdlib/prettyprint/0/prettyprint.rbs +383 -0
  493. data/stdlib/pstore/0/pstore.rbs +608 -0
  494. data/stdlib/psych/0/core_ext.rbs +12 -0
  495. data/stdlib/psych/0/dbm.rbs +237 -0
  496. data/stdlib/psych/0/manifest.yaml +3 -0
  497. data/stdlib/psych/0/psych.rbs +455 -0
  498. data/stdlib/psych/0/store.rbs +57 -0
  499. data/stdlib/pty/0/pty.rbs +240 -0
  500. data/stdlib/random-formatter/0/random-formatter.rbs +277 -0
  501. data/stdlib/rdoc/0/code_object.rbs +52 -0
  502. data/stdlib/rdoc/0/comment.rbs +61 -0
  503. data/stdlib/rdoc/0/context.rbs +153 -0
  504. data/stdlib/rdoc/0/markup.rbs +117 -0
  505. data/stdlib/rdoc/0/options.rbs +76 -0
  506. data/stdlib/rdoc/0/parser.rbs +56 -0
  507. data/stdlib/rdoc/0/rdoc.rbs +393 -0
  508. data/stdlib/rdoc/0/ri.rbs +17 -0
  509. data/stdlib/rdoc/0/store.rbs +48 -0
  510. data/stdlib/rdoc/0/top_level.rbs +97 -0
  511. data/stdlib/resolv/0/manifest.yaml +3 -0
  512. data/stdlib/resolv/0/resolv.rbs +1787 -0
  513. data/stdlib/ripper/0/ripper.rbs +1654 -0
  514. data/stdlib/securerandom/0/manifest.yaml +2 -0
  515. data/stdlib/securerandom/0/securerandom.rbs +49 -0
  516. data/stdlib/shellwords/0/shellwords.rbs +229 -0
  517. data/stdlib/singleton/0/singleton.rbs +134 -0
  518. data/stdlib/socket/0/addrinfo.rbs +666 -0
  519. data/stdlib/socket/0/basic_socket.rbs +590 -0
  520. data/stdlib/socket/0/constants.rbs +2295 -0
  521. data/stdlib/socket/0/ip_socket.rbs +94 -0
  522. data/stdlib/socket/0/socket.rbs +4170 -0
  523. data/stdlib/socket/0/socket_error.rbs +5 -0
  524. data/stdlib/socket/0/tcp_server.rbs +192 -0
  525. data/stdlib/socket/0/tcp_socket.rbs +87 -0
  526. data/stdlib/socket/0/udp_socket.rbs +133 -0
  527. data/stdlib/socket/0/unix_server.rbs +169 -0
  528. data/stdlib/socket/0/unix_socket.rbs +172 -0
  529. data/stdlib/stringio/0/stringio.rbs +1681 -0
  530. data/stdlib/strscan/0/string_scanner.rbs +1648 -0
  531. data/stdlib/tempfile/0/tempfile.rbs +483 -0
  532. data/stdlib/time/0/time.rbs +434 -0
  533. data/stdlib/timeout/0/timeout.rbs +137 -0
  534. data/stdlib/tmpdir/0/tmpdir.rbs +69 -0
  535. data/stdlib/tsort/0/cyclic.rbs +8 -0
  536. data/stdlib/tsort/0/interfaces.rbs +20 -0
  537. data/stdlib/tsort/0/tsort.rbs +410 -0
  538. data/stdlib/uri/0/common.rbs +621 -0
  539. data/stdlib/uri/0/file.rbs +118 -0
  540. data/stdlib/uri/0/ftp.rbs +13 -0
  541. data/stdlib/uri/0/generic.rbs +1116 -0
  542. data/stdlib/uri/0/http.rbs +104 -0
  543. data/stdlib/uri/0/https.rbs +14 -0
  544. data/stdlib/uri/0/ldap.rbs +230 -0
  545. data/stdlib/uri/0/ldaps.rbs +14 -0
  546. data/stdlib/uri/0/mailto.rbs +92 -0
  547. data/stdlib/uri/0/rfc2396_parser.rbs +189 -0
  548. data/stdlib/uri/0/rfc3986_parser.rbs +2 -0
  549. data/stdlib/uri/0/ws.rbs +13 -0
  550. data/stdlib/uri/0/wss.rbs +9 -0
  551. data/stdlib/yaml/0/manifest.yaml +2 -0
  552. data/stdlib/yaml/0/yaml.rbs +1 -0
  553. data/stdlib/zlib/0/buf_error.rbs +10 -0
  554. data/stdlib/zlib/0/data_error.rbs +10 -0
  555. data/stdlib/zlib/0/deflate.rbs +211 -0
  556. data/stdlib/zlib/0/error.rbs +20 -0
  557. data/stdlib/zlib/0/gzip_file/crc_error.rbs +12 -0
  558. data/stdlib/zlib/0/gzip_file/error.rbs +23 -0
  559. data/stdlib/zlib/0/gzip_file/length_error.rbs +12 -0
  560. data/stdlib/zlib/0/gzip_file/no_footer.rbs +11 -0
  561. data/stdlib/zlib/0/gzip_file.rbs +156 -0
  562. data/stdlib/zlib/0/gzip_reader.rbs +293 -0
  563. data/stdlib/zlib/0/gzip_writer.rbs +168 -0
  564. data/stdlib/zlib/0/inflate.rbs +180 -0
  565. data/stdlib/zlib/0/mem_error.rbs +10 -0
  566. data/stdlib/zlib/0/need_dict.rbs +13 -0
  567. data/stdlib/zlib/0/stream_end.rbs +11 -0
  568. data/stdlib/zlib/0/stream_error.rbs +11 -0
  569. data/stdlib/zlib/0/version_error.rbs +11 -0
  570. data/stdlib/zlib/0/zlib.rbs +449 -0
  571. data/stdlib/zlib/0/zstream.rbs +201 -0
  572. data/wasm/README.md +59 -0
  573. data/wasm/rbs_wasm.c +411 -0
  574. metadata +660 -0
data/CHANGELOG.md ADDED
@@ -0,0 +1,2292 @@
1
+ # CHANGELOG
2
+
3
+ ## 4.0.2 (2026-03-25)
4
+
5
+ ### Library changes
6
+
7
+ #### rbs collection
8
+
9
+ * Fix: pathname not written to lockfile. ([#2889](https://github.com/ruby/rbs/pull/2889))
10
+
11
+ ### Miscellaneous
12
+
13
+ * Fix test failure on Windows in `ruby/ruby` ([#2900](https://github.com/ruby/rbs/pull/2900))
14
+ * Fix test for Ruby 4.1 ([#2899](https://github.com/ruby/rbs/pull/2899))
15
+
16
+ ## 4.0.1 (2026-03-23)
17
+
18
+ This is a minor release to fix Ruby CI failure, which was caused by symlinks included in the `rust` directory.
19
+
20
+ ### Library changes
21
+
22
+ * Fix `() -> (void)` being rejected as SyntaxError ([#2884](https://github.com/ruby/rbs/pull/2884))
23
+
24
+ ### Miscellaneous
25
+
26
+ * Drop crates ([#2887](https://github.com/ruby/rbs/pull/2887))
27
+ * Add newline at eof ([#2885](https://github.com/ruby/rbs/pull/2885))
28
+
29
+ ## 4.0.0 (2026-03-16)
30
+
31
+ RBS 4.0 ships with experimental RBS inline syntax support, allowing you to write type annotations directly in Ruby source files. See [docs/inline.md](docs/inline.md) for the syntax details.
32
+
33
+ ```ruby
34
+ class Calculator
35
+ # @rbs (Integer, Integer) -> Integer
36
+ def add(a, b) = a + b
37
+ end
38
+ ```
39
+
40
+ Note: RBS inline is still experimental and may change in future releases.
41
+
42
+ This release also introduces two language changes: type argument support for singleton types (`singleton(T)[S]`) mainly for Sorbet integration, and generic type parameter lower bounds (`T < S`).
43
+
44
+ ### Signature updates
45
+
46
+ **Updated classes/modules/methods:** `Addrinfo`, `Array`, `BasicObject`, `BigDecimal`, `Binding`, `CGI`, `Comparable`, `Complex`, `Digest::SHA2`, `Encoding::Converter`, `Enumerable`, `Enumerator`, `Enumerator::ArithmeticSequence`, `Enumerator::Lazy`, `Fiber`, `File`, `FileUtils`, `Float`, `Hash`, `IO`, `IO::TimeoutError`, `Integer`, `JSON`, `Kernel`, `Kconv`, `Math`, `Method`, `Minitest`, `Module`, `Numeric`, `ObjectSpace`, `Open3`, `OpenURI`, `OptionParser`, `PStore`, `Pathname`, `Proc`, `Process::Status`, `Psych`, `Ractor`, `Random`, `Random::Formatter`, `Range`, `Rational`, `RBS::Unnamed::TopLevelSelfClass`, `Ripper::Lexer::Elem`, `Ruby`, `RubyVM`, `SecureRandom`, `Set`, `Socket`, `String`, `StringScanner`, `TCPSocket`, `Thread`, `URI`, `URI::Generic`, `Zlib::GzipReader`, `Zlib::GzipWriter`
47
+
48
+ * Remove deprecated types ([#2880](https://github.com/ruby/rbs/pull/2880))
49
+ * Add type `RBS::Unnamed::TopLevelSelfClass` to core ([#2362](https://github.com/ruby/rbs/pull/2362))
50
+ * Graduate bundled gems from Ruby v4.0 ([#2852](https://github.com/ruby/rbs/pull/2852))
51
+ * stdlib: Add missing Psych methods and exception classes ([#2850](https://github.com/ruby/rbs/pull/2850))
52
+ * Add variants with positional argument to `Hash#transform_keys` ([#2848](https://github.com/ruby/rbs/pull/2848))
53
+ * add extra kwarg options for File#initialize and derivatives ([#2798](https://github.com/ruby/rbs/pull/2798))
54
+ * pstore: fixes types, treat it as a collection ([#2806](https://github.com/ruby/rbs/pull/2806))
55
+ * Add signatures for `{Module,Proc}#ruby2_keywords` ([#2805](https://github.com/ruby/rbs/pull/2805))
56
+ * Make Zlib::GzipWriter.new level and strategy parameters optional ([#2810](https://github.com/ruby/rbs/pull/2810))
57
+ * URI.(s) does string coercion ([#2825](https://github.com/ruby/rbs/pull/2825))
58
+ * Fix String#append_as_bytes to accept Integer ([#2817](https://github.com/ruby/rbs/pull/2817))
59
+ * [Comparable] Add in Comparable::_CompareToZero ([#2697](https://github.com/ruby/rbs/pull/2697))
60
+ * [Kernel] Add Kernel.trace_var and Kernel.untrace_var ([#2682](https://github.com/ruby/rbs/pull/2682))
61
+ * Add signature for `Module#method_undefined` ([#2804](https://github.com/ruby/rbs/pull/2804))
62
+ * Fix Zlib::GzipWriter signatures ([#2803](https://github.com/ruby/rbs/pull/2803))
63
+ * GzipWriter#initialize only takes 1 required positional arg ([#2799](https://github.com/ruby/rbs/pull/2799))
64
+ * Fix accessibility of method in Module ([#2802](https://github.com/ruby/rbs/pull/2802))
65
+ * Graduate kconv ([#2794](https://github.com/ruby/rbs/pull/2794))
66
+ * Fix test related to pathname ([#2789](https://github.com/ruby/rbs/pull/2789))
67
+ * Split pathname to core and stdlib ([#2777](https://github.com/ruby/rbs/pull/2777))
68
+ * [Kernel] Narrow `caller_locations` ([#2745](https://github.com/ruby/rbs/pull/2745))
69
+ * Ruby 4.1 changed `source_location` type ([#2784](https://github.com/ruby/rbs/pull/2784))
70
+ * Remove ObjectSpace.count_nodes ([#2779](https://github.com/ruby/rbs/pull/2779))
71
+ * Support selector for `String#strip` family. ([#2775](https://github.com/ruby/rbs/pull/2775))
72
+ * Add `Ruby`, `Array#find`, and `Array#rfind` ([#2767](https://github.com/ruby/rbs/pull/2767))
73
+ * Update minitest ([#2761](https://github.com/ruby/rbs/pull/2761))
74
+ * Support BigDecimal v4 ([#2758](https://github.com/ruby/rbs/pull/2758))
75
+ * Update rdoc and comments ([#2733](https://github.com/ruby/rbs/pull/2733))
76
+ * Update cgi and cgi/escape type definitions ([#2728](https://github.com/ruby/rbs/pull/2728))
77
+ * Update RBS files for Ruby 4 ([#2731](https://github.com/ruby/rbs/pull/2731))
78
+ * Update existing docs ([#2724](https://github.com/ruby/rbs/pull/2724))
79
+ * Remove reference to `JSON.deep_const_get` ([#2701](https://github.com/ruby/rbs/pull/2701))
80
+ * Remove deprecated methods in `JSON` ([#2366](https://github.com/ruby/rbs/pull/2366))
81
+ * Update FileUtils to v1.8.0 ([#2700](https://github.com/ruby/rbs/pull/2700))
82
+ * Avoid overloading where arguments are identical ([#2559](https://github.com/ruby/rbs/pull/2559))
83
+ * Move Pathname to core from stdlib ([#2705](https://github.com/ruby/rbs/pull/2705))
84
+ * Remove undocumented `#nonzero?` ([#2543](https://github.com/ruby/rbs/pull/2543))
85
+ * Add signature for `OptionParser#raise_unknown` ([#2735](https://github.com/ruby/rbs/pull/2735))
86
+ * Add signature for `Open3.popen2` ([#2734](https://github.com/ruby/rbs/pull/2734))
87
+ * Add RFC2396_PARSER to URI module ([#2727](https://github.com/ruby/rbs/pull/2727))
88
+ * Add signature for `Open3.capture3` ([#2714](https://github.com/ruby/rbs/pull/2714))
89
+ * Remove sig for IO#{ready?,nread} ([#2710](https://github.com/ruby/rbs/pull/2710))
90
+ * Accept `nil` state parameter in `to_json` type signatures ([#2691](https://github.com/ruby/rbs/pull/2691))
91
+ * Add type of `Open3.popen3` ([#2699](https://github.com/ruby/rbs/pull/2699))
92
+ * `unsetenv_others` and `close_others` only allows bool. ([#2698](https://github.com/ruby/rbs/pull/2698))
93
+ * Add deprecated annotation to `attr` with bool args ([#2693](https://github.com/ruby/rbs/pull/2693))
94
+ * Update open3 ([#2692](https://github.com/ruby/rbs/pull/2692))
95
+ * Add signature for `SecureRandom.bytes` ([#2690](https://github.com/ruby/rbs/pull/2690))
96
+ * Set %a{deprecated} to deprecated core methods ([#2664](https://github.com/ruby/rbs/pull/2664))
97
+ * Migrate usages of ::_ToPath to use ::path instead ([#2677](https://github.com/ruby/rbs/pull/2677))
98
+ * Add missing signatures for `Random::Formatter` ([#2680](https://github.com/ruby/rbs/pull/2680))
99
+ * Split `Random::Formatter` to core and stdlib ([#2661](https://github.com/ruby/rbs/pull/2661))
100
+ * Skip test cases of developing methods for Pathname ([#2648](https://github.com/ruby/rbs/pull/2648))
101
+ * Add signature `Random.seed` ([#2649](https://github.com/ruby/rbs/pull/2649))
102
+ * Update `string.rbs` to avoid deprecation warning in Steep ([#2655](https://github.com/ruby/rbs/pull/2655))
103
+ * Add sig `IO#pread` and `IO#pwrite` ([#2647](https://github.com/ruby/rbs/pull/2647))
104
+ * Refine signature of `Numeric#step` and add type of `Enumerator::ArithmeticSequence` ([#2600](https://github.com/ruby/rbs/pull/2600))
105
+ * Remove undocumented override methods ([#2622](https://github.com/ruby/rbs/pull/2622))
106
+ * Add docs ([#2625](https://github.com/ruby/rbs/pull/2625))
107
+ * Remove undocumented methods for `imaginary` ([#2620](https://github.com/ruby/rbs/pull/2620))
108
+ * Update securerandom ([#2619](https://github.com/ruby/rbs/pull/2619))
109
+ * Drop undocumented `#eql?` ([#2618](https://github.com/ruby/rbs/pull/2618))
110
+ * Just use `Numeric#+@` and return self ([#2597](https://github.com/ruby/rbs/pull/2597))
111
+ * Drop undocumented `#dup` ([#2598](https://github.com/ruby/rbs/pull/2598))
112
+ * Add signature for `Digest::SHA2` ([#2573](https://github.com/ruby/rbs/pull/2573))
113
+ * Add signatures for `OpenURI` ([#2574](https://github.com/ruby/rbs/pull/2574))
114
+ * Add signature for `IO::TimeoutError` ([#2571](https://github.com/ruby/rbs/pull/2571))
115
+ * Add signatures for `Set` ([#2570](https://github.com/ruby/rbs/pull/2570))
116
+ * Add signature for `Enumerator#+` ([#2567](https://github.com/ruby/rbs/pull/2567))
117
+ * Add signature for `Enumerator::Lazy#eager` ([#2568](https://github.com/ruby/rbs/pull/2568))
118
+ * Add signature for `Fiber#blocking` ([#2566](https://github.com/ruby/rbs/pull/2566))
119
+ * Support BasicObject to avoid NoMethodError for `RBS::Test::TypeCheck` ([#2565](https://github.com/ruby/rbs/pull/2565))
120
+ * Add documentation for `Range#{minmax,count,to_a,entries}` ([#2562](https://github.com/ruby/rbs/pull/2562))
121
+ * Delegate to `Enumerable` from `Range#{min,max}` ([#2540](https://github.com/ruby/rbs/pull/2540))
122
+ * Add URI::Generic#+ ([#2535](https://github.com/ruby/rbs/pull/2535))
123
+ * Make IO.binread, IO.binwrite, IO.read and IO.write accept _ToPath ([#2378](https://github.com/ruby/rbs/pull/2378))
124
+ * Support pattern argument for Enumerable#{all,any,none,one}? ([#2368](https://github.com/ruby/rbs/pull/2368))
125
+ * fixing sig for addrinfo ([#2464](https://github.com/ruby/rbs/pull/2464))
126
+
127
+ ### Language updates
128
+
129
+ * Add type arguments support to singleton types ([#2502](https://github.com/ruby/rbs/pull/2502))
130
+ * Move the note about lower bound ([#2517](https://github.com/ruby/rbs/pull/2517))
131
+ * Add support for lower bounds in type parameters ([#2490](https://github.com/ruby/rbs/pull/2490))
132
+
133
+ ### Library changes
134
+
135
+ * Add `#type_fingerprint` methods ([#2879](https://github.com/ruby/rbs/pull/2879))
136
+ * `top` for membership predicates of collection types ([#2878](https://github.com/ruby/rbs/pull/2878))
137
+ * Add block parameter (`&block`) type declaration ([#2875](https://github.com/ruby/rbs/pull/2875))
138
+ * Add splat (`*a`) and double-splat (`**a`) parameter support ([#2873](https://github.com/ruby/rbs/pull/2873))
139
+ * Add parameter type inline annotation ([#2443](https://github.com/ruby/rbs/pull/2443))
140
+ * Reduce compile warnings ([#2871](https://github.com/ruby/rbs/pull/2871))
141
+ * Specify input range by byte offsets ([#2863](https://github.com/ruby/rbs/pull/2863))
142
+ * add `extern "C"` wrapping to `rbs.h` when using C++ ([#2855](https://github.com/ruby/rbs/pull/2855))
143
+ * Automatically inherits super method type if unannotated ([#2858](https://github.com/ruby/rbs/pull/2858))
144
+ * Add `...` syntax to method type inline annotation syntax ([#2856](https://github.com/ruby/rbs/pull/2856))
145
+ * Fix for string reference corruption issue ([#2836](https://github.com/ruby/rbs/pull/2836))
146
+ * Use unreleased steep for `rake typecheck_test` ([#2842](https://github.com/ruby/rbs/pull/2842))
147
+ * Fix breaking references after GC.compact ([#2822](https://github.com/ruby/rbs/pull/2822))
148
+ * Fix special methods accessibility. ([#2546](https://github.com/ruby/rbs/pull/2546))
149
+ * Fix allocation alignment ([#2788](https://github.com/ruby/rbs/pull/2788))
150
+ * Skip `set` and `pathname` from `manifest.yaml` ([#2773](https://github.com/ruby/rbs/pull/2773))
151
+ * Fix C++ compiler warnings ([#2755](https://github.com/ruby/rbs/pull/2755))
152
+ * Better encoding ([#2675](https://github.com/ruby/rbs/pull/2675))
153
+ * Move `require_eof` handling to C API ([#2678](https://github.com/ruby/rbs/pull/2678))
154
+ * Delete debug print ([#2753](https://github.com/ruby/rbs/pull/2753))
155
+ * Make assertions macro ([#2729](https://github.com/ruby/rbs/pull/2729))
156
+ * Remove deprecated method `Kernel#Namespace`. Also remove `Kernel#TypeName`. ([#2480](https://github.com/ruby/rbs/pull/2480))
157
+ * Update rdoc to 6.13.1 ([#2355](https://github.com/ruby/rbs/pull/2355))
158
+ * Allow `self` for inline `@rbs @ivar: self` ([#2633](https://github.com/ruby/rbs/pull/2633))
159
+ * Normalize modules during type name resolution ([#2670](https://github.com/ruby/rbs/pull/2670))
160
+ * Only load extconf_compile_commands_json when compiling through Rake ([#2498](https://github.com/ruby/rbs/pull/2498))
161
+ * Use `malloc` based allocator ([#2666](https://github.com/ruby/rbs/pull/2666))
162
+ * Add another parser benchmark script ([#2668](https://github.com/ruby/rbs/pull/2668))
163
+ * Reuse empty array and hash ([#2667](https://github.com/ruby/rbs/pull/2667))
164
+ * Faster lexical analyzer ([#2665](https://github.com/ruby/rbs/pull/2665))
165
+ * Introduce `type_fingerprint` ([#2644](https://github.com/ruby/rbs/pull/2644))
166
+ * Add module-class alias declaration ([#2636](https://github.com/ruby/rbs/pull/2636))
167
+ * Inline constant declaration ([#2635](https://github.com/ruby/rbs/pull/2635))
168
+ * `self` type is rejected depending on the context ([#2627](https://github.com/ruby/rbs/pull/2627))
169
+ * Add instance variable declaration annotation ([#2632](https://github.com/ruby/rbs/pull/2632))
170
+ * Module-self allow void once ([#2626](https://github.com/ruby/rbs/pull/2626))
171
+ * Support inheritance in Inline RBS declaration ([#2630](https://github.com/ruby/rbs/pull/2630))
172
+ * Inline attribute/method definitions have comments ([#2624](https://github.com/ruby/rbs/pull/2624))
173
+ * Inline RBS declaration for attributes (`attr_***`) ([#2623](https://github.com/ruby/rbs/pull/2623))
174
+ * Fix bad scaling in `rbs_comment_t` tokens ([#2578](https://github.com/ruby/rbs/pull/2578))
175
+ * Update parser so that `void` type is rejected depending on the context ([#2590](https://github.com/ruby/rbs/pull/2590))
176
+ * Implement mixin in inline RBS declarations ([#2614](https://github.com/ruby/rbs/pull/2614))
177
+ * Validate type args given to non-generic ancestor ([#2615](https://github.com/ruby/rbs/pull/2615))
178
+ * Add name locations to AST ([#2595](https://github.com/ruby/rbs/pull/2595))
179
+ * Move `exit` calls to `exe/rbs` ([#2591](https://github.com/ruby/rbs/pull/2591))
180
+ * Fix locator ([#2588](https://github.com/ruby/rbs/pull/2588))
181
+ * Introduce standalone C parser for RBS with arena allocation ([#2398](https://github.com/ruby/rbs/pull/2398))
182
+ * Fix subtraction of civar ([#2369](https://github.com/ruby/rbs/pull/2369))
183
+ * Buffer with empty string ([#2551](https://github.com/ruby/rbs/pull/2551))
184
+ * Fix unavailable MAP_ANONYMOUS ([#2470](https://github.com/ruby/rbs/pull/2470))
185
+ * Inline minor fix ([#2514](https://github.com/ruby/rbs/pull/2514))
186
+ * Enable `-Wc++-compat` ([#2463](https://github.com/ruby/rbs/pull/2463))
187
+ * Expose a method to parse type parameters ([#2457](https://github.com/ruby/rbs/pull/2457))
188
+ * Expose and fix `Block#location` ([#2456](https://github.com/ruby/rbs/pull/2456))
189
+ * Restore RBS::Environment#declarations for backwards-compatibility ([#2393](https://github.com/ruby/rbs/pull/2393))
190
+ * Implement `@rbs return: T` annotation ([#2406](https://github.com/ruby/rbs/pull/2406))
191
+ * Add `@rbs skip` annotation ([#2405](https://github.com/ruby/rbs/pull/2405))
192
+ * Inline annotations ([#2403](https://github.com/ruby/rbs/pull/2403))
193
+ * Inline `def` support ([#2392](https://github.com/ruby/rbs/pull/2392))
194
+ * Suppress to GCC warning with multi-line comment ([#2383](https://github.com/ruby/rbs/pull/2383))
195
+ * Add inline class/module declaration ([#2390](https://github.com/ruby/rbs/pull/2390))
196
+ * Add `RBS::Source::RBS` ([#2380](https://github.com/ruby/rbs/pull/2380))
197
+
198
+ #### rbs prototype
199
+
200
+ * [prototype runtime] Find redefined methods ([#2542](https://github.com/ruby/rbs/pull/2542))
201
+
202
+ #### rbs collection
203
+
204
+ ### Miscellaneous
205
+
206
+ * bundle update (2026-01-20) ([#2818](https://github.com/ruby/rbs/pull/2818))
207
+ * Ruby 4.0.1 ([#2823](https://github.com/ruby/rbs/pull/2823))
208
+ * [rbs/test] Check type arguments size ([#2809](https://github.com/ruby/rbs/pull/2809))
209
+ * Add tsort to testing dependencies ([#2795](https://github.com/ruby/rbs/pull/2795))
210
+ * Update ruby to 4.0 ([#2776](https://github.com/ruby/rbs/pull/2776))
211
+ * Ruby 4.0.0 preview3 ([#2764](https://github.com/ruby/rbs/pull/2764))
212
+ * Remove test code for bundled gems ([#2760](https://github.com/ruby/rbs/pull/2760))
213
+ * Fix `nil` size `Enumerator` test ([#2749](https://github.com/ruby/rbs/pull/2749))
214
+ * Fix tests for rbs_skip_tests in ruby repo ([#2725](https://github.com/ruby/rbs/pull/2725))
215
+ * Update rdoc to v6.16 ([#2721](https://github.com/ruby/rbs/pull/2721))
216
+ * Run CI with "4.0.0-preview2" ([#2718](https://github.com/ruby/rbs/pull/2718))
217
+ * Minor typo fix ([#2676](https://github.com/ruby/rbs/pull/2676))
218
+ * Add -j option to make ([#2658](https://github.com/ruby/rbs/pull/2658))
219
+ * Allows the use of a path list as RBS_SKIP_TESTS ([#2612](https://github.com/ruby/rbs/pull/2612))
220
+ * Fix clang-format ([#2589](https://github.com/ruby/rbs/pull/2589))
221
+ * Restrict the execution of the valgrind task to when the C code has been modified. ([#2552](https://github.com/ruby/rbs/pull/2552))
222
+ * Set force_ruby_platform for bundler when head ([#2555](https://github.com/ruby/rbs/pull/2555))
223
+ * More skip paths with valgrind ([#2557](https://github.com/ruby/rbs/pull/2557))
224
+ * Run the `Encoding::Converter` test ([#2550](https://github.com/ruby/rbs/pull/2550))
225
+ * Fix CI ([#2527](https://github.com/ruby/rbs/pull/2527))
226
+ * Replace reference with official documentation ([#2453](https://github.com/ruby/rbs/pull/2453))
227
+ * Add clangd integration for improved C extension development ([#2481](https://github.com/ruby/rbs/pull/2481))
228
+ * Setup clang format for C code ([#2437](https://github.com/ruby/rbs/pull/2437))
229
+ * Add `super` calls in `setup` ([#2484](https://github.com/ruby/rbs/pull/2484))
230
+ * Suppress warnings during testing ([#2370](https://github.com/ruby/rbs/pull/2370))
231
+ * Update rubocop-on-rbs and use plugins ([#2345](https://github.com/ruby/rbs/pull/2345))
232
+ * Fix error at Ruby CI ([#2445](https://github.com/ruby/rbs/pull/2445))
233
+ * Use `erb` instead of `set` for load path testing ([#2439](https://github.com/ruby/rbs/pull/2439))
234
+ * Skip loading ruby_memcheck ([#2349](https://github.com/ruby/rbs/pull/2349))
235
+ * Forcibly uninstall gems even if there is a dependency problem. ([#2346](https://github.com/ruby/rbs/pull/2346))
236
+
237
+ ## 3.10.4 (2026-03-25)
238
+
239
+ ### Library changes
240
+
241
+ #### rbs collection
242
+
243
+ * [Backport] [3.10] Fix: pathname not written to lockfile. ([#2896](https://github.com/ruby/rbs/pull/2896))
244
+
245
+ ## 3.10.3 (2026-01-30)
246
+
247
+ This is a minor fix around the dependency to `tsort`.
248
+
249
+ ## Pull Requests
250
+
251
+ * Merge pull request #2601 from ima1zumi/add-tsort-dep ([#2834](https://github.com/ruby/rbs/pull/2834))
252
+
253
+ ## 3.10.2 (2026-01-07)
254
+
255
+ This is a minor fix on arena allocator alignment.
256
+
257
+ ### Pull Requests
258
+
259
+ * Merge pull request #2788 from ruby/fix-alloc-alignment ([#2790](https://github.com/ruby/rbs/pull/2790))
260
+
261
+ ## 3.10.1 (2026-01-07)
262
+
263
+ This is a follow-up release for Ruby 4.0.0 with documentation update based on Ruby 4.0.0, and bugfixes related to set/pathname library loading.
264
+
265
+ ### Pull Requests
266
+
267
+ * Merge pull request #2777 from ksss/pathname-ext ([#2786](https://github.com/ruby/rbs/pull/2786))
268
+ * Ruby 4.0.0 backports ([#2785](https://github.com/ruby/rbs/pull/2785))
269
+ * [Backport] Fix subtraction of civar ([#2783](https://github.com/ruby/rbs/pull/2783))
270
+ * [Backport] Update ruby to 4.0 ([#2778](https://github.com/ruby/rbs/pull/2778))
271
+
272
+ ## 3.10.0 (2025-12-23)
273
+
274
+ RBS 3.10.0 ships with a pure C parser implementation, signature updates for Ruby 4.0, and various bug fixes.
275
+
276
+ ### Pure C parser implementation
277
+
278
+ The new parser implementation was announced at [RubyKaigi 2025](https://rubykaigi.org/2025/presentations/amomchilov.html) and is finally shipped as a RubyGem!
279
+
280
+ The new parser is faster than the one in 3.9 and is portable — it is independent of the Ruby runtime and is used to implement Sorbet’s RBS support.
281
+
282
+ ### Type definition of bundled gems
283
+
284
+ The type definitions of `cgi` have been moved to [gem_rbs_collection](https://github.com/ruby/gem_rbs_collection/tree/main/gems/cgi), as it has been migrated to a bundled gem in Ruby 4.0
285
+
286
+ `cgi-escape` has been added to `stdlib`. You may need to declare a dependency on `cgi-escape` in your `manifest.yaml`, add `-r cgi-escape` to your command line, or update your type checker configuration.
287
+
288
+ ```yaml
289
+ dependencies:
290
+ - name: cgi-escape
291
+ ```
292
+
293
+ The type definitions for `pathname` have also been moved from `stdlib` to `core`, as it is now implemented as part of the core library.
294
+
295
+ ### Pull Requests
296
+
297
+ * [Backport] Support rdoc v7 ([#2770](https://github.com/ruby/rbs/pull/2770))
298
+ * [Backport] Check tuple type length ([#2766](https://github.com/ruby/rbs/pull/2766))
299
+ * Backport update to 4.0.0-preview3 ([#2768](https://github.com/ruby/rbs/pull/2768))
300
+ * [Backport] Remove test code for bundled gems ([#2762](https://github.com/ruby/rbs/pull/2762))
301
+ * Merge pull request #2761 from ruby/update-minitest ([#2763](https://github.com/ruby/rbs/pull/2763))
302
+ * [Backport] Support BigDecimal v4 ([#2759](https://github.com/ruby/rbs/pull/2759))
303
+ * Parser/lexer backports ([#2756](https://github.com/ruby/rbs/pull/2756))
304
+ * Merge pull request #2753 from ruby/delete-printf ([#2754](https://github.com/ruby/rbs/pull/2754))
305
+ * Backports ([#2751](https://github.com/ruby/rbs/pull/2751))
306
+ * Merge pull request #2728 from ruby/cgi ([#2747](https://github.com/ruby/rbs/pull/2747))
307
+ * Merge pull request #2729 from ruby/rbs-assert ([#2748](https://github.com/ruby/rbs/pull/2748))
308
+ * Merge pull request #2749 from ruby/fix-test ([#2750](https://github.com/ruby/rbs/pull/2750))
309
+ * Backport RBS file updates ([#2742](https://github.com/ruby/rbs/pull/2742))
310
+ * Backport JSON PRs ([#2740](https://github.com/ruby/rbs/pull/2740))
311
+ * Merge pull request #2718 from ruby/ruby-4 ([#2741](https://github.com/ruby/rbs/pull/2741))
312
+ * [Backport] Move Pathname to core from stdlib ([#2730](https://github.com/ruby/rbs/pull/2730))
313
+ * Backport rdoc 6.16 ([#2722](https://github.com/ruby/rbs/pull/2722))
314
+ * Backport rdoc support ([#2719](https://github.com/ruby/rbs/pull/2719))
315
+ * Backport "Remove sig for IO#{ready?,nread}" ([#2720](https://github.com/ruby/rbs/pull/2720))
316
+ * Backport more pure C parsers ([#2679](https://github.com/ruby/rbs/pull/2679))
317
+ * Backport module name normalization ([#2673](https://github.com/ruby/rbs/pull/2673))
318
+ * Backport pure-C parser ([#2671](https://github.com/ruby/rbs/pull/2671))
319
+ * Fix test failure ([#2672](https://github.com/ruby/rbs/pull/2672))
320
+
321
+ ## 3.9.5 (2025-09-08)
322
+
323
+ ### Signature updates
324
+
325
+ * Merge pull request #2655 from ruby/silence-string-deprecation ([#2656](https://github.com/ruby/rbs/pull/2656))
326
+
327
+ ### Miscellaneous
328
+
329
+ * Allows the use of a path list as RBS_SKIP_TESTS ([#2641](https://github.com/ruby/rbs/pull/2641))
330
+ * Suppress to GCC warning with multi-line comment ([#2646](https://github.com/ruby/rbs/pull/2646))
331
+ * Backport to 3.9 ([#2487](https://github.com/ruby/rbs/pull/2487))
332
+ * Use erb instead of set for load path testing ([#2468](https://github.com/ruby/rbs/pull/2468))
333
+
334
+ ## 3.9.4 (2025-05-15)
335
+
336
+ ### Miscellaneous
337
+
338
+ * Backport test/CI fixes to 3.9 ([#2487](https://github.com/ruby/rbs/pull/2487))
339
+ * Use erb instead of set for load path testing ([#2468](https://github.com/ruby/rbs/pull/2468))
340
+
341
+ ## 3.9.3 (2025-05-09)
342
+
343
+ ### Miscellaneous
344
+
345
+ * Use erb instead of set for load path testing ([#2468](https://github.com/ruby/rbs/pull/2468))
346
+
347
+ ## 3.9.2 (2025-03-31)
348
+
349
+ ### Library changes
350
+
351
+ * Change `{}` to `{ 0 }` ([#2354](https://github.com/ruby/rbs/pull/2354))
352
+
353
+ ## 3.9.1 (2025-03-24)
354
+
355
+ ### Miscellaneous
356
+
357
+ * `did_you_mean` is a default gem ([#2348](https://github.com/ruby/rbs/pull/2348))
358
+ * Skip loading ruby_memcheck ([#2347](https://github.com/ruby/rbs/pull/2347))
359
+
360
+ ## 3.9.0 (2025-03-18)
361
+
362
+ ### Miscellaneous
363
+
364
+ * Update steep ([#2328](https://github.com/ruby/rbs/pull/2328))
365
+
366
+ ## 3.9.0.pre.2 (2025-03-14)
367
+
368
+ ### Signature updates
369
+
370
+ * `Hash.new` type ([#2323](https://github.com/ruby/rbs/pull/2323))
371
+ * `Module#define_method` ([#2325](https://github.com/ruby/rbs/pull/2325))
372
+ * `Object#define_singleton_method` ([#2324](https://github.com/ruby/rbs/pull/2324))
373
+
374
+ ### Language updates
375
+
376
+ * Fix `define_method` method block self type ([#2325](https://github.com/ruby/rbs/pull/2325))
377
+
378
+ ## 3.9.0.pre.1 (2025-03-11)
379
+
380
+ ### Signature updates
381
+
382
+ * `CGI.escape/unescape_uri_component` ([#2299](https://github.com/ruby/rbs/pull/2299))
383
+ * `Enumerator::Chain` ([#2220](https://github.com/ruby/rbs/pull/2220))
384
+ * `IO.read` ([#2216](https://github.com/ruby/rbs/pull/2216))
385
+ * `IPAddr#netmask` ([#2311](https://github.com/ruby/rbs/pull/2311))
386
+ * `Kernel#gets`, `Kernel#readline`, `Kernel#readlines` ([#2212](https://github.com/ruby/rbs/pull/2212))
387
+ * `Net::HTTP.start` ([#2225](https://github.com/ruby/rbs/pull/2225))
388
+ * `OpenSSL::BN` ([#2267](https://github.com/ruby/rbs/pull/2267))
389
+ * `OpenSSL::PKey::{RSA,DSA,DH}#params` ([#2255](https://github.com/ruby/rbs/pull/2255))
390
+ * `UNIXSocket#send_io`, `UNIXSocket#recv_io` ([#2264](https://github.com/ruby/rbs/pull/2264))
391
+ * `URI.encode/decode_uri_component` ([#2299](https://github.com/ruby/rbs/pull/2299))
392
+ * Rename to reduce top-level interface and type alias ([#2250](https://github.com/ruby/rbs/pull/2250))
393
+
394
+ ### Language updates
395
+
396
+ * Let class/module alias decls, global decls, and constant decls be annotated ([#2302](https://github.com/ruby/rbs/pull/2302))
397
+ * Add `resolve-type-names: false` magic comment ([#2234](https://github.com/ruby/rbs/pull/2234))
398
+
399
+ ### Library changes
400
+
401
+ * Remove unused root variable ([#2307](https://github.com/ruby/rbs/pull/2307))
402
+ * Run Valgrind on CI and fix memory leaks ([#2309](https://github.com/ruby/rbs/pull/2309))
403
+ * Add information for VariableDuplicationError ([#2310](https://github.com/ruby/rbs/pull/2310))
404
+ * Reduce Array object allocation during parsing ([#2304](https://github.com/ruby/rbs/pull/2304))
405
+ * No class variable duplication validation ([#2305](https://github.com/ruby/rbs/pull/2305))
406
+ * Keep annotations during type name resolution ([#2303](https://github.com/ruby/rbs/pull/2303))
407
+ * Fix method annotations ([#2301](https://github.com/ruby/rbs/pull/2301))
408
+ * Fix class variable ([#2300](https://github.com/ruby/rbs/pull/2300))
409
+ * Add bundled gems to alumnus ([#2288](https://github.com/ruby/rbs/pull/2288))
410
+ * Exclude `attr_*` methods from duplicate checks. ([#2294](https://github.com/ruby/rbs/pull/2294))
411
+ * Validate superclass and module-self-type ([#2289](https://github.com/ruby/rbs/pull/2289))
412
+ * Remove case when `rubygems` and `set` ([#2279](https://github.com/ruby/rbs/pull/2279))
413
+ * Check variable duplication ([#2241](https://github.com/ruby/rbs/pull/2241))
414
+ * Validate variable types ([#2237](https://github.com/ruby/rbs/pull/2237))
415
+ * Remove call to `TypeParam#unchecked!` from C parser ([#2256](https://github.com/ruby/rbs/pull/2256))
416
+ * Remove call to `Any#todo!` from C parser ([#2249](https://github.com/ruby/rbs/pull/2249))
417
+ * [rbs/unit_test] Treat nil as a return value ([#2257](https://github.com/ruby/rbs/pull/2257))
418
+
419
+ ### Miscellaneous
420
+
421
+ * Apply rubocop style to RBS ([#2292](https://github.com/ruby/rbs/pull/2292))
422
+ * Eliminate external HTTP requests on test ([#2253](https://github.com/ruby/rbs/pull/2253))
423
+ * Prevent a warning: the block passed to 'map_type_name' .. may be ignored ([#2248](https://github.com/ruby/rbs/pull/2248))
424
+ * Update ruby version for rubocop ([#2251](https://github.com/ruby/rbs/pull/2251))
425
+ * Drop templates from package ([#2214](https://github.com/ruby/rbs/pull/2214))
426
+
427
+ ## 3.8.1 (2024-12-27)
428
+
429
+ ### Signature updates
430
+
431
+ * `Ractor.store_if_absent` ([#2206](https://github.com/ruby/rbs/pull/2206))
432
+ * `Time#iso860t1` ([#2207](https://github.com/ruby/rbs/pull/2207))
433
+ * `Time#xmlschema` ([#2207](https://github.com/ruby/rbs/pull/2207))
434
+
435
+ ### Miscellaneous
436
+
437
+ * Update rubocop-on-rbs ([#2200](https://github.com/ruby/rbs/pull/2200))
438
+ * Update docs based on Ruby 3.4.1 ([#2208](https://github.com/ruby/rbs/pull/2208))
439
+ * Ruby 3.4.1 ([#2206](https://github.com/ruby/rbs/pull/2206))
440
+
441
+ ## 3.8.0 (2024-12-24)
442
+
443
+ ### Signature updates
444
+
445
+ * `Dir.mktmpdir` ([#2158](https://github.com/ruby/rbs/pull/2158))
446
+ * `File.join` ([#2158](https://github.com/ruby/rbs/pull/2158))
447
+ * `IO#each_line` ([#2151](https://github.com/ruby/rbs/pull/2151))
448
+ * `Kernel#readlines` ([#2151](https://github.com/ruby/rbs/pull/2151))
449
+ * `Ractor.store_if_absent` ([#2198](https://github.com/ruby/rbs/pull/2198))
450
+ * Update docs as of 2024-12-24, 16:13 JST ([#2193](https://github.com/ruby/rbs/pull/2193))
451
+
452
+ ### Library changes
453
+
454
+ * Adjust capacity of location children ([#2197](https://github.com/ruby/rbs/pull/2197))
455
+ * Should validate self-type on Proc ([#2192](https://github.com/ruby/rbs/pull/2192))
456
+
457
+ ## 3.8.0.pre.1 (2024-12-19)
458
+
459
+ ### Signature updates
460
+
461
+ * `RubyVM::AbstractSyntaxTree::Location` ([#2189](https://github.com/ruby/rbs/pull/2189))
462
+ * `_JsonWrite#flush` ([#2134](https://github.com/ruby/rbs/pull/2134))
463
+ * `Array#fetch_values` ([#2189](https://github.com/ruby/rbs/pull/2189))
464
+ * `Array#to_csv` ([#2099](https://github.com/ruby/rbs/pull/2099))
465
+ * `Exception#set_backtrace` ([#2189](https://github.com/ruby/rbs/pull/2189))
466
+ * `Fiber#raise` ([#2189](https://github.com/ruby/rbs/pull/2189))
467
+ * `GC.config` ([#2189](https://github.com/ruby/rbs/pull/2189))
468
+ * `Hash.new` ([#2189](https://github.com/ruby/rbs/pull/2189))
469
+ * `Kernel#raise` ([#2189](https://github.com/ruby/rbs/pull/2189))
470
+ * `MatchData#bytebegin` ([#2189](https://github.com/ruby/rbs/pull/2189))
471
+ * `MatchData#byteend` ([#2189](https://github.com/ruby/rbs/pull/2189))
472
+ * `Pathname#mkpath` ([#2048](https://github.com/ruby/rbs/pull/2048))
473
+ * `Pathname#rmtree` ([#2048](https://github.com/ruby/rbs/pull/2048))
474
+ * `Ractor._require` ([#2189](https://github.com/ruby/rbs/pull/2189))
475
+ * `Ractor.[]` ([#2189](https://github.com/ruby/rbs/pull/2189))
476
+ * `Ractor.[]=` ([#2189](https://github.com/ruby/rbs/pull/2189))
477
+ * `Ractor.main?` ([#2189](https://github.com/ruby/rbs/pull/2189))
478
+ * `Range#step` ([#1958](https://github.com/ruby/rbs/pull/1958))
479
+ * `RubyVM::AbstractSyntaxTree::Node#locations` ([#2189](https://github.com/ruby/rbs/pull/2189))
480
+ * `String#append_as_bytes` ([#2189](https://github.com/ruby/rbs/pull/2189))
481
+ * `String#parse_csv` ([#2099](https://github.com/ruby/rbs/pull/2099))
482
+ * `String#scan` ([#2146](https://github.com/ruby/rbs/pull/2146))
483
+ * `Tempfile.create` ([#2189](https://github.com/ruby/rbs/pull/2189))
484
+ * `Thread#raise` ([#2189](https://github.com/ruby/rbs/pull/2189))
485
+ * `Time#iso8601` ([#2189](https://github.com/ruby/rbs/pull/2189))
486
+ * `Time#xmlschema` ([#2189](https://github.com/ruby/rbs/pull/2189))
487
+ * `Warning.categories` ([#2189](https://github.com/ruby/rbs/pull/2189))
488
+ * `ZStream#finish` ([#2136](https://github.com/ruby/rbs/pull/2136))
489
+ * Generate docs based on ruby 3.4.0-rc1 ([#2183](https://github.com/ruby/rbs/pull/2183))
490
+
491
+ ### Library changes
492
+
493
+ * Deprecate `Kernel#Namespace` ([#2123](https://github.com/ruby/rbs/pull/2123))
494
+ * Fix `missing braces around initializer` warning ([#2180](https://github.com/ruby/rbs/pull/2180))
495
+ * Avoid double name resolution ([#2127](https://github.com/ruby/rbs/pull/2127))
496
+ * Remove forward declarations of local variables ([#2132](https://github.com/ruby/rbs/pull/2132))
497
+ * Designated initializers ([#2131](https://github.com/ruby/rbs/pull/2131))
498
+
499
+ ### Miscellaneous
500
+
501
+ * Update docs with rdoc-6.10.0 ([#2182](https://github.com/ruby/rbs/pull/2182))
502
+ * Update rdoc ([#2160](https://github.com/ruby/rbs/pull/2160))
503
+ * Prepare for ruby 3.4.0 ([#2181](https://github.com/ruby/rbs/pull/2181))
504
+ * Fix typo in `instance` usage example ([#2139](https://github.com/ruby/rbs/pull/2139))
505
+ * Indent `parser_test` code snippets properly ([#2137](https://github.com/ruby/rbs/pull/2137))
506
+ * Bump rbs and steep in /steep ([#2129](https://github.com/ruby/rbs/pull/2129))
507
+ * Un-hardcode repo name in test suite ([#2128](https://github.com/ruby/rbs/pull/2128))
508
+
509
+ ## 3.7.0 (2024-12-05)
510
+
511
+ ### Miscellaneous
512
+
513
+ * bundle update mutex_m ([#2122](https://github.com/ruby/rbs/pull/2122))
514
+
515
+ ## 3.7.0.pre.1 (2024-12-05)
516
+
517
+ ### Signature updates
518
+
519
+ * `CGI.accept_charset` ([#2045](https://github.com/ruby/rbs/pull/2045))
520
+ * `IO#readline`, `IO#readlines` ([#2059](https://github.com/ruby/rbs/pull/2059))
521
+ * `Kernel#proc` ([#2036](https://github.com/ruby/rbs/pull/2036))
522
+ * `Kernel#system` ([#2075](https://github.com/ruby/rbs/pull/2075))
523
+ * `Object#to_yaml` ([#2107](https://github.com/ruby/rbs/pull/2107))
524
+ * `OpenSSL::Digest` ([#2108](https://github.com/ruby/rbs/pull/2108))
525
+ * `OpenSSL.base64digest` ([#2078](https://github.com/ruby/rbs/pull/2078))
526
+ * `Process.detach` ([#2083](https://github.com/ruby/rbs/pull/2083))
527
+
528
+ ### Library changes
529
+
530
+ * Reduce object allocation for record type ([#2118](https://github.com/ruby/rbs/pull/2118))
531
+ * Milestone to graduate stringio from core. ([#2114](https://github.com/ruby/rbs/pull/2114))
532
+ * Mark all internal `parse_` methods as `static` ([#2103](https://github.com/ruby/rbs/pull/2103))
533
+ * Add templating mechanism to automatically generate `.c`/`.h` files ([#2098](https://github.com/ruby/rbs/pull/2098))
534
+ * Remove unused `rbs_unescape_string` declaration ([#2058](https://github.com/ruby/rbs/pull/2058))
535
+ * Fix UntypedFunction does not provide #map_type_name ([#2054](https://github.com/ruby/rbs/pull/2054))
536
+ * Better `instance_eval`/`instance_exec` detection ([#2052](https://github.com/ruby/rbs/pull/2052))
537
+ * Overload annotations ([#2049](https://github.com/ruby/rbs/pull/2049))
538
+
539
+ #### rbs prototype
540
+
541
+ * prototype rb: Fix crashed by self::CONST ([#2079](https://github.com/ruby/rbs/pull/2079))
542
+
543
+ #### rbs collection
544
+
545
+ * mutex_m support ([#2115](https://github.com/ruby/rbs/pull/2115))
546
+
547
+ ### Miscellaneous
548
+
549
+ * Use `File.open` with block ([#2119](https://github.com/ruby/rbs/pull/2119))
550
+ * Compile without activesupport ([#2105](https://github.com/ruby/rbs/pull/2105))
551
+ * docs: Add singleton attribute members to syntax.md ([#2090](https://github.com/ruby/rbs/pull/2090))
552
+ * Bundle update rubocop-on-rbs ([#2094](https://github.com/ruby/rbs/pull/2094))
553
+ * `bundle exec` on windows ([#2101](https://github.com/ruby/rbs/pull/2101))
554
+ * Fix typos ([#2097](https://github.com/ruby/rbs/pull/2097))
555
+ * Bundle update json 2.8.2 ([#2095](https://github.com/ruby/rbs/pull/2095))
556
+ * Skip `rbs` gem validation ([#2084](https://github.com/ruby/rbs/pull/2084))
557
+ * Skip PTY_test with Windows platform ([#2055](https://github.com/ruby/rbs/pull/2055))
558
+ * Randomize stdlib test order to uncover hidden assumptions ([#2043](https://github.com/ruby/rbs/pull/2043))
559
+ * Suppress `inline` is not at beginning of declaration for melt_array ([#2050](https://github.com/ruby/rbs/pull/2050))
560
+ * Skip `mkpath` test with 3.4 ([#2053](https://github.com/ruby/rbs/pull/2053))
561
+
562
+ ## 3.6.1 (2024-10-03)
563
+
564
+ ### Library changes
565
+
566
+ * Mark as ractor-safe ([#2041](https://github.com/ruby/rbs/pull/2041))
567
+
568
+ ### Miscellaneous
569
+
570
+ * Omit IOConsoleTest with Windows platform ([#2044](https://github.com/ruby/rbs/pull/2044))
571
+ * Recover `$stdout` after test ([#2042](https://github.com/ruby/rbs/pull/2042))
572
+
573
+ ## 3.6.0 (2024-09-30)
574
+
575
+ Nothing changed since `3.6.0.pre.3`.
576
+
577
+ ## 3.6.0.pre.3 (2024-09-30)
578
+
579
+ ### Signature updates
580
+
581
+ * `JSON.load_file`, `.load_file!` ([#2031](https://github.com/ruby/rbs/pull/2031))
582
+ * `Module#class_eval`, `Module#module_eval` ([#2029](https://github.com/ruby/rbs/pull/2029))
583
+ * `Open3` ([#2014](https://github.com/ruby/rbs/pull/2014))
584
+ * `RubyVM::InstructionSequence` ([#2027](https://github.com/ruby/rbs/pull/2027))
585
+ * Fixup RBS type definitions with rbs-on-rubocop ([#2023](https://github.com/ruby/rbs/pull/2023))
586
+ * Avoid using `instance`/`class` types in modules ([#2020](https://github.com/ruby/rbs/pull/2020))
587
+
588
+ ### Language updates
589
+
590
+ * Optional type param restriction ([#2030](https://github.com/ruby/rbs/pull/2030))
591
+ * Prohibit `self` type as a generics default ([#2022](https://github.com/ruby/rbs/pull/2022))
592
+ * Allow `self` types in generics default type ([#2021](https://github.com/ruby/rbs/pull/2021))
593
+
594
+ ### Library changes
595
+
596
+ * Add `TypeParamDefaultReferenceError#type_param` ([#2032](https://github.com/ruby/rbs/pull/2032))
597
+
598
+ ## 3.6.0.pre.2 (2024-09-18)
599
+
600
+ ### Signature updates
601
+
602
+ * `Kernel#class` ([#2017](https://github.com/ruby/rbs/pull/2017))
603
+ * `TracePoint#enable` ([#2015](https://github.com/ruby/rbs/pull/2015))
604
+
605
+ ### Miscellaneous
606
+
607
+ * Fix type definition and type errors ([#2016](https://github.com/ruby/rbs/pull/2016))
608
+
609
+ ## 3.6.0.pre.1 (2024-09-17)
610
+
611
+ ### Signature updates
612
+
613
+ * csv ([#2012](https://github.com/ruby/rbs/pull/2012), [#1864](https://github.com/ruby/rbs/pull/1864), [#2002](https://github.com/ruby/rbs/pull/2002), [#2003](https://github.com/ruby/rbs/pull/2003), [#1903](https://github.com/ruby/rbs/pull/1903))
614
+ * digest ([#1880](https://github.com/ruby/rbs/pull/1880))
615
+ * kconv ([#1857](https://github.com/ruby/rbs/pull/1857))
616
+ * zlib ([#1911](https://github.com/ruby/rbs/pull/1911))
617
+ * `_Each` ([#2006](https://github.com/ruby/rbs/pull/2006))
618
+ * `Array` ([#1921](https://github.com/ruby/rbs/pull/1921))
619
+ * `Enumerable` ([#1921](https://github.com/ruby/rbs/pull/1921))
620
+ * `Enumerator::_Each` ([#2006](https://github.com/ruby/rbs/pull/2006), [#1915](https://github.com/ruby/rbs/pull/1915))
621
+ * `Enumerator` ([#2004](https://github.com/ruby/rbs/pull/2004))
622
+ * `Kernel` ([#1945](https://github.com/ruby/rbs/pull/1945))
623
+ * `Method` ([#1939](https://github.com/ruby/rbs/pull/1939))
624
+ * `Module` ([#1921](https://github.com/ruby/rbs/pull/1921))
625
+ * `Net::HTTPHeader` ([#1932](https://github.com/ruby/rbs/pull/1932))
626
+ * `Proc` ([#1937](https://github.com/ruby/rbs/pull/1937))
627
+ * `Queue` ([#2004](https://github.com/ruby/rbs/pull/2004))
628
+ * `Range` ([#1921](https://github.com/ruby/rbs/pull/1921))
629
+ * `Refinement` ([#1931](https://github.com/ruby/rbs/pull/1931))
630
+ * `Symbol` ([#1930](https://github.com/ruby/rbs/pull/1930))
631
+ * `TracePoint` ([#1943](https://github.com/ruby/rbs/pull/1943))
632
+ * `#rand` ([#2007](https://github.com/ruby/rbs/pull/2007))
633
+ * Use untyped blocks ([#1935](https://github.com/ruby/rbs/pull/1935))
634
+ * Update docs for ruby-3.3.4 ([#1923](https://github.com/ruby/rbs/pull/1923))
635
+ * Update docs for ruby-3.3.3 ([#1889](https://github.com/ruby/rbs/pull/1889))
636
+
637
+ ### Language updates
638
+
639
+ * Fix position for default_type ([#1997](https://github.com/ruby/rbs/pull/1997))
640
+ * Update `syntax.md` ([#1995](https://github.com/ruby/rbs/pull/1995))
641
+ * Improve generics ([#1994](https://github.com/ruby/rbs/pull/1994))
642
+ * Allow alias to module-self-type from module ([#1948](https://github.com/ruby/rbs/pull/1948))
643
+ * Make it a syntax error when the keys of keyword and record are duplicated. ([#1883](https://github.com/ruby/rbs/pull/1883))
644
+
645
+ ### Library changes
646
+
647
+ * Omit unnecessary field from location range ([#1788](https://github.com/ruby/rbs/pull/1788))
648
+ * Handle ISEQs compiled by Prism ([#1983](https://github.com/ruby/rbs/pull/1983))
649
+ * Add AST Visitor ([#1975](https://github.com/ruby/rbs/pull/1975))
650
+ * Make the extension `GC.auto_compact` compatible ([#1971](https://github.com/ruby/rbs/pull/1971))
651
+ * Make `FileFinder` faster by globbing all possible files ([#1965](https://github.com/ruby/rbs/pull/1965))
652
+ * Fix #1905: Fix typo in `UntypedFunction` ([#1906](https://github.com/ruby/rbs/pull/1906))
653
+
654
+ #### rbs prototype
655
+
656
+ * [prototype] Remove redundant access modifier ([#1914](https://github.com/ruby/rbs/pull/1914))
657
+
658
+ ### Miscellaneous
659
+
660
+ * Allow RBS/Style/InitializeReturnType ([#2008](https://github.com/ruby/rbs/pull/2008))
661
+ * docs: An interface can include interfaces only and not modules ([#1996](https://github.com/ruby/rbs/pull/1996))
662
+ * Fix the portability of an external command ([#2001](https://github.com/ruby/rbs/pull/2001))
663
+ * Skip `AbstractSyntaxTree` test with ruby-3.4 ([#2005](https://github.com/ruby/rbs/pull/2005))
664
+ * Fix test ([#1972](https://github.com/ruby/rbs/pull/1972))
665
+ * Use `File.open` instead of `IO.sysopen` ([#1912](https://github.com/ruby/rbs/pull/1912))
666
+
667
+ ## 3.5.3 (2024-08-23)
668
+
669
+ ### Library changes
670
+
671
+ * Backport GC fix PR ([#1977](https://github.com/ruby/rbs/pull/1977))
672
+
673
+ ## 3.5.2 (2024-07-10)
674
+
675
+ ### Library changes
676
+
677
+ * Update docs for ruby-3.3.4 ([#1923](https://github.com/ruby/rbs/pull/1923), Backported in [#1925](https://github.com/ruby/rbs/pull/1925))
678
+ * Update docs for ruby-3.3.3 ([#1889](https://github.com/ruby/rbs/pull/1889), Backported in [#1925](https://github.com/ruby/rbs/pull/1925))
679
+ * Fix #1905: Fix typo in `UntypedFunction` ([#1906](https://github.com/ruby/rbs/pull/1906), Backported in [#1925](https://github.com/ruby/rbs/pull/1925))
680
+
681
+ ### Miscellaneous
682
+
683
+ * Use `File.open` instead of `IO.sysopen` ([#1913](https://github.com/ruby/rbs/pull/1913))
684
+
685
+ ## 3.5.1 (2024-06-07)
686
+
687
+ ### Library changes
688
+
689
+ * Add explicit dependency on the `logger` gem ([#1865](https://github.com/ruby/rbs/pull/1865))
690
+ * Make c99, c23 compatible ([#1870](https://github.com/ruby/rbs/pull/1870))
691
+
692
+ ### Miscellaneous
693
+
694
+ * Don't try to sign git commits when running tests ([#1867](https://github.com/ruby/rbs/pull/1867))
695
+
696
+ ## 3.5.0 (2024-06-06)
697
+
698
+ ### Signature updates
699
+
700
+ * `net-http` headers ([#1750](https://github.com/ruby/rbs/pull/1750))
701
+ * `CSV.foreach` ([#1738](https://github.com/ruby/rbs/pull/1738))
702
+ * `Enumerator#initialize` ([#1801](https://github.com/ruby/rbs/pull/1801))
703
+ * `Float#divmod`, `Rational#divmod` ([#1868](https://github.com/ruby/rbs/pull/1868))
704
+ * `GC` ([#1530](https://github.com/ruby/rbs/pull/1530))
705
+ * `Integer#pow` ([#1706](https://github.com/ruby/rbs/pull/1706))
706
+ * `Kernel.rand` ([#1783](https://github.com/ruby/rbs/pull/1783))
707
+ * `Kernel#extend` ([#1769](https://github.com/ruby/rbs/pull/1769))
708
+ * `Module#include`, `Module#prepend` ([#1769](https://github.com/ruby/rbs/pull/1769))
709
+ * `Proc#parameters` ([#1819](https://github.com/ruby/rbs/pull/1819))
710
+ * `Range#step` ([#1709](https://github.com/ruby/rbs/pull/1709))
711
+ * `Regexp.union` ([#1809](https://github.com/ruby/rbs/pull/1809))
712
+ * `RubyVM::YJIT.enable` ([#1812](https://github.com/ruby/rbs/pull/1812))
713
+ * `RubyVM::YJIT`, `RubyVM::RJIT` ([#1746](https://github.com/ruby/rbs/pull/1746))
714
+ * `String#bytesplice` ([#1793](https://github.com/ruby/rbs/pull/1793))
715
+ * `String#gsub!` ([#1768](https://github.com/ruby/rbs/pull/1768))
716
+ * `Symbol#=~` ([#1704](https://github.com/ruby/rbs/pull/1704))
717
+ * `Time#initialize` ([#1771](https://github.com/ruby/rbs/pull/1771))
718
+ * `Time#zone` ([#1770](https://github.com/ruby/rbs/pull/1770))
719
+ * `Timeout::ExitException` ([#1803](https://github.com/ruby/rbs/pull/1803))
720
+ * `URI::MailTo` ([#1858](https://github.com/ruby/rbs/pull/1858))
721
+ * Update docs ([#1811](https://github.com/ruby/rbs/pull/1811), [#1699](https://github.com/ruby/rbs/pull/1699))
722
+
723
+ ### Language updates
724
+
725
+ * Fix proc type syntax ([#1807](https://github.com/ruby/rbs/pull/1807))
726
+ * Function types with untyped parameter ([#1806](https://github.com/ruby/rbs/pull/1806))
727
+ * Fix record type ([#1732](https://github.com/ruby/rbs/pull/1732))
728
+ * parser: enable record types with optional fields ([#1717](https://github.com/ruby/rbs/pull/1717))
729
+
730
+ ### Library changes
731
+
732
+ * Drop dependency on `abbrev` ([#1866](https://github.com/ruby/rbs/pull/1866))
733
+ * Fix source display ([#1832](https://github.com/ruby/rbs/pull/1832))
734
+ * Include trivia tokens to lex result ([#1831](https://github.com/ruby/rbs/pull/1831))
735
+ * Implement token list API ([#1829](https://github.com/ruby/rbs/pull/1829))
736
+ * Fix memory leak when ParsingError ([#1830](https://github.com/ruby/rbs/pull/1830))
737
+ * [rbs diff] Fix error when empty manifest.yaml ([#1762](https://github.com/ruby/rbs/pull/1762))
738
+ * Remove deprecated API since RBS v1 ([#1805](https://github.com/ruby/rbs/pull/1805))
739
+ * Use array instead of linked list for rbs location's child ([#1786](https://github.com/ruby/rbs/pull/1786))
740
+ * Fix SEGV with parse negative position ([#1790](https://github.com/ruby/rbs/pull/1790))
741
+ * Add location for attribute ([#1787](https://github.com/ruby/rbs/pull/1787))
742
+ * Always be private ([#1774](https://github.com/ruby/rbs/pull/1774))
743
+ * Prevent resource leak with type/method-type parser when reaching EOF. ([#1742](https://github.com/ruby/rbs/pull/1742))
744
+ * Allow loading RBS from different version of a gem ([#1731](https://github.com/ruby/rbs/pull/1731))
745
+ * Fix method name tag on assertion ([#1705](https://github.com/ruby/rbs/pull/1705))
746
+ * Improve interface check by method parameters ([#1698](https://github.com/ruby/rbs/pull/1698))
747
+
748
+ #### rbs prototype
749
+
750
+ * Fix prototype for ruby-3.4 ([#1760](https://github.com/ruby/rbs/pull/1760))
751
+ * Fix 3.4 `prototype rb` failure ([#1713](https://github.com/ruby/rbs/pull/1713))
752
+ * Add Numeric Node's check for parse rbs ([#1711](https://github.com/ruby/rbs/pull/1711))
753
+
754
+ #### rbs collection
755
+
756
+ * Fix RBS loading precedence ([#1720](https://github.com/ruby/rbs/pull/1720))
757
+ * Refactor Git source by using `git?` method ([#1701](https://github.com/ruby/rbs/pull/1701))
758
+
759
+ ### Miscellaneous
760
+
761
+ * Introduce RaaP for testing of signature ([#1810](https://github.com/ruby/rbs/pull/1810))
762
+ * Revise .gemspec to remove `Gemfile` and `Gemfile.lock` ([#1856](https://github.com/ruby/rbs/pull/1856))
763
+ * Add link to gem_rbs_collection to README ([#1827](https://github.com/ruby/rbs/pull/1827))
764
+ * Remove `Gemfile.lock` from the gem package ([#1823](https://github.com/ruby/rbs/pull/1823))
765
+ * Modify template to use TestHelper ([#1776](https://github.com/ruby/rbs/pull/1776))
766
+ * Should focus on `String.new` not `String#initialize`. ([#1789](https://github.com/ruby/rbs/pull/1789))
767
+ * Make the test suite compatible with `--enable-frozen-string-literal` ([#1767](https://github.com/ruby/rbs/pull/1767))
768
+ * Stop reusing `fd` ([#1752](https://github.com/ruby/rbs/pull/1752))
769
+ * Fix test failures on Ruby 3.4 ([#1734](https://github.com/ruby/rbs/pull/1734))
770
+ * Stop trace object allocations during test ([#1724](https://github.com/ruby/rbs/pull/1724))
771
+ * Fix head test fails ([#1719](https://github.com/ruby/rbs/pull/1719))
772
+
773
+ ## 3.4.4 (2024-02-08)
774
+
775
+ ### Miscellaneous
776
+
777
+ * Backport [#1752](https://github.com/ruby/rbs/pull/1752) ([#1753](https://github.com/ruby/rbs/pull/1753))
778
+
779
+ ## 3.4.3 (2024-01-25)
780
+
781
+ ### Library changes
782
+
783
+ #### rbs collection
784
+
785
+ * Backport [#1731](https://github.com/ruby/rbs/pull/1731) ([#1735](https://github.com/ruby/rbs/pull/1735))
786
+
787
+ ## 3.4.2 (2024-01-19)
788
+
789
+ ### Miscellaneous
790
+
791
+ * Backport [#1724](https://github.com/ruby/rbs/pull/1724) ([#1726](https://github.com/ruby/rbs/pull/1726))
792
+
793
+ ## 3.4.1 (2023-12-26)
794
+
795
+ ### Signature updates
796
+
797
+ * Update embedded RDoc based on ruby-3.3.0 (Backport #1699) ([#1700](https://github.com/ruby/rbs/pull/1700))
798
+
799
+ ## 3.4.0 (2023-12-21)
800
+
801
+ ### Signature updates
802
+
803
+ * minitest's lifecycle hooks ([#1694](https://github.com/ruby/rbs/pull/1694))
804
+ * `IO.popen`, `IO#read` ([#1693](https://github.com/ruby/rbs/pull/1693))
805
+
806
+ ### Library changes
807
+
808
+ * Fix klass name if klass is singleton_class ([#1695](https://github.com/ruby/rbs/pull/1695))
809
+
810
+ ### Miscellaneous
811
+
812
+ * Suppress warnings on testing ([#1691](https://github.com/ruby/rbs/pull/1691))
813
+
814
+ ## 3.4.0.pre.1 (2023-12-19)
815
+
816
+ ### Signature updates
817
+
818
+ * Changes in ruby-3.3 ([#1684](https://github.com/ruby/rbs/pull/1684), [#1674](https://github.com/ruby/rbs/pull/1674))
819
+ * Embedded docs update ([#1689](https://github.com/ruby/rbs/pull/1689), [#1676](https://github.com/ruby/rbs/pull/1676))
820
+ * delegate ([#1677](https://github.com/ruby/rbs/pull/1677))
821
+ * `MatchData` ([#1651](https://github.com/ruby/rbs/pull/1651))
822
+ * `String` ([#1672](https://github.com/ruby/rbs/pull/1672), [#1641](https://github.com/ruby/rbs/pull/1641))
823
+ * `Struct` ([#1621](https://github.com/ruby/rbs/pull/1621))
824
+ * `Warning` categories ([#1576](https://github.com/ruby/rbs/pull/1576))
825
+ * `ConditionVariable#wait` ([#1670](https://github.com/ruby/rbs/pull/1670))
826
+ * `Date.parse` ([#1653](https://github.com/ruby/rbs/pull/1653))
827
+ * `IO#gets` ([#1620](https://github.com/ruby/rbs/pull/1620))
828
+ * `Kernel.Pathname` ([#1681](https://github.com/ruby/rbs/pull/1681))
829
+ * `Resolv::DNS::Resource::Generic.create` ([#1655](https://github.com/ruby/rbs/pull/1655))
830
+ * `Thread#raise` ([#1668](https://github.com/ruby/rbs/pull/1668))
831
+ * Builtin types ([#1680](https://github.com/ruby/rbs/pull/1680), [#1644](https://github.com/ruby/rbs/pull/1644))
832
+
833
+ ### Library changes
834
+
835
+ * Add more details error message for `UnresolvedOverloadingError` ([#1688](https://github.com/ruby/rbs/pull/1688))
836
+ * Add `with_***` helpers ([#1687](https://github.com/ruby/rbs/pull/1687))
837
+ * Fix lexer ([#1685](https://github.com/ruby/rbs/pull/1685))
838
+ * Support `Delegator` object ([#1682](https://github.com/ruby/rbs/pull/1682))
839
+ * Should raise `ParsingError` instead of NoMethodError ([#1675](https://github.com/ruby/rbs/pull/1675))
840
+ * Implement multiple validate ([#1648](https://github.com/ruby/rbs/pull/1648))
841
+ * Add `RBS::UnitTest` modules ([#1660](https://github.com/ruby/rbs/pull/1660))
842
+ * Not cached as it may be replaced ([#1656](https://github.com/ruby/rbs/pull/1656))
843
+ * Should raise `ParsingError` instead of ArgumentError ([#1652](https://github.com/ruby/rbs/pull/1652))
844
+ * Added `WithEnum#but` and `with_range` ([#1649](https://github.com/ruby/rbs/pull/1649))
845
+ * Bugfix; `.respond_to` is no longer used in `Rbs::Test::Errors#inspect_` ([#1650](https://github.com/ruby/rbs/pull/1650))
846
+ * Add `--detail` option to rbs diff ([#1623](https://github.com/ruby/rbs/pull/1623))
847
+ * Fix parse error when quoted required keywords ([#1627](https://github.com/ruby/rbs/pull/1627))
848
+
849
+ #### rbs collection
850
+
851
+ * Fix order for collection sources ([#1659](https://github.com/ruby/rbs/pull/1659))
852
+ * [collection] Ignore directory starting with `_` as version from git source ([#1657](https://github.com/ruby/rbs/pull/1657))
853
+
854
+ ### Miscellaneous
855
+
856
+ * Fix token names in comments ([#1658](https://github.com/ruby/rbs/pull/1658))
857
+ * Small bugfix to have guaranteed print out instance variables ([#1642](https://github.com/ruby/rbs/pull/1642))
858
+ * Fix flaky test ([#1616](https://github.com/ruby/rbs/pull/1616))
859
+ * Update syntax.md ([#1634](https://github.com/ruby/rbs/pull/1634))
860
+ * Add steep typecheck workflow ([#1632](https://github.com/ruby/rbs/pull/1632))
861
+ * Add doc for Generating RBS ([#1617](https://github.com/ruby/rbs/pull/1617))
862
+ * updated test harness utils ([#1600](https://github.com/ruby/rbs/pull/1600))
863
+
864
+ ## 3.3.2 (2023-11-21)
865
+
866
+ ### Miscellaneous
867
+
868
+ * Require `bundler` explicitly for ruby/ruby CI ([#1629](https://github.com/ruby/rbs/pull/1629))
869
+
870
+ ## 3.3.1 (2023-11-21)
871
+
872
+ ### Library changes
873
+
874
+ * Allow to use RBS in symlinked tree ([#1624](https://github.com/ruby/rbs/pull/1624))
875
+ * Should escape if param name include not simple-word ([#1618](https://github.com/ruby/rbs/pull/1618))
876
+
877
+ #### rbs collection
878
+
879
+ * Load Bundler lazily ([#1612](https://github.com/ruby/rbs/pull/1612))
880
+
881
+ ### Miscellaneous
882
+
883
+ * Stop using `bundle` command ([#1619](https://github.com/ruby/rbs/pull/1619))
884
+
885
+ ## 3.3.0 (2023-11-09)
886
+
887
+ ### Library changes
888
+
889
+ * Stop exiting with error when syntax error detected during validation ([#1603](https://github.com/ruby/rbs/pull/1603))
890
+ * [rbs diff] Load dependencies from manifest.yaml ([#1602](https://github.com/ruby/rbs/pull/1602))
891
+ * [rbs diff] Resolve constants name ([#1601](https://github.com/ruby/rbs/pull/1601))
892
+
893
+ ## 3.3.0.pre.2 (2023-11-02)
894
+
895
+ ### Signature updates
896
+
897
+ * net/smtp ([#1560](https://github.com/ruby/rbs/pull/1560))
898
+ * open-uri ([#1592](https://github.com/ruby/rbs/pull/1592))
899
+ * `Set` ([#1595](https://github.com/ruby/rbs/pull/1595))
900
+
901
+ ### Library changes
902
+
903
+ * Fixup validation ([#1596](https://github.com/ruby/rbs/pull/1596))
904
+ * Print type syntax errors instead of raising error ([#1594](https://github.com/ruby/rbs/pull/1594))
905
+
906
+ #### rbs prototype
907
+
908
+ * Fix error when MASGN ([#1593](https://github.com/ruby/rbs/pull/1593))
909
+ * Support cases where `Module#constants` has been redefined ([#1591](https://github.com/ruby/rbs/pull/1591))
910
+ * [prototype runtime] Fix error if direct inherited ([#1590](https://github.com/ruby/rbs/pull/1590))
911
+
912
+ ## 3.3.0.pre.1 (2023-10-31)
913
+
914
+ ### Signature updates
915
+
916
+ * json ([#1575](https://github.com/ruby/rbs/pull/1575))
917
+ * net-protocol ([#1559](https://github.com/ruby/rbs/pull/1559))
918
+ * pp ([#1545](https://github.com/ruby/rbs/pull/1545))
919
+ * psych ([#1527](https://github.com/ruby/rbs/pull/1527))
920
+ * `BasicObject` ([#1506](https://github.com/ruby/rbs/pull/1506))
921
+ * `ConditionVariable` ([#1468](https://github.com/ruby/rbs/pull/1468))
922
+ * `Encoding` ([#1510](https://github.com/ruby/rbs/pull/1510))
923
+ * `Exception` ([#1529](https://github.com/ruby/rbs/pull/1529))
924
+ * `FalseClass` ([#1478](https://github.com/ruby/rbs/pull/1478), [#1487](https://github.com/ruby/rbs/pull/1487))
925
+ * `Fiber` ([#1463](https://github.com/ruby/rbs/pull/1463))
926
+ * `FileTest` ([#1500](https://github.com/ruby/rbs/pull/1500))
927
+ * `Kernel` ([#1567](https://github.com/ruby/rbs/pull/1567), [#1518](https://github.com/ruby/rbs/pull/1518), [#1504](https://github.com/ruby/rbs/pull/1504), [#1487](https://github.com/ruby/rbs/pull/1487))
928
+ * `Marshal` ([#1524](https://github.com/ruby/rbs/pull/1524))
929
+ * `Math` ([#1533](https://github.com/ruby/rbs/pull/1533))
930
+ * `Mutex` ([#1468](https://github.com/ruby/rbs/pull/1468))
931
+ * `NilClass` ([#1478](https://github.com/ruby/rbs/pull/1478), [#1487](https://github.com/ruby/rbs/pull/1487))
932
+ * `Object` ([#1504](https://github.com/ruby/rbs/pull/1504))
933
+ * `Queue` ([#1468](https://github.com/ruby/rbs/pull/1468))
934
+ * `RbConfig` ([#1534](https://github.com/ruby/rbs/pull/1534))
935
+ * `Signal` ([#1512](https://github.com/ruby/rbs/pull/1512))
936
+ * `SizedQueue` ([#1468](https://github.com/ruby/rbs/pull/1468))
937
+ * `ThreadGroup` ([#1509](https://github.com/ruby/rbs/pull/1509))
938
+ * `TrueClass` ([#1478](https://github.com/ruby/rbs/pull/1478), [#1487](https://github.com/ruby/rbs/pull/1487))
939
+ * `Warning` ([#1477](https://github.com/ruby/rbs/pull/1477))
940
+ * `Enumerator.produce` ([#1516](https://github.com/ruby/rbs/pull/1516))
941
+ * `Module.define_method` ([#1557](https://github.com/ruby/rbs/pull/1557))
942
+ * `URI.join` ([#1580](https://github.com/ruby/rbs/pull/1580))
943
+ * `YAML.unsafe_load` ([#1528](https://github.com/ruby/rbs/pull/1528))
944
+ * `builtin.rbs`([#1455](https://github.com/ruby/rbs/pull/1455), [#1469](https://github.com/ruby/rbs/pull/1469))
945
+ * `constants.rbs` ([#1531](https://github.com/ruby/rbs/pull/1531))
946
+ * `::interned` ([#1499](https://github.com/ruby/rbs/pull/1499), [#1488](https://github.com/ruby/rbs/pull/1488))
947
+
948
+ ### Language updates
949
+
950
+ * Add `__todo__` type ([#1520](https://github.com/ruby/rbs/pull/1520))
951
+
952
+ ### Library changes
953
+
954
+ * Colored diff ([#1589](https://github.com/ruby/rbs/pull/1589))
955
+ * Fix the issue where ::array[T] would be interpreted as ::array, and type mismatch ([#1491](https://github.com/ruby/rbs/pull/1491))
956
+ * Add `Abbrev` to runtime dependency ([#1573](https://github.com/ruby/rbs/pull/1573))
957
+ * Avoid an error when parsing files including SyntaxError ([#1574](https://github.com/ruby/rbs/pull/1574))
958
+ * Implement rbs diff command ([#1459](https://github.com/ruby/rbs/pull/1459))
959
+ * Add another type syntax validation ([#1566](https://github.com/ruby/rbs/pull/1566))
960
+ * Mark global variables ([#1551](https://github.com/ruby/rbs/pull/1551))
961
+ * Show location of type by method command ([#1537](https://github.com/ruby/rbs/pull/1537))
962
+ * Make alias and interface names absolute ([#1502](https://github.com/ruby/rbs/pull/1502))
963
+ * Better record type format ([#1501](https://github.com/ruby/rbs/pull/1501))
964
+ * Should keep escape of alias and attr family ([#1486](https://github.com/ruby/rbs/pull/1486))
965
+ * Fix error when undefined interface or alias ([#1465](https://github.com/ruby/rbs/pull/1465))
966
+
967
+ #### rbs prototype
968
+
969
+ * [prototype runtime --todo] Consider accessibility mismatch ([#1539](https://github.com/ruby/rbs/pull/1539))
970
+ * Better support for inherited class of `Struct` or `Data` by prototype runtime ([#1571](https://github.com/ruby/rbs/pull/1571))
971
+ * prototype rb: Ignore ITER (method call with block) ([#1562](https://github.com/ruby/rbs/pull/1562))
972
+ * [prototype runtime] Add --autoload option ([#1561](https://github.com/ruby/rbs/pull/1561))
973
+ * Implement todo option ([#1470](https://github.com/ruby/rbs/pull/1470))
974
+ * [prototype runtime] Fix error when constant is a BasicObject instance. ([#1485](https://github.com/ruby/rbs/pull/1485))
975
+ * [prototype runtime] Const name should be absolute ([#1490](https://github.com/ruby/rbs/pull/1490))
976
+ * [prototype runtime] Optimize performance ([#1495](https://github.com/ruby/rbs/pull/1495))
977
+ * [prototype runtime] Fix error when output Object constants ([#1472](https://github.com/ruby/rbs/pull/1472))
978
+ * [prototype runtime] Support prepend mixin ([#1460](https://github.com/ruby/rbs/pull/1460))
979
+ * [prototype runtime] Avoid alias for methods defined in another module ([#1457](https://github.com/ruby/rbs/pull/1457))
980
+
981
+ #### rbs collection
982
+
983
+ * [Collection] Simple colorize collection text like Bundler ([#1558](https://github.com/ruby/rbs/pull/1558))
984
+ * Delete `sources` section from lockfile ([#1544](https://github.com/ruby/rbs/pull/1544))
985
+
986
+ ### Miscellaneous
987
+
988
+ * Add in with_XXX methods ([#1492](https://github.com/ruby/rbs/pull/1492))
989
+ * Updated binding to use modern kernel tests ([#1507](https://github.com/ruby/rbs/pull/1507))
990
+ * Remove all non-required methods from testing types ([#1541](https://github.com/ruby/rbs/pull/1541))
991
+ * Add `assert_type` assertion to confirm if the value has a type ([#1532](https://github.com/ruby/rbs/pull/1532))
992
+ * Add `#assert_const_type` and guide to use type assertions ([#1514](https://github.com/ruby/rbs/pull/1514))
993
+ * Improve skip test message ([#1476](https://github.com/ruby/rbs/pull/1476))
994
+ * Type check ([#1467](https://github.com/ruby/rbs/pull/1467))
995
+ * Type check RDoc related Ruby code ([#1466](https://github.com/ruby/rbs/pull/1466))
996
+ * Fix CI failure ([#1464](https://github.com/ruby/rbs/pull/1464))
997
+
998
+ ## 3.2.2 (2023-09-28)
999
+
1000
+ ### Library changes
1001
+
1002
+ * Mark global variables ([\#1552](https://github.com/ruby/rbs/pull/1552), Backport [\#1551](https://github.com/ruby/rbs/pull/1551))
1003
+
1004
+ ## 3.2.1 (2023-08-29)
1005
+
1006
+ ### Signature updates
1007
+
1008
+ * `Fiber` (Backport [#1463](https://github.com/ruby/rbs/pull/1463))
1009
+
1010
+ ### Library changes
1011
+
1012
+ * Fix error when undefined interface or alias (Backport [#1465](https://github.com/ruby/rbs/pull/1465))
1013
+
1014
+ ### Miscellaneous
1015
+
1016
+ * Improve skip test message (Backport [#1476](https://github.com/ruby/rbs/pull/1476))
1017
+ * Fix CI failure (Backport [#1464](https://github.com/ruby/rbs/pull/1464))
1018
+
1019
+ ## 3.2.0 (2023-08-22)
1020
+
1021
+ ### Signature updates
1022
+
1023
+ * `Binding` ([#1451](https://github.com/ruby/rbs/pull/1451))
1024
+ * `Kernel` ([#1445](https://github.com/ruby/rbs/pull/1445), [#1444](https://github.com/ruby/rbs/pull/1444), [#1443](https://github.com/ruby/rbs/pull/1443), [#1441](https://github.com/ruby/rbs/pull/1441), [#1440](https://github.com/ruby/rbs/pull/1440))
1025
+ * `Errno` ([#1450](https://github.com/ruby/rbs/pull/1450))
1026
+
1027
+ ### Library changes
1028
+
1029
+ #### rbs collection
1030
+
1031
+ * Fix LockfileGenerator crashes if failed to get deps for locked source ([#1413](https://github.com/ruby/rbs/pull/1413))
1032
+
1033
+ ## 3.2.0.pre.1 (2023-08-18)
1034
+
1035
+ ### Signature updates
1036
+
1037
+ * observable ([#1424](https://github.com/ruby/rbs/pull/1424))
1038
+ * uri ([#1371](https://github.com/ruby/rbs/pull/1371))
1039
+ * zlib ([#1389](https://github.com/ruby/rbs/pull/1389))
1040
+ * `IO` ([#1399](https://github.com/ruby/rbs/pull/1399))
1041
+ * `::DATA` ([#1395](https://github.com/ruby/rbs/pull/1395))
1042
+ * `$DEBUG` ([#1427](https://github.com/ruby/rbs/pull/1427))
1043
+ * `ConditionVariable#wait` ([#1397](https://github.com/ruby/rbs/pull/1397))
1044
+ * `Kernel::exit!` ([#1396](https://github.com/ruby/rbs/pull/1396))
1045
+ * `Kernel#exec` ([#1368](https://github.com/ruby/rbs/pull/1368))
1046
+ * `Kernel#p`, `Kernel#pp` ([#1342](https://github.com/ruby/rbs/pull/1342))
1047
+ * `Logger.new` ([#1423](https://github.com/ruby/rbs/pull/1423))
1048
+ * `Module` ([#1321](https://github.com/ruby/rbs/pull/1321))
1049
+ * `Object#define_singleton_method` ([#1431](https://github.com/ruby/rbs/pull/1431))
1050
+ * `Object#enum_for` ([#1327](https://github.com/ruby/rbs/pull/1327))
1051
+ * `StringIO#truncate` ([#1425](https://github.com/ruby/rbs/pull/1425))
1052
+ * `Thread#raise` ([#1426](https://github.com/ruby/rbs/pull/1426))
1053
+ * `Time#round`, `Time#floor`, `Time#ceil` ([#1337](https://github.com/ruby/rbs/pull/1337))
1054
+ * Remove `TRUE`, `FALSE`, and `NIL` constants ([#1432](https://github.com/ruby/rbs/pull/1432))
1055
+ * Updated builtin.rbs's interfaces ([#1429](https://github.com/ruby/rbs/pull/1429))
1056
+ * Convert `| nil` to `?` in global_variables.rbs ([#1430](https://github.com/ruby/rbs/pull/1430))
1057
+ * Remove references to the transient heap ([#1374](https://github.com/ruby/rbs/pull/1374))
1058
+
1059
+ ### Library changes
1060
+
1061
+ * subtract: Remove RBS file if the subtracted definition is empty ([#1385](https://github.com/ruby/rbs/pull/1385))
1062
+ * subtract: Filter redundant access modifiers ([#1384](https://github.com/ruby/rbs/pull/1384))
1063
+ * Fix module alias normalizations ([#1393](https://github.com/ruby/rbs/pull/1393))
1064
+ * Reduce memory allocation on TypeName#initialize ([#1363](https://github.com/ruby/rbs/pull/1363))
1065
+ * Fix a type error in FileFinder ([#1326](https://github.com/ruby/rbs/pull/1326))
1066
+ * Add signatures about DetailedMessage ([#1323](https://github.com/ruby/rbs/pull/1323))
1067
+ * Make TypeNameResolver more compatible with Ruby ([#1373](https://github.com/ruby/rbs/pull/1373))
1068
+ * Drop support of Ruby 2.x ([#1364](https://github.com/ruby/rbs/pull/1364))
1069
+ * Print detailed_message on parse command ([#1329](https://github.com/ruby/rbs/pull/1329))
1070
+ * Relax rdoc version requirement ([#1333](https://github.com/ruby/rbs/pull/1333))
1071
+ * Support keyword argument to #detailed_message ([#1328](https://github.com/ruby/rbs/pull/1328))
1072
+
1073
+ #### rbs prototype
1074
+
1075
+ * Avoid to generate anonymous or internal module ([#1421](https://github.com/ruby/rbs/pull/1421))
1076
+ * Fix type name for prototype rbi ([#1386](https://github.com/ruby/rbs/pull/1386))
1077
+ * Support type params for known signatures ([#1408](https://github.com/ruby/rbs/pull/1408))
1078
+ * Super class should be absolute paths. ([#1415](https://github.com/ruby/rbs/pull/1415))
1079
+ * prototype rb: Fix a crash by "include foo" ([#1419](https://github.com/ruby/rbs/pull/1419))
1080
+ * Add `--outline` option to `prototype runtime` to skip generating method definition ([#1404](https://github.com/ruby/rbs/pull/1404))
1081
+ * [rbs prototype] Follow up ivar/cvar feature ([#1361](https://github.com/ruby/rbs/pull/1361))
1082
+ * prototype rb: Extract instance variables and class variables ([#1343](https://github.com/ruby/rbs/pull/1343))
1083
+
1084
+ #### rbs collection
1085
+
1086
+ * Print warning when specified gem not found ([#1367](https://github.com/ruby/rbs/pull/1367))
1087
+ * Generate gem specific sources in lockfile ([#1402](https://github.com/ruby/rbs/pull/1402))
1088
+ * Spec may be missing when `rbs_collection.yaml` declares dependency ([#1378](https://github.com/ruby/rbs/pull/1378))
1089
+
1090
+ ### Miscellaneous
1091
+
1092
+ * Remove ruby-lsp && bundle update --bundler ([#1420](https://github.com/ruby/rbs/pull/1420))
1093
+ * Delete all remaining set-related descriptions. ([#1324](https://github.com/ruby/rbs/pull/1324))
1094
+ * Add customized test runner to accept minitest options ([#1392](https://github.com/ruby/rbs/pull/1392))
1095
+ * Specify `rbs` syntax to code snippets in Markdown files ([#1366](https://github.com/ruby/rbs/pull/1366))
1096
+ * Fix typo in parser.rbs ([#1352](https://github.com/ruby/rbs/pull/1352))
1097
+ * Fix broken CI ([#1353](https://github.com/ruby/rbs/pull/1353))
1098
+ * Handle connection error with Resolv_test.rb ([#1356](https://github.com/ruby/rbs/pull/1356))
1099
+ * Removed Prime signature and tests ([#1355](https://github.com/ruby/rbs/pull/1355))
1100
+
1101
+ ## 3.1.3 (2023-07-31)
1102
+
1103
+ ### Library changes
1104
+
1105
+ #### rbs collection
1106
+
1107
+ * Generate gem specific sources in lockfile (Backport [#1402](https://github.com/ruby/rbs/pull/1402))
1108
+
1109
+ ## 3.1.2 (2023-07-27)
1110
+
1111
+ ⚠️ Note that this patch level release may report additional validation errors that is caused by fix of type name resolution ([#1373](https://github.com/ruby/rbs/pull/1373)).
1112
+
1113
+ ### Library changes
1114
+
1115
+ * Make `TypeNameResolver` more compatible with Ruby (Backport [#1373](https://github.com/ruby/rbs/pull/1373))
1116
+ * Fix module alias normalizations (Backport [#1393](https://github.com/ruby/rbs/pull/1393))
1117
+
1118
+ ## 3.1.1 (2023-07-18)
1119
+
1120
+ ### Signature updates
1121
+
1122
+ * Removed `GC.verify_transient_heap_internal_consistency` (Backport [#1374](https://github.com/ruby/rbs/pull/1374))
1123
+
1124
+ ### Library changes
1125
+
1126
+ * Relax rdoc version requirement in RDoc plugin (Backport [#1333](https://github.com/ruby/rbs/pull/1333))
1127
+
1128
+ #### rbs collection
1129
+
1130
+ * Spec may be missing when rbs_collection.yaml declares dependency (Backport [#1378](https://github.com/ruby/rbs/pull/1378))
1131
+
1132
+ ### Miscellaneous
1133
+
1134
+ * Handle connection error with Resolv_test.rb (Backport [#1356](https://github.com/ruby/rbs/pull/1356))
1135
+ * Fix broken CI (Backport [#1353](https://github.com/ruby/rbs/pull/1353))
1136
+
1137
+ ## 3.1.0 (2023-04-26)
1138
+
1139
+ ### Signature updates
1140
+
1141
+ * `Module#attr_*` methods ([#1300](https://github.com/ruby/rbs/pull/1300))
1142
+ * `Object#define_singleton_method` ([#1299](https://github.com/ruby/rbs/pull/1299))
1143
+ * `String#scan` ([#1297](https://github.com/ruby/rbs/pull/1297))
1144
+ * Removed `Gem.datadir` ([#1273](https://github.com/ruby/rbs/pull/1273))
1145
+
1146
+ ### Language updates
1147
+
1148
+ ### Library changes
1149
+
1150
+ * Use fenced code block instead of indented one in .rbs files ([#1312](https://github.com/ruby/rbs/pull/1312))
1151
+ * Fix single use clause `:type_name` location ([#1307](https://github.com/ruby/rbs/pull/1307))
1152
+ * Fix `InvalidOverloadMethodError` on overloading extended method ([#1294](https://github.com/ruby/rbs/pull/1294))
1153
+ * Fix super class of `NoTypeFoundError` from `BaseError` to `DefinitionError` ([#1290](https://github.com/ruby/rbs/pull/1290))
1154
+ * Support `#detailed_message` for `NonregularTypeAliasError`, `CyclicTypeParameterBound`, `InconsistentClassModuleAliasError` and `CyclicClassAliasDefinitionError` ([#1289](https://github.com/ruby/rbs/pull/1289))
1155
+ * Implement `rbs subtract` command ([#1287](https://github.com/ruby/rbs/pull/1287))
1156
+ * Support `#detailed_message` for `InvalidVarianceAnnotationError`, `RecursiveAliasDefinitionError`, `MixinClassError` and `RecursiveTypeAliasError` ([#1285](https://github.com/ruby/rbs/pull/1285))
1157
+ * Support `#detailed_message` for `NoTypeError`, `InheritModuleError`, `NoSelfTypeFoundError` and `NoMixinFoundError` ([#1280](https://github.com/ruby/rbs/pull/1280))
1158
+ * Validate duplicate type aliases ([#1279](https://github.com/ruby/rbs/pull/1279))
1159
+ * Add `-e`, `--type`, and `--method-type` options to `rbs parse` ([#1252](https://github.com/ruby/rbs/pull/1252))
1160
+
1161
+ #### rbs prototype
1162
+
1163
+ * Convert `include` in `class << self` to `extend` by `prototype rb` ([#1255](https://github.com/ruby/rbs/pull/1255))
1164
+
1165
+ #### rbs collection
1166
+
1167
+ * Skip loading `#gemspec` gems via RBS collection ([#1319](https://github.com/ruby/rbs/pull/1319))
1168
+
1169
+ ### Miscellaneous
1170
+
1171
+ * Run `bundle install` automatically in `bin/steep` ([#1308](https://github.com/ruby/rbs/pull/1308))
1172
+ * Fix warnings ([#1314](https://github.com/ruby/rbs/pull/1314))
1173
+
1174
+ ## 3.0.4 (2023-03-13)
1175
+
1176
+ ### Library changes
1177
+
1178
+ * Add missing implementation to support class/module alias ([#1271](https://github.com/ruby/rbs/pull/1271))
1179
+
1180
+ ## 3.0.3 (2023-03-07)
1181
+
1182
+ ### Library changes
1183
+
1184
+ * Fix `DefinitionBuilder` ([\#1268](https://github.com/ruby/rbs/pull/1268))
1185
+
1186
+ #### rbs collection
1187
+
1188
+ * Skip dependencies not included in `Gemfile.lock` ([\#1266](https://github.com/ruby/rbs/pull/1266))
1189
+
1190
+ ### Miscellaneous
1191
+
1192
+ * Skip RBS validation on Ruby CI ([\#1264](https://github.com/ruby/rbs/pull/1264), [\#1263](https://github.com/ruby/rbs/pull/1263))
1193
+
1194
+ ## 3.0.2 (2023-03-01)
1195
+
1196
+ ### Library changes
1197
+
1198
+ * Delete `RubyVM::AbstractSyntaxTree` stub type definition ([#1259](https://github.com/ruby/rbs/pull/1259))
1199
+
1200
+ ## 3.0.1 (2023-02-27)
1201
+
1202
+ ### Library changes
1203
+
1204
+ * Ignore `set` library on loading ([#1251](https://github.com/ruby/rbs/pull/1251))
1205
+
1206
+ ## 3.0.0 (2023-02-22)
1207
+
1208
+ Read [the release note](https://github.com/ruby/rbs/wiki/Release-Note-3.0) for the overview of the changes.
1209
+
1210
+ ### Signature updates
1211
+
1212
+ * Ruby 3.2 core updates ([#1238](https://github.com/ruby/rbs/pull/1238), [#1246](https://github.com/ruby/rbs/pull/1246), [#1242](https://github.com/ruby/rbs/pull/1242))
1213
+ * Ruby 3.2 stdlib updates ([#1240](https://github.com/ruby/rbs/pull/1240))
1214
+ * Ruby 3.2 incompatibilities ([#1241](https://github.com/ruby/rbs/pull/1241))
1215
+ * ripper ([#1193](https://github.com/ruby/rbs/pull/1193))
1216
+ * `RubyVM::AbstractSyntaxTree` ([#1189](https://github.com/ruby/rbs/pull/1189))
1217
+ * `Array#zip` ([#1232](https://github.com/ruby/rbs/pull/1232))
1218
+ * `Enumerable#zip` ([#1232](https://github.com/ruby/rbs/pull/1232))
1219
+ * `Module#attr_*` ([#1218](https://github.com/ruby/rbs/pull/1218), [#1229](https://github.com/ruby/rbs/pull/1229))
1220
+ * `Regexp.new` ([#1237](https://github.com/ruby/rbs/pull/1237))
1221
+ * `Regexp#=~` ([#1195](https://github.com/ruby/rbs/pull/1195))
1222
+ * `Socket.new` ([#1185](https://github.com/ruby/rbs/pull/1185))
1223
+ * `Object::name` ([#1204](https://github.com/ruby/rbs/pull/1204))
1224
+ * `_ToProc#to_proc` ([#1223](https://github.com/ruby/rbs/pull/1223))
1225
+ * Add `implicitly-returns-nil` annotations ([#1226](https://github.com/ruby/rbs/pull/1226))
1226
+
1227
+ ### Language updates
1228
+
1229
+ #### Class/module alias declaration
1230
+
1231
+ * Spec: https://hackmd.io/SAE7AGD6SMSJFnYiR2M5-Q?view
1232
+ * Pull requests: [#1219](https://github.com/ruby/rbs/pull/1219), [#1220](https://github.com/ruby/rbs/pull/1220)
1233
+
1234
+ #### `use` directives
1235
+
1236
+ * Spec: https://hackmd.io/pQehT1u1RfSj6lBcdgW8hg
1237
+ * Pull requests: [#1224](https://github.com/ruby/rbs/pull/1224), [#1234](https://github.com/ruby/rbs/pull/1234), [#1235](https://github.com/ruby/rbs/pull/1235)
1238
+
1239
+ #### Per-overload annotations
1240
+
1241
+ * Pull requests: [#1174](https://github.com/ruby/rbs/pull/1174)
1242
+
1243
+ ### Library changes
1244
+
1245
+ * `Environment` cleanup ([#1209](https://github.com/ruby/rbs/pull/1209), [#1236](https://github.com/ruby/rbs/pull/1236), [#1247](https://github.com/ruby/rbs/pull/1247))
1246
+ * Add "Expected one argument." to `rbs ancestors` command ([#1245](https://github.com/ruby/rbs/pull/1245))
1247
+ * Implement `#detailed_message` for `ParsingError` ([#1166](https://github.com/ruby/rbs/pull/1166))
1248
+ * Support interface in class/module for `Sorter` ([#1191](https://github.com/ruby/rbs/pull/1191))
1249
+ * Use `-std=gnu99` instead of `-std=c99` ([#973](https://github.com/ruby/rbs/pull/973))
1250
+ * Add `rbs_` prefix to `skip` function ([#1186](https://github.com/ruby/rbs/pull/1186))
1251
+ * Better method definition resolution for overload/mixin combination ([#1199](https://github.com/ruby/rbs/pull/1199))
1252
+ * Escaping for keywords is no longer necessary ([#1178](https://github.com/ruby/rbs/pull/1178))
1253
+ * Fix super-class location ([#1172](https://github.com/ruby/rbs/pull/1172))
1254
+
1255
+ #### rbs prototype
1256
+
1257
+ * Introduce new heuristics for block types ([#1180](https://github.com/ruby/rbs/pull/1180))
1258
+
1259
+ #### rbs collection
1260
+
1261
+ * Install only *library* dependencies ([#1222](https://github.com/ruby/rbs/pull/1222), [#1228](https://github.com/ruby/rbs/pull/1228))
1262
+ * Add *local source* ([#854](https://github.com/ruby/rbs/pull/854))
1263
+ * Refactor collection ([#1149](https://github.com/ruby/rbs/pull/1149))
1264
+ * Let `#resolved_revision` return the last fetched commit ([#1215](https://github.com/ruby/rbs/pull/1215))
1265
+
1266
+ ### Miscellaneous
1267
+
1268
+ * Update `syntax.md` ([#1243](https://github.com/ruby/rbs/pull/1243))
1269
+ * Add link to `RBS by Example` to `README.md` [#1225](https://github.com/ruby/rbs/pull/1225)
1270
+ * Make `rake stdlib_test` run with single process ([#1207](https://github.com/ruby/rbs/pull/1207), [#1211](https://github.com/ruby/rbs/pull/1211), [#1231](https://github.com/ruby/rbs/pull/1231))
1271
+ * Remove `steep/*` files from `.gem` ([#1214](https://github.com/ruby/rbs/pull/1214), [#1216](https://github.com/ruby/rbs/pull/1216))
1272
+
1273
+ ## 2.8.4 (2023-01-20)
1274
+
1275
+ ### Miscellaneous
1276
+
1277
+ * Make `rake stdlib_test` run with single process (Backport [#1207](https://github.com/ruby/rbs/pull/1207), [#1211](https://github.com/ruby/rbs/pull/1211))
1278
+ * Remove `steep/*` files from `.gem` (Backport [#1214](https://github.com/ruby/rbs/pull/1214), [#1216](https://github.com/ruby/rbs/pull/1216))
1279
+
1280
+ ## 2.8.3 (2023-01-06)
1281
+
1282
+ ### Library changes
1283
+
1284
+ * Use `-std=gnu99` instead of `-std=c99` (Backport [#973](https://github.com/ruby/rbs/pull/973))
1285
+ * Add `rbs_` prefix to `skip` function (Backport [#1186](https://github.com/ruby/rbs/pull/1186))
1286
+
1287
+ ## 2.8.2 (2022-12-21)
1288
+
1289
+ ### Signature updates
1290
+
1291
+ * `YAML.load` ([#1170](https://github.com/ruby/rbs/pull/1170))
1292
+
1293
+ ### Library changes
1294
+
1295
+ * Add the methods of the `prepend`ed module itself ([#1182](https://github.com/ruby/rbs/pull/1182))
1296
+
1297
+ ### Miscellaneous
1298
+
1299
+ * Add `TestSkip` module to skip tests that fails in ruby CI ([#1167](https://github.com/ruby/rbs/pull/1167))
1300
+
1301
+ ## 2.8.1 (2022-11-28)
1302
+
1303
+ ### Signature updates
1304
+
1305
+ * Update documents based on ruby-3.1.3 ([#1160](https://github.com/ruby/rbs/pull/1160))
1306
+
1307
+ ### Library changes
1308
+
1309
+ #### rbs collection
1310
+
1311
+ * Delay loading `Gemfile` for unbundled environments ([#1161](https://github.com/ruby/rbs/pull/1161))
1312
+
1313
+ ### Miscellaneous
1314
+
1315
+ * Fix collection tests ([#1159](https://github.com/ruby/rbs/pull/1159), [#1162](https://github.com/ruby/rbs/pull/1162))
1316
+
1317
+ ## 2.8.0 (2022-11-24)
1318
+
1319
+ ### Signature updates
1320
+
1321
+ * random ([#1144](https://github.com/ruby/rbs/pull/1144))
1322
+
1323
+ ### Library changes
1324
+
1325
+ * Fix SEGV when give invalid object to `variables:` ([#1153](https://github.com/ruby/rbs/pull/1153))
1326
+
1327
+ ### Miscellaneous
1328
+
1329
+ * Fix some typos ([#1155](https://github.com/ruby/rbs/pull/1155))
1330
+ * Fix a formatting some YAML files ([#1154](https://github.com/ruby/rbs/pull/1154))
1331
+
1332
+ ## 2.8.0.pre.1 (2022-11-17)
1333
+
1334
+ ### Signature updates
1335
+
1336
+ * `IO` ([#1132](https://github.com/ruby/rbs/pull/1132))
1337
+ * `IO::Buffer` ([#1137](https://github.com/ruby/rbs/pull/1137))
1338
+ * `IPAddr` ([#1131](https://github.com/ruby/rbs/pull/1131), [#1151](https://github.com/ruby/rbs/pull/1151))
1339
+ * `Socket` ([#1133](https://github.com/ruby/rbs/pull/1133), [#1134](https://github.com/ruby/rbs/pull/1134), [#1151](https://github.com/ruby/rbs/pull/1151))
1340
+ * `Yaml` ([#1141](https://github.com/ruby/rbs/pull/1141))
1341
+
1342
+ ### Library changes
1343
+
1344
+ * Make type/method-type parser more flexible about input position ([#1140](https://github.com/ruby/rbs/pull/1140))
1345
+ * Raise an error if a class definition inherits a module ([#1152](https://github.com/ruby/rbs/pull/1152))
1346
+ * Fix SEGV when parse with invalid content ([#1146](https://github.com/ruby/rbs/pull/1146))
1347
+
1348
+ #### rbs collection
1349
+
1350
+ * Support to call collection command in child dir ([#1025](https://github.com/ruby/rbs/pull/1025), [#1135](https://github.com/ruby/rbs/pull/1135))
1351
+
1352
+ ### Miscellaneous
1353
+
1354
+ * Remove `rubygems` from `rbs`’s manifest ([#1150](https://github.com/ruby/rbs/pull/1150))
1355
+ * Use `untyped` instead of `any` in `syntax.md` ([#1147](https://github.com/ruby/rbs/pull/1147))
1356
+ * Fix typo and grammatical mistakes in "Generics" section of `syntax.md` ([#1127](https://github.com/ruby/rbs/pull/1127))
1357
+ * Add a doc that describes tools related to RBS ([#1125](https://github.com/ruby/rbs/pull/1125))
1358
+ * Add self-type-bindings to `syntax.md` ([#1123](https://github.com/ruby/rbs/pull/1123))
1359
+ * Add documentation for `...` in `syntax.md` ([#1120](https://github.com/ruby/rbs/pull/1120))
1360
+
1361
+ ## 2.7.0 (2022-10-07)
1362
+
1363
+ ### Signature updates
1364
+
1365
+ * `Symbol#start_with?` ([#1118](https://github.com/ruby/rbs/pull/1118))
1366
+ * `URL::*.build` ([#1118](https://github.com/ruby/rbs/pull/1118))
1367
+
1368
+ ## 2.7.0.pre.3 (2022-10-06)
1369
+
1370
+ ### Signature updates
1371
+
1372
+ * rubygems ([#1107](https://github.com/ruby/rbs/pull/1107))
1373
+ * `OptionParser` ([#1114](https://github.com/ruby/rbs/pull/1114))
1374
+
1375
+ ## 2.7.0.pre.2 (2022-09-20)
1376
+
1377
+ ### Signature updates
1378
+
1379
+ * `Set` ([#1110](https://github.com/ruby/rbs/pull/1110))
1380
+ * `RDoc::Markup` ([#1109](https://github.com/ruby/rbs/pull/1109))
1381
+
1382
+ ### Library changes
1383
+
1384
+ * Always skip CR explicitly ([#1112](https://github.com/ruby/rbs/pull/1112))
1385
+
1386
+ ### Miscellaneous
1387
+
1388
+ * Use `append_cflags` for other than GCC ([#1106](https://github.com/ruby/rbs/pull/1106))
1389
+
1390
+ ## 2.7.0.pre.1 (2022-09-02)
1391
+
1392
+ See [Release Note 2.7](https://github.com/ruby/rbs/wiki/Release-Note-2.7) for the highlights of this release.
1393
+
1394
+ ### Signature updates
1395
+
1396
+ * fiber ([#1071](https://github.com/ruby/rbs/pull/1071))
1397
+ * `BigDecimal` ([#1053](https://github.com/ruby/rbs/pull/1053))
1398
+ * `ERB::Util`, `ERB::DefMethod` ([#1074](https://github.com/ruby/rbs/pull/1074))
1399
+ * `Float::Infinity` ([#1095](https://github.com/ruby/rbs/pull/1095))
1400
+ * `Logger` ([#1046](https://github.com/ruby/rbs/pull/1046))
1401
+ * `IO.pipe`, `IO.foreach` ([#1057](https://github.com/ruby/rbs/pull/1057))
1402
+ * `Module#refine` ([#1064](https://github.com/ruby/rbs/pull/1064))
1403
+ * `Regexp.new` ([#1059](https://github.com/ruby/rbs/pull/1059))
1404
+ * `StringIO#write` ([#1065](https://github.com/ruby/rbs/pull/1065))
1405
+ * `Warning.#warn`, `Kernel.#warn` ([#1056](https://github.com/ruby/rbs/pull/1056))
1406
+
1407
+ ### Language updates
1408
+
1409
+ * Type of `self` in blocks/procs ([#1077](https://github.com/ruby/rbs/issues/1077), [#1101](https://github.com/ruby/rbs/pull/1101))
1410
+
1411
+ ### Library changes
1412
+
1413
+ * RDoc plugin ([#1048](https://github.com/ruby/rbs/pull/1048))
1414
+ * Dedupe method comments ([#1103](https://github.com/ruby/rbs/pull/1103))
1415
+ * Reduce object allocations for GC ([#1102](https://github.com/ruby/rbs/pull/1102))
1416
+ * Add `frozen_string_literal: true` ([#1100](https://github.com/ruby/rbs/pull/1100))
1417
+ * Load dependencies on `-r` option also ([#1013](https://github.com/ruby/rbs/pull/1013))
1418
+ * Fix DefinitionBuilder for methods aliased from module self constraints ([#1099](https://github.com/ruby/rbs/pull/1099))
1419
+ * Fix RBS type definitions ([#1098](https://github.com/ruby/rbs/pull/1098))
1420
+ * Give aliases of `.new` methods correct type ([#1097](https://github.com/ruby/rbs/pull/1097))
1421
+ * `nil` versions are discouraged and will be deprecated in Rubygems 4 ([#1091](https://github.com/ruby/rbs/pull/1091))
1422
+ * Fixes towards Rubygems 4.0 ([#1090](https://github.com/ruby/rbs/pull/1090))
1423
+ * Remove redundant `add` for `Repository.default` ([#1062](https://github.com/ruby/rbs/pull/1062))
1424
+ * Refactor: Use Repository in stdlib source ([#1063](https://github.com/ruby/rbs/pull/1063))
1425
+ * Move `bin/sort` implementation to under `lib/` ([#1051](https://github.com/ruby/rbs/pull/1051))
1426
+
1427
+ #### rbs prototype
1428
+
1429
+ * Fix some error on `prototype runtime` ([#1055](https://github.com/ruby/rbs/pull/1055))
1430
+ * Skip existing RBS files from batch `prototype` ([#1060](https://github.com/ruby/rbs/pull/1060))
1431
+
1432
+ ### Miscellaneous
1433
+
1434
+ * Discard outputs from test code ([#1093](https://github.com/ruby/rbs/pull/1093))
1435
+ * Skip testing visibility methods with Ruby 3.2 ([#1082](https://github.com/ruby/rbs/pull/1082))
1436
+
1437
+ ## 2.6.0 (2022-06-22)
1438
+
1439
+ RBS 2.6 ships with `rbs prototype` commands improvements and signature updates.
1440
+ New minitest RBS definitions will help you to type check your tests.
1441
+
1442
+ ### Signature updates
1443
+
1444
+ * etc ([\#1006](https://github.com/ruby/rbs/pull/1006))
1445
+ * minitest ([\#1009](https://github.com/ruby/rbs/pull/1009))
1446
+ * date ([\#1033](https://github.com/ruby/rbs/pull/1033))
1447
+ * `ENV`. `ARGF`, `Random::Base` ([\#1041](https://github.com/ruby/rbs/pull/1041))
1448
+ * `Hash#dig` ([\#1011](https://github.com/ruby/rbs/pull/1011))
1449
+ * `Hash#reject` ([\#1016](https://github.com/ruby/rbs/pull/1016))
1450
+ * `Kernel?.fail` ([\#1026](https://github.com/ruby/rbs/pull/1026), [\#1028](https://github.com/ruby/rbs/pull/1028))
1451
+ * `Rational#*` ([\#1012](https://github.com/ruby/rbs/pull/1012))
1452
+ * `Regexp.new` ([\#1040](https://github.com/ruby/rbs/pull/1040))
1453
+
1454
+ ### Library changes
1455
+
1456
+ * Add `visibility` columns in {AttrReader,AttrAccessor,AttrWriter}#to_json ([\#1014](https://github.com/ruby/rbs/pull/1014))
1457
+ * Add support for RSpec's verifying doubles in test setup helper ([\#1015](https://github.com/ruby/rbs/pull/1015))
1458
+ * Fix lexer to analyze escape characters ([\#1043](https://github.com/ruby/rbs/pull/1043))
1459
+
1460
+ #### rbs prototype
1461
+
1462
+ * [rb] Support the case where the return value is `self` ([\#1003](https://github.com/ruby/rbs/pull/1003))
1463
+ * [rb] Lean to the optional side ([\#1021](https://github.com/ruby/rbs/pull/1021))
1464
+ * [rb] Fix method commenting ([\#1027](https://github.com/ruby/rbs/pull/1027))
1465
+ * [runtime] Fix decls of output from `Prototype::Runtime` ([\#1030](https://github.com/ruby/rbs/pull/1030))
1466
+ * [runtime] Fix class name resolution of prototype runtime ([\#1032](https://github.com/ruby/rbs/pull/1032))
1467
+ * [rbi] Improve `Prototype::RBI` ([\#1018](https://github.com/ruby/rbs/pull/1018))
1468
+
1469
+ ### Miscellaneous
1470
+
1471
+ * Fix typo in `CONTRIBUTING.md` ([\#1004](https://github.com/ruby/rbs/pull/1004))
1472
+ * Use manifest.yaml instead of manually for validate task ([\#1010](https://github.com/ruby/rbs/pull/1010))
1473
+ * Update re2c ([\#1017](https://github.com/ruby/rbs/pull/1017))
1474
+ * Type check `Prototype::RB` ([\#1019](https://github.com/ruby/rbs/pull/1019))
1475
+ * Minor cleanup & fix ([\#1020](https://github.com/ruby/rbs/pull/1020))
1476
+ * Fix type errors ([\#1023](https://github.com/ruby/rbs/pull/1023))
1477
+ * Clarify GHA step name for rake annotate ([\#1024](https://github.com/ruby/rbs/pull/1024))
1478
+ * Silence parser warning ([\#1039](https://github.com/ruby/rbs/pull/1039))
1479
+ * Fix warnings ([\#1035](https://github.com/ruby/rbs/pull/1035))
1480
+
1481
+ ## 2.5.1 (2022-06-19)
1482
+
1483
+ This is a maintenance release mainly to fix errors detected in CI of `ruby/ruby`.
1484
+ Nothing changed related to the users of RBS gem.
1485
+
1486
+ ### Miscellaneous
1487
+
1488
+ * Skip failing tests on ruby/ruby CI ([\#1036](https://github.com/ruby/rbs/pull/1036))
1489
+ * Fix warnings ([\#1035](https://github.com/ruby/rbs/pull/1035) except changes on `test/tools/sort_test.rb` that is not included in this release)
1490
+ * Fix `Regexp.new` argument ([\#1034](https://github.com/ruby/rbs/pull/1034))
1491
+ * Fix errors with OpenSSL 3 ([\#1029](https://github.com/ruby/rbs/pull/1029))
1492
+ * Fix `OpenSSL::PKey::PKeyError: EVP_PKEY_keygen: bad ffc parameters` with OpenSSL 3 ([\#1005](https://github.com/ruby/rbs/pull/1005))
1493
+
1494
+ ## 2.5.0 (2022-05-20)
1495
+
1496
+ This is a minor release with tuple type/record type syntax updates and `rbs prototype` improvements.
1497
+
1498
+ * You can write empty tuple type as `[]`, instead of `[ ]`
1499
+ * You can write empty record type as `{}`
1500
+ * `prototype-rb` command with `--out-dir` option generates multiple RBS files in the directory
1501
+
1502
+ ### Signature updates
1503
+
1504
+ * `Time` ([\#994](https://github.com/ruby/rbs/pull/994))
1505
+
1506
+ ### Language updates
1507
+
1508
+ * Fix empty tuple type syntax and allow empty record type ([\#1001](https://github.com/ruby/rbs/pull/1001))
1509
+
1510
+ ### Library changes
1511
+
1512
+ * Add `name` attribute in `MethodDefinition#to_json` ([\#997](https://github.com/ruby/rbs/pull/997))
1513
+
1514
+ #### rbs prototype
1515
+
1516
+ * Fix (`ArgumentError`) invalid byte sequence in UTF-8 ([\#995](https://github.com/ruby/rbs/pull/995))
1517
+ * Fix broken args after parsed `decls` from `RBS::Prototype::RB` ([\#998](https://github.com/ruby/rbs/pull/998))
1518
+ * Add *batch* mode to `rbs prototype` ([\#1000](https://github.com/ruby/rbs/pull/1000))
1519
+
1520
+ ## 2.4.0 (2022-05-08)
1521
+
1522
+ This is a minor release with some signature updates, `prototype rb` improvement, and test fixes.
1523
+
1524
+ ### Signature updates
1525
+
1526
+ * did_you_mean ([\#980](https://github.com/ruby/rbs/pull/980))
1527
+ * Pattern-matching exceptions ([\#979](https://github.com/ruby/rbs/pull/979/files))
1528
+ * `Singleton::SingletonClassMethods` ([\#978](https://github.com/ruby/rbs/pull/978))
1529
+
1530
+ #### rbs prototype
1531
+
1532
+ * Omit unnecessary param name on keyword arg from `prototype rb` ([\#974](https://github.com/ruby/rbs/pull/974))
1533
+
1534
+ ### Miscellaneous
1535
+
1536
+ * Fix git unsafe repository error on ci test ([\#985](https://github.com/ruby/rbs/pull/985))
1537
+ * Prefer `IO::Buffer.new` for mutable buffer tests ([\#989](https://github.com/ruby/rbs/pull/989))
1538
+ * Update steep ([\#990](https://github.com/ruby/rbs/pull/990))
1539
+
1540
+ ## 2.3.2 (2022-04-06)
1541
+
1542
+ ### Library changes
1543
+
1544
+ * Let modules have constants under `::Object` ([\#972](https://github.com/ruby/rbs/pull/972))
1545
+
1546
+ ### Miscellaneous
1547
+
1548
+ * Delete `-Wold-style-definition` ([\#971](https://github.com/ruby/rbs/pull/971))
1549
+ * `\e` is not defined in C90 ([\#970](https://github.com/ruby/rbs/pull/970))
1550
+
1551
+ ## 2.3.1 (2022-04-05)
1552
+
1553
+ ### Library changes
1554
+
1555
+ * Fix mswin build, use `append_cflags`, add Windows 'compile only' CI ([\#964](https://github.com/ruby/rbs/pull/964))
1556
+ * Raise `RBS::SyntaxError` from `parse_record_attributes` ([\#966](https://github.com/ruby/rbs/pull/966))
1557
+ * Toplevel constant must have the lowest precedence ([\#967](https://github.com/ruby/rbs/pull/967))
1558
+
1559
+ #### rbs prototype
1560
+
1561
+ * Use default value also for `literal_to_type` ([\#962](https://github.com/ruby/rbs/pull/962))
1562
+
1563
+ ## 2.3.0 (2022-04-01)
1564
+
1565
+ ### Signature updates
1566
+
1567
+ * `Enumerator` ([\#931](https://github.com/ruby/rbs/pull/931))
1568
+ * `FalseClass` ([\#931](https://github.com/ruby/rbs/pull/931))
1569
+ * `Integer` ([\#914](https://github.com/ruby/rbs/pull/914))
1570
+ * `Module` ([\#931](https://github.com/ruby/rbs/pull/931))
1571
+ * `NilClass` ([\#931](https://github.com/ruby/rbs/pull/931))
1572
+ * `Object` ([\#931](https://github.com/ruby/rbs/pull/931))
1573
+ * `Prime` ([\#934](https://github.com/ruby/rbs/pull/934))
1574
+ * `TracePoint` ([\#941](https://github.com/ruby/rbs/pull/941))
1575
+ * `TrueClass` ([\#931](https://github.com/ruby/rbs/pull/931))
1576
+ * `#to_d` ([\#936](https://github.com/ruby/rbs/pull/936))
1577
+ * `IO#wait_writable` ([\#943](https://github.com/ruby/rbs/pull/943))
1578
+
1579
+ ### Library changes
1580
+
1581
+ * Add `Resolver::ConstantResolver` and `Resolver::TypeNameResolver` ([\#938](https://github.com/ruby/rbs/pull/938))
1582
+ * Fix RBS::Locator ([\#930](https://github.com/ruby/rbs/pull/930))
1583
+ * Trying to preserve more locations ([\#915](https://github.com/ruby/rbs/pull/915))
1584
+ * Add visibility modifier to method definition json ([\#923](https://github.com/ruby/rbs/pull/923), [\#928](https://github.com/ruby/rbs/pull/928))
1585
+ * Add manifest.yaml for rbs gem ([\#921](https://github.com/ruby/rbs/pull/921))
1586
+ * Fix Environment type checking ([\#929](https://github.com/ruby/rbs/pull/929))
1587
+ * Fix memory violation in C extension ([\#952](https://github.com/ruby/rbs/pull/952))
1588
+ * Fix warnings in C extension ([\#954](https://github.com/ruby/rbs/pull/954))
1589
+
1590
+ #### rbs prototype
1591
+
1592
+ * Better typing for known `self`-returning method calls ([\#932](https://github.com/ruby/rbs/pull/932))
1593
+ * Let constants have literal types ([\#937](https://github.com/ruby/rbs/pull/937))
1594
+
1595
+ #### rbs collection
1596
+
1597
+ * Fix error message to tell gem name when source is not found ([\#927](https://github.com/ruby/rbs/pull/927))
1598
+
1599
+ ### Miscellaneous
1600
+
1601
+ * Fix `bin/sort` for constants ([\#919](https://github.com/ruby/rbs/pull/919))
1602
+ * Use actions/checkout@v3 ([\#944](https://github.com/ruby/rbs/pull/944))
1603
+ * Added actions ecosystem for dependabot ([\#946](https://github.com/ruby/rbs/pull/946))
1604
+ * Confirm RDoc is up to date ([\#945](https://github.com/ruby/rbs/pull/945))
1605
+
1606
+ ## 2.2.2 (2022-02-22)
1607
+
1608
+ ### Signature updates
1609
+
1610
+ * `cgi` ([\#761](https://github.com/ruby/rbs/pull/761))
1611
+ * `json` ([\#761](https://github.com/ruby/rbs/pull/761))
1612
+ * `set` ([\#761](https://github.com/ruby/rbs/pull/761))
1613
+
1614
+ ## 2.2.1 (2022-02-22)
1615
+
1616
+ ### Library changes
1617
+
1618
+ * Let `validate_type_alias` run without an error on unknown type ([\#912](https://github.com/ruby/rbs/pull/912))
1619
+
1620
+ ## 2.2.0 (2022-02-22)
1621
+
1622
+ RBS 2.2 ships with a new syntax to specify the visibility of a method per definition bases.
1623
+
1624
+ ```rbs
1625
+ class Foo
1626
+ private def hello: () -> void
1627
+
1628
+ private attr_accessor world: String
1629
+ end
1630
+ ```
1631
+
1632
+ It also changes the semantics of `self?` method.
1633
+ It defines both _public_ singleton method and _private_ instance method, which is equivalent to `module_function`.
1634
+
1635
+ ## Signature updates
1636
+
1637
+ * `net-http` ([\#892](https://github.com/ruby/rbs/pull/892))
1638
+ * `uri` ([\#864](https://github.com/ruby/rbs/pull/864))
1639
+ * `Encoding` ([\#897](https://github.com/ruby/rbs/pull/897), [\#898](https://github.com/ruby/rbs/pull/898))
1640
+ * `File::Stat` ([\#879](https://github.com/ruby/rbs/pull/879))
1641
+ * `Kernel#sleep` ([\#893](https://github.com/ruby/rbs/pull/893))
1642
+
1643
+ ### Language updates
1644
+
1645
+ * Add public/private per member modifier ([\#911](https://github.com/ruby/rbs/pull/911))
1646
+ * Let `self?.` be equivalent to `module_function` ([\#910](https://github.com/ruby/rbs/pull/910))
1647
+
1648
+ ### Library changes
1649
+
1650
+ * Add c99 flag for compiling on Ruby 2 ([\#895](https://github.com/ruby/rbs/pull/895))
1651
+ * Fix incorrect URI reference in `schema/typeParam.json` ([\#891](https://github.com/ruby/rbs/pull/891))
1652
+ * Allow scaffolding below namespace ([\#894](https://github.com/ruby/rbs/pull/894))
1653
+ * Let `Writer` preserve format ([\#900](https://github.com/ruby/rbs/pull/900))
1654
+ * Reduce memory usage of `RBS::Buffer` ([\#907](https://github.com/ruby/rbs/pull/907))
1655
+ * Do not call `#class` from `#hash` to improve performance ([\#906](https://github.com/ruby/rbs/pull/906))
1656
+ * Skip type variable validation if `unchcked` ([\#909](https://github.com/ruby/rbs/pull/909))
1657
+
1658
+ ### Miscellaneous
1659
+
1660
+ * Add `Thread::Backtrace` and `Thread::Backtrace::Location` test ([\#896](https://github.com/ruby/rbs/pull/896))
1661
+ * Test annotations ([\#902](https://github.com/ruby/rbs/pull/902))
1662
+ * Remove goodcheck rule for arglists section ([\#901](https://github.com/ruby/rbs/pull/901))
1663
+ * Remove `CharScanner` due to no longer used ([\#905](https://github.com/ruby/rbs/pull/905))
1664
+
1665
+ ## 2.1.0 (2022-02-02)
1666
+
1667
+ RBS 2.1 is a release to deliver the types and documents of the new and updated methods of Ruby 3.1.
1668
+
1669
+ ### Signature updates
1670
+
1671
+ * Documents imported from Ruby 3.1 ([\#881](https://github.com/ruby/rbs/pull/881))
1672
+ * Methods/classes updated in Ruby 3.1 ([\#886](https://github.com/ruby/rbs/pull/886))
1673
+ * io/wait ([\#865](https://github.com/ruby/rbs/pull/865))
1674
+ * json ([\#863](https://github.com/ruby/rbs/pull/863))
1675
+ * nkf ([\#873](https://github.com/ruby/rbs/pull/873))
1676
+ * openssl ([\#866](https://github.com/ruby/rbs/pull/866))
1677
+ * `Dir.exists?`, `FileTest#exists?` ([\#884](https://github.com/ruby/rbs/pull/884))
1678
+ * `FileTest` ([\#880](https://github.com/ruby/rbs/pull/880))
1679
+ * `Gem::Version#<=>` ([\#869](https://github.com/ruby/rbs/pull/869))
1680
+ * `Process.clock_gettime` ([\#858](https://github.com/ruby/rbs/pull/858))
1681
+
1682
+ ### Library changes
1683
+
1684
+ * Introduce `rbs annotate` command ([\#881](https://github.com/ruby/rbs/pull/881))
1685
+ * Make prototype rb to be aware of prepend ([\#861](https://github.com/ruby/rbs/pull/861))
1686
+ * Fixes incorrect "Invalid Variance" error when method type variable shadows outer type variable ([#889](https://github.com/ruby/rbs/pull/889))
1687
+
1688
+ ## 2.0.0 (2021-12-24)
1689
+
1690
+ ### Bounded Generics
1691
+
1692
+ RBS 2.0 ships with _bounded generics_, which improves the expressiveness of the language by adding a new syntax to define constraints on type parameters.
1693
+
1694
+ ```rbs
1695
+ class PrettyPrint[T < _Output]
1696
+ interface _Output
1697
+ def <<: (String) -> void
1698
+ end
1699
+
1700
+ attr_reader output: T
1701
+
1702
+ def initialize: (T output) -> void
1703
+ end
1704
+ ```
1705
+
1706
+ This is the motivating example I found in the [prettyprint library](https://github.com/ruby/prettyprint).
1707
+ The `#initialize` receives a object of type `T` and it must have `#<<` method.
1708
+ This is defined with `< _Output` syntax in the example.
1709
+ It means _`T` has to be compatible with `_Output` interface._
1710
+ `PrettyPrint[String]` is okay, but `PrettyPrint[Integer]` is a type error.
1711
+
1712
+ See [the PR for details](https://github.com/ruby/rbs/pull/844).
1713
+
1714
+ ### RBS Collection manager
1715
+
1716
+ RBS Collection feature is generally available on RBS 2.0. In short, it is Bundler for RBS. You can manage RBSs of standard libraries and third party gems with `rbs collection` subcommand.
1717
+
1718
+ ```bash
1719
+ $ rbs collection init
1720
+ created: rbs_collection.yaml
1721
+
1722
+ # The `install` command set up RBS files and creates `rbs_collection.lock.yaml` file
1723
+ $ rbs collection install
1724
+ Installing actionpack:6.0 (actionpack@ce6664cec73)
1725
+ (...snip...)
1726
+ Using tsort:0 (/path/to/rbs-2.0.0/stdlib/tsort/0)
1727
+ It's done! 21 gems' RBSs now installed.
1728
+
1729
+ # Now you can use `rbs`, `typeprof` and `steep` commands with the dependencies out of the box!
1730
+ $ rbs validate
1731
+ $ typeprof app.rb
1732
+ $ steep check
1733
+ ```
1734
+
1735
+ RBS 2.0 also introduces `manifest.yaml` to declare the dependencies from your gems to standard libraries explicitly.
1736
+ See [the documentation](https://github.com/ruby/rbs/blob/master/docs/collection.md) for more information.
1737
+
1738
+ ### Breaking changes
1739
+
1740
+ This version contains a bug fix, which potentially breaks the compatibility with older versions.
1741
+ The super class names in class definitions are now resolved in _outer_ context.
1742
+ It was an incompatibility with Ruby and [this PR](https://github.com/ruby/rbs/pull/856) fixed the problem.
1743
+
1744
+ ### Signature updates
1745
+
1746
+ * uri ([\#846](https://github.com/ruby/rbs/pull/846), [\#852](https://github.com/ruby/rbs/pull/852), [\#851](https://github.com/ruby/rbs/pull/851), [\#850](https://github.com/ruby/rbs/pull/850), [#849](https://github.com/ruby/rbs/pull/849))
1747
+
1748
+ ### Language updates
1749
+
1750
+ * Bounded generics ([\#844](https://github.com/ruby/rbs/pull/844))
1751
+ * Resolve super type names in outer context ([\#856](https://github.com/ruby/rbs/pull/856))
1752
+
1753
+ ### Library changes
1754
+
1755
+ * Add `manifest.yaml` for collection to specify stdlib dependencies ([\#808](https://github.com/ruby/rbs/pull/808))
1756
+ * Remove experimental warning of `rbs collection` ([\#855](https://github.com/ruby/rbs/pull/855))
1757
+ * Add the utility `#map_type` methods ([\#841](https://github.com/ruby/rbs/pull/841))
1758
+
1759
+ ## 1.8.1 (2021-12-13)
1760
+
1761
+ ### Library changes
1762
+
1763
+ * Validate `extend` arguments ([\#840](https://github.com/ruby/rbs/pull/840))
1764
+ * Allow a relative path as git remote in collection ([\#839](https://github.com/ruby/rbs/pull/839))
1765
+
1766
+ ## 1.8.0 (2021-12-02)
1767
+
1768
+ RBS 1.8.0 ships with a language feature enhancement, _generic type alias_.
1769
+ You can define a type alias with type parameters now.
1770
+
1771
+ ```rbs
1772
+ type list[T] = [T, list[T]] | nil # Defines a list of type T
1773
+
1774
+ type int_list = list[Integer] # List of Integer
1775
+ type string_list = list[String] # List of String
1776
+ ```
1777
+
1778
+ You can find the detail in the [PR](https://github.com/ruby/rbs/pull/823).
1779
+
1780
+ ### Signature updates
1781
+
1782
+ * `Date#+`, `Date#-` ([\#830](https://github.com/ruby/rbs/pull/830))
1783
+ * `#include?`, `#member?`, `#delete`, `#count` ([\#835](https://github.com/ruby/rbs/pull/835))
1784
+
1785
+ ### Language updates
1786
+
1787
+ * Generic type alias ([\#823](https://github.com/ruby/rbs/pull/823))
1788
+
1789
+ ## 1.7.1 (2021-11-18)
1790
+
1791
+ ### Signature updates
1792
+
1793
+ * `Thread#value` ([\#824](https://github.com/ruby/rbs/pull/824/files))
1794
+
1795
+ ### Library changes
1796
+
1797
+ * Unquote parameter name ([\#827](https://github.com/ruby/rbs/pull/827))
1798
+ * Remove `ruby/signature.rb` ([\#825](https://github.com/ruby/rbs/pull/825))
1799
+
1800
+ ### Miscellaneous
1801
+
1802
+ * Use `untyped` as an expectation of return value of `IO#ready?` in test ([\#828](https://github.com/ruby/rbs/pull/828/files))
1803
+
1804
+ ## 1.7.0 (2021-11-11)
1805
+
1806
+ This version replaces `RBS::Parser` implementation from pure Ruby code based on [Racc](https://github.com/ruby/racc) to C extension.
1807
+ It improves the RBS file parsing performance up to 5 times faster. :rocket:
1808
+
1809
+ * There are some incompatibilities to drop obsolete syntax rules: `super` keyword and `any` type are no longer supported.
1810
+ * [re2c](https://github.com/skvadrik/re2c) is used to generate lexical generator.
1811
+
1812
+ When you want to change the parser/lexer, change the files under `ext/rbs_extension` directory and run `rake compile` to compile the extension.
1813
+
1814
+ ### Signature updates
1815
+
1816
+ * io/console ([\#783](https://github.com/ruby/rbs/pull/783))
1817
+ * `ENV` -- Note that it introduces a dummy `::ENVClass` class, which is not defined in Ruby. ([\#812](https://github.com/ruby/rbs/pull/812))
1818
+ * `Net::HTTPRequest` ([\#784](https://github.com/ruby/rbs/pull/784))
1819
+ * `#clone` ([#811](https://github.com/ruby/rbs/pull/811), [\#813](https://github.com/ruby/rbs/pull/813))
1820
+ * `Kernel#BigDecimal` ([\#817](https://github.com/ruby/rbs/pull/817))
1821
+ * `Tempfile.new`, `Tempfile.create` ([\#792](https://github.com/ruby/rbs/pull/792), [\#791](https://github.com/ruby/rbs/pull/791))
1822
+
1823
+ ### Library changes
1824
+
1825
+ * Replace `RBS::Parser` ([#788](https://github.com/ruby/rbs/pull/788), [#789](https://github.com/ruby/rbs/pull/789))
1826
+ * Fix unexpected `CollectionNotAvailable` without `gems` from git source ([\#795](https://github.com/ruby/rbs/pull/795))
1827
+ * Print deprecation warning ([\#801](https://github.com/ruby/rbs/pull/801))
1828
+ * Make `Parser::KEYWORDS` a hash ([\#804](https://github.com/ruby/rbs/pull/804))
1829
+ * Use _partial clone_ for `rbs collection` installer ([#805](https://github.com/ruby/rbs/pull/805))
1830
+ * Respect logger level for test/setup logger ([\#819](https://github.com/ruby/rbs/pull/819), [\#822](https://github.com/ruby/rbs/pull/822))
1831
+
1832
+ ## Miscellaneous
1833
+
1834
+ * Avoid a mixture of `Array#filter` and `Array#select` ([\#820](https://github.com/ruby/rbs/pull/820))
1835
+ * Remove leftover documentation about `super` ([\#807](https://github.com/ruby/rbs/pull/807))
1836
+
1837
+ ## 1.6.2 (2021-09-09)
1838
+
1839
+ ### Signature updates
1840
+
1841
+ * `Enumerator::Lazy#force` ([\#782](https://github.com/ruby/rbs/pull/782))
1842
+ * `IO.readlines` ([\#780](https://github.com/ruby/rbs/pull/780))
1843
+
1844
+ ### Miscellaneous
1845
+
1846
+ * Set `$XDG_CACHE_HOME` during test ([\#781](https://github.com/ruby/rbs/pull/781))
1847
+
1848
+ ## 1.6.1 (2021-09-05)
1849
+
1850
+ This is a minor release including test fixes.
1851
+
1852
+ ### Miscellaneous
1853
+
1854
+ * Fix stdlib test for `Resolv::Hosts` by removing `/etc/hosts` dependency ([\#779](https://github.com/ruby/rbs/pull/779))
1855
+ * Fix bundler related test for test-bundled-gems ([\#778](https://github.com/ruby/rbs/pull/778))
1856
+
1857
+ ## 1.6.0 (2021-09-05)
1858
+
1859
+ This release includes a preview of `rbs collection` commands, which is _bundler for RBS_.
1860
+ The command helps you manage RBS files from gem_rbs_collection or other repositories.
1861
+
1862
+ This feature is a preview, and any feedback is welcome!
1863
+
1864
+ ### Signature updates
1865
+
1866
+ * objspace ([\#763](https://github.com/ruby/rbs/pull/763), [\#776](https://github.com/ruby/rbs/pull/776))
1867
+ * tempfile ([\#767](https://github.com/ruby/rbs/pull/767), [\#775](https://github.com/ruby/rbs/pull/775))
1868
+ * `IO#set_encoding_by_bom` ([\#106](https://github.com/ruby/rbs/pull/106))
1869
+ * `OpenSSL::PKey::EC#dh_compute_key` ([\#775](https://github.com/ruby/rbs/pull/775))
1870
+
1871
+ ### Library changes
1872
+
1873
+ * Add `rbs collection` ([\#589](https://github.com/ruby/rbs/pull/589), [\#772](https://github.com/ruby/rbs/pull/772), [\#773](https://github.com/ruby/rbs/pull/773))
1874
+
1875
+ ### Miscellaneous
1876
+
1877
+ * Let `bin/annotate-with-rdoc` process nested constants/classes ([\#766](https://github.com/ruby/rbs/pull/766), [\#768](https://github.com/ruby/rbs/pull/768))
1878
+ * Stop printing version mismatch message in CI ([\#777](https://github.com/ruby/rbs/pull/777))
1879
+ * Update Steep and fix type errors ([\#770](https://github.com/ruby/rbs/pull/770), [\#774](https://github.com/ruby/rbs/pull/774))
1880
+ * Add dependabot configuration ([\#771](https://github.com/ruby/rbs/pull/771))
1881
+
1882
+ ## 1.5.1 (2021-08-22)
1883
+
1884
+ ### Miscellaneous
1885
+
1886
+ * Fix Net_HTTP_test ([\#759](https://github.com/ruby/rbs/pull/759))
1887
+
1888
+ ## 1.5.0 (2021-08-22)
1889
+
1890
+ This release includes stdlib signature updates.
1891
+
1892
+ ### Signature updates
1893
+
1894
+ * digest ([\#744](https://github.com/ruby/rbs/pull/744), [\#757](https://github.com/ruby/rbs/pull/757))
1895
+ * io-wait ([\#756](https://github.com/ruby/rbs/pull/756), [\#758](https://github.com/ruby/rbs/pull/758))
1896
+ * `Ractor` ([\#755](https://github.com/ruby/rbs/pull/755))
1897
+ * `File::Stat#size?` ([\#754](https://github.com/ruby/rbs/pull/754))
1898
+ * `$-i`, `$0`, `$PROGRAM_NAME` ([\#753](https://github.com/ruby/rbs/pull/753))
1899
+
1900
+ ## 1.4.0 (2021-08-19)
1901
+
1902
+ This release includes feature enhancements including recursive `type` definition validation, improved compatibility of global variable names, and various method type updates.
1903
+
1904
+ ### Signature updates
1905
+
1906
+ * openssl ([\#743](https://github.com/ruby/rbs/pull/743))
1907
+ * `Array`, `Enumerator`, `Enumerable`, `Hash`, `FalseClass`, `Float`, `Hash`, `Integer`, `Object`, `Range`, `TrueClass` ([\#728](https://github.com/ruby/rbs/pull/728))
1908
+ * `Array#[]` ([\#732](https://github.com/ruby/rbs/pull/732))
1909
+ * `Exception#set_backtrace` ([\#738](https://github.com/ruby/rbs/pull/738))
1910
+ * `Kernel#Array` ([\#733](https://github.com/ruby/rbs/pull/733))
1911
+ * `Kernel#spawn` ([\#748](https://github.com/ruby/rbs/pull/748))
1912
+ * `Kernel#String` ([\#745](https://github.com/ruby/rbs/pull/745), [\#751](https://github.com/ruby/rbs/pull/751))
1913
+ * `URI::Generic#fragment` ([\#752](https://github.com/ruby/rbs/pull/752))
1914
+ * `URI::Generic#merge` ([\#746](https://github.com/ruby/rbs/pull/746))
1915
+
1916
+ ### Language updates
1917
+
1918
+ * Add global variables signature ([\#749](https://github.com/ruby/rbs/pull/749))
1919
+
1920
+ ### Library changes
1921
+
1922
+ * Add Recursive type alias definition validation ([\#719](https://github.com/ruby/rbs/pull/719))
1923
+ * Generate included modules with complete name ([\#731](https://github.com/ruby/rbs/pull/731))
1924
+ * Fix `rbs-prototype-rb` error when multi assign with const ([\#740](https://github.com/ruby/rbs/pull/740))
1925
+
1926
+ ## 1.3.3 (2021-07-28)
1927
+
1928
+ This release includes a minor update of `resolv` library RBS and a fix of test for `ruby/ruby` CI.
1929
+
1930
+ ### Signature updates
1931
+
1932
+ * resolv ([#726](https://github.com/ruby/rbs/pull/726))
1933
+
1934
+ ## 1.3.2 (2021-07-23)
1935
+
1936
+ This release is to fix a bug introduced by parser update in 1.3.0.
1937
+
1938
+ * Fix parser to accept alias names starting with `_` ([#723](https://github.com/ruby/rbs/pull/723))
1939
+
1940
+ ## 1.3.1 (2021-07-21)
1941
+
1942
+ This release is to fix a bug introduced by parser update in 1.3.0.
1943
+
1944
+ * Fix parser to accept param names starting with `_` ([#721](https://github.com/ruby/rbs/pull/721))
1945
+
1946
+ ## 1.3.0 (2021-07-20)
1947
+
1948
+ ### Summary
1949
+
1950
+ RBS 1.3.0 includes bug fixes of the parser and class/module definition validations.
1951
+
1952
+ ### Signature updates
1953
+
1954
+ * dbm ([#718](https://github.com/ruby/rbs/pull/718))
1955
+ * net-http ([#686](https://github.com/ruby/rbs/pull/686))
1956
+ * optparse ([#693](https://github.com/ruby/rbs/pull/693))
1957
+ * resolv ([#697](https://github.com/ruby/rbs/pull/697))
1958
+ * socket ([#699](https://github.com/ruby/rbs/pull/699))
1959
+ * `IO` ([#698](https://github.com/ruby/rbs/pull/698))
1960
+ * `Marshal` ([#684](https://github.com/ruby/rbs/pull/684))
1961
+ * `Mutex` ([#683](https://github.com/ruby/rbs/pull/683))
1962
+ * `Array#shift` ([#707](https://github.com/ruby/rbs/pull/707))
1963
+ * `BasicObject#method_missing` ([#707](https://github.com/ruby/rbs/pull/706), [#710](https://github.com/ruby/rbs/pull/710))
1964
+ * `Kernel#caller` ([#705](https://github.com/ruby/rbs/pull/705))
1965
+
1966
+ ### Library changes
1967
+
1968
+ * Interface names starting with lower case characters are now syntax error ([#678](https://github.com/ruby/rbs/pull/678), [#720](https://github.com/ruby/rbs/pull/720))
1969
+ * Mixins of classes are rejected ([#681](https://github.com/ruby/rbs/pull/681))
1970
+ * Generate prototype of `initialize` method with return type `void` ([#685](https://github.com/ruby/rbs/pull/685))
1971
+ * Let `prototype runtime` generate class/module declarations in nested syntax ([#700](https://github.com/ruby/rbs/pull/700))
1972
+ * Fix race condition for multi-thread support ([#702](https://github.com/ruby/rbs/pull/702))
1973
+
1974
+ ### Miscellaneous
1975
+
1976
+ * Add new doc `docs/rbs_by_example.md` ([#694](https://github.com/ruby/rbs/pull/694))
1977
+
1978
+ ## 1.2.1 (2021-05-27)
1979
+
1980
+ This release includes the following minor changes:
1981
+
1982
+ * Fix test to run the tests in ruby repository. ([#679](https://github.com/ruby/rbs/pull/679))
1983
+ * Remove unnecessary files from the gem package. ([#675](https://github.com/ruby/rbs/pull/675))
1984
+ * Suppress unused variable warning ([#674](https://github.com/ruby/rbs/pull/674))
1985
+ * Update documents ([#672](https://github.com/ruby/rbs/pull/672))
1986
+
1987
+ ## 1.2.0 (2021-04-21)
1988
+
1989
+ ### Summary
1990
+
1991
+ RBS 1.2 ships with better support for AST/token locations and `Locator` utility class. The AST objects now keep the locations of tokens. The `Locator` class is to translate the text position (line and column) to semantic object at the location. The class allows to find if a text position is on the class name of a class declaration.
1992
+
1993
+ ### Signature updates
1994
+
1995
+ * Hash ([#631](https://github.com/ruby/rbs/pull/631), [#632](https://github.com/ruby/rbs/pull/632), [\#637](https://github.com/ruby/rbs/pull/637), [\#638](https://github.com/ruby/rbs/pull/638), [\#639](https://github.com/ruby/rbs/pull/639), )
1996
+ * Module ([\#645](https://github.com/ruby/rbs/pull/645))
1997
+ * Enumerable ([\#647](https://github.com/ruby/rbs/pull/647))
1998
+ * Array ([\#648](https://github.com/ruby/rbs/pull/648))
1999
+ * Proc ([\#649](https://github.com/ruby/rbs/pull/649))
2000
+ * Struct ([\#650](https://github.com/ruby/rbs/pull/650), [\#668](https://github.com/ruby/rbs/pull/668))
2001
+ * Thread ([\#651](https://github.com/ruby/rbs/pull/651))
2002
+ * Random ([\#669](https://github.com/ruby/rbs/pull/669))
2003
+ * Shellwords ([\#665](https://github.com/ruby/rbs/pull/665))
2004
+ * IO ([\#659](https://github.com/ruby/rbs/pull/659))
2005
+
2006
+ ### Language updates
2007
+
2008
+ * Module self type syntax update ([\#653](https://github.com/ruby/rbs/pull/653))
2009
+
2010
+ ### Library changes
2011
+
2012
+ * Token locations ([\#666](https://github.com/ruby/rbs/pull/666))
2013
+ * Add RBS::Locator ([\#667](https://github.com/ruby/rbs/pull/667))
2014
+ * Fix runtime type checker ([\#644](https://github.com/ruby/rbs/pull/644))
2015
+
2016
+ ### Miscellaneous
2017
+
2018
+ * Update documentation for overloading ([\#658](https://github.com/ruby/rbs/pull/658))
2019
+ * Update target ruby version ([\#633](https://github.com/ruby/rbs/pull/633))
2020
+
2021
+ ## 1.1.1 (2021-03-12)
2022
+
2023
+ ### Signature updates
2024
+
2025
+ * rubygem ([#630](https://github.com/ruby/rbs/pull/630))
2026
+
2027
+ ## 1.1.0 (2021-03-08)
2028
+
2029
+ ### Summary
2030
+
2031
+ Errors are now organized by `RBS::BaseError`, `RBS::ParsingError`, `RBS::LoadingError`, and `RBS::DefinitionError`.
2032
+ The library users can rescue RBS related errors with `RBS::BaseError`, parsing errors with `RBS::ParsingError`, and other errors with `RBS::LoadingError` and `RBS::DefinitionErrors`.
2033
+
2034
+ Updating a part of environments are supported. Library users can remove declarations read from a set of files, adding new declarations, running name resolution related to the new decls, and deleting `DefinitionBuilder` caches related to the changes.
2035
+ See `RBS::Environment#reject`, `RBS::Environment#resolve_type_names`, `RBS::AncestorGraph`, and `RBS::DefinitionBuilder#update`.
2036
+
2037
+ `RBS::DefinitionBuilder#build_singleton` now returns definitions containing `instance` type, which had returned resolved class instance types. This is a breaking change, but we consider it a bug fix because `RBS::DefinitionBuilder#build_instance` has returned `instance` types and `#build_singleton` has returned `class` type.
2038
+
2039
+ ### Signature updates
2040
+
2041
+ * rubygem ([\#605](https://github.com/ruby/rbs/pull/605), [\#610](https://github.com/ruby/rbs/pull/610))
2042
+ * Array ([\#612](https://github.com/ruby/rbs/pull/612), [\#614](https://github.com/ruby/rbs/pull/614))
2043
+ * cgi/core ([\#599](https://github.com/ruby/rbs/pull/599))
2044
+ * Thread ([\#618](https://github.com/ruby/rbs/pull/618))
2045
+
2046
+ ### Language updates
2047
+
2048
+ * Allow trailing comma for Record and Tuple types ([\#606](https://github.com/ruby/rbs/pull/606))
2049
+
2050
+ ### Library changes
2051
+
2052
+ * Allow partial update of RBS declarations ([\#608](https://github.com/ruby/rbs/pull/608), [\#621](https://github.com/ruby/rbs/pull/621))
2053
+ * Let errors have `TypeName` ([\#611](https://github.com/ruby/rbs/pull/611))
2054
+ * Add `Parser::LexerError` ([\#615](https://github.com/ruby/rbs/pull/615))
2055
+ * Performance improvement ([\#617](https://github.com/ruby/rbs/pull/617), [\#620](https://github.com/ruby/rbs/pull/620))
2056
+ * No substitute `instance` types on `#build_singleton` ([\#619](https://github.com/ruby/rbs/pull/619))
2057
+
2058
+ ### Miscellaneous
2059
+
2060
+ * Make racc name customizable by `RACC` environment variable ([\#602](https://github.com/ruby/rbs/pull/602))
2061
+ * Suppress warnings ([\#624](https://github.com/ruby/rbs/pull/624))
2062
+ * Remove needless `Gem::Version` polyfill ([\#622](https://github.com/ruby/rbs/pull/622))
2063
+
2064
+ ## 1.0.6 (2021-02-17)
2065
+
2066
+ * Signature Updates
2067
+ * `Enumerable` ([\#595](https://github.com/ruby/rbs/pull/595), [\#596](https://github.com/ruby/rbs/pull/596), [\#601](https://github.com/ruby/rbs/pull/601))
2068
+ * `#as_json` ([\#597](https://github.com/ruby/rbs/pull/597))
2069
+
2070
+ ## 1.0.5 (2021-02-13)
2071
+
2072
+ * Signature Updates
2073
+ * Enumerable ([\#596](https://github.com/ruby/rbs/pull/596))
2074
+ * Set ([\#595](https://github.com/ruby/rbs/pull/595))
2075
+ * `#to_json` ([\#592](https://github.com/ruby/rbs/pull/592))
2076
+ * `<=>` ([\#593](https://github.com/ruby/rbs/pull/593))
2077
+ * Timeout ([\#586](https://github.com/ruby/rbs/pull/586))
2078
+ * URI::RFC2396_Parser ([\#587](https://github.com/ruby/rbs/pull/587))
2079
+ * Rename generic class parameters on re-open ([\#594](https://github.com/ruby/rbs/pull/594))
2080
+ * Make `refute_send_type` check that method call doesn't match with types in RBS ([\#588](https://github.com/ruby/rbs/pull/588))
2081
+
2082
+ ## 1.0.4 (2021-01-31)
2083
+
2084
+ * Unbundle `rr` to run test in `ruby/ruby` repo ([#585](https://github.com/ruby/rbs/pull/585))
2085
+
2086
+ ## 1.0.3 (2021-01-28)
2087
+
2088
+ * Set up `#ancestors` and `#location` of `RecursiveAncestorError` ([#583](https://github.com/ruby/rbs/pull/583))
2089
+
2090
+ ## 1.0.2 (2021-01-28)
2091
+
2092
+ * Signature Updates
2093
+ * Kernel([#582](https://github.com/ruby/rbs/pull/582))
2094
+
2095
+ ## 1.0.1 (2021-01-27)
2096
+
2097
+ * Signature Updates
2098
+ * PrettyPrint ([\#573](https://github.com/ruby/rbs/pull/573))
2099
+ * FileUtils ([\#576](https://github.com/ruby/rbs/pull/576))
2100
+ * UnboundMethod ([\#555](https://github.com/ruby/rbs/pull/555))
2101
+ * IO ([\#571](https://github.com/ruby/rbs/pull/571))
2102
+ * Kernel ([\#549](https://github.com/ruby/rbs/pull/549), [\#569](https://github.com/ruby/rbs/pull/569))
2103
+ * File ([\#552](https://github.com/ruby/rbs/pull/552))
2104
+ * Data is removed ([\#570](https://github.com/ruby/rbs/pull/570))
2105
+ * Module ([\#568](https://github.com/ruby/rbs/pull/568))
2106
+ * Object ([\#557](https://github.com/ruby/rbs/pull/557))
2107
+ * Renew test sample code ([#581](https://github.com/ruby/rbs/pull/581))
2108
+ * Add description to `generate:stdlib_test` Rake task ([\#578](https://github.com/ruby/rbs/pull/578))
2109
+ * Declare supported ruby version >= 2.6 ([\#548](https://github.com/ruby/rbs/pull/548))
2110
+ * Fix module self-type override ([\#577](https://github.com/ruby/rbs/pull/577))
2111
+ * Fix parser to support all operator symbols ([\#550](https://github.com/ruby/rbs/pull/550))
2112
+ * Migrate from Minitest to Test::Unit ([\#556](https://github.com/ruby/rbs/pull/556))
2113
+ * Fix type alias parsing ([\#565](https://github.com/ruby/rbs/pull/565))
2114
+ * Support end-less method definition in `prototype rb` ([\#561](https://github.com/ruby/rbs/pull/561))
2115
+ * Support method argument forwarding in `prototype rb` ([\#560](https://github.com/ruby/rbs/pull/560))
2116
+
2117
+ ## 1.0.0 (2020-12-24)
2118
+
2119
+ * Signature updates for `URI`, `IO`, `File`, `Pathname`, `Module`, and `Time` ([#529](https://github.com/ruby/rbs/pull/529), [#521](https://github.com/ruby/rbs/pull/521), [#520](https://github.com/ruby/rbs/pull/520), [#511](https://github.com/ruby/rbs/pull/511), [#517](https://github.com/ruby/rbs/pull/517), [#542](https://github.com/ruby/rbs/pull/542), [#546](https://github.com/ruby/rbs/pull/546), [#540](https://github.com/ruby/rbs/pull/540), [#538](https://github.com/ruby/rbs/pull/538))
2120
+ * `rbs prototype runtime` generates `extend`s ([#535](https://github.com/ruby/rbs/pull/535))
2121
+ * `rbs prototype runtime` stability improvements ([#533](https://github.com/ruby/rbs/pull/533), [#526](https://github.com/ruby/rbs/pull/526))
2122
+ * `rbs prototype rb` compatibility improvements ([#545](https://github.com/ruby/rbs/pull/545))
2123
+ * Implement method names escape in `RBS::Writer` ([#537](https://github.com/ruby/rbs/pull/537))
2124
+ * Improve runtime type checker compatibility ([#532](https://github.com/ruby/rbs/pull/532), [#528](https://github.com/ruby/rbs/pull/528), [#547](https://github.com/ruby/rbs/pull/547))
2125
+ * Fix `ruby2_keywords` for `Proc` in Ruby <2.7 ([#513](https://github.com/ruby/rbs/pull/513))
2126
+ * Better compatibility for record type attribute names ([#525](https://github.com/ruby/rbs/pull/525), [#524](https://github.com/ruby/rbs/pull/524))
2127
+ * Let module self-types be classes ([#523](https://github.com/ruby/rbs/pull/523))
2128
+ * Delete `extension` syntax ([#543](https://github.com/ruby/rbs/pull/543))
2129
+ * Method resolution improvements about `alias` and `.new` ([#522](https://github.com/ruby/rbs/pull/522), [#519](https://github.com/ruby/rbs/pull/519), [#516](https://github.com/ruby/rbs/pull/516))
2130
+ * Better message for `DuplicatedMethodDefinitionError` ([#539](https://github.com/ruby/rbs/pull/539))
2131
+
2132
+ ## 0.20.1 (2020-12-06)
2133
+
2134
+ * Make the order of RBS load reproducible ([#508](https://github.com/ruby/rbs/pull/508))
2135
+
2136
+ ## 0.20.0 (2020-12-06)
2137
+
2138
+ * Signature updates for `TSort`, `DBM`, `Time`, and `Hash` ([#496](https://github.com/ruby/rbs/pull/496), [#497](https://github.com/ruby/rbs/pull/497), [#499](https://github.com/ruby/rbs/pull/499), [#507](https://github.com/ruby/rbs/pull/507))
2139
+ * Add _singleton attribute_ syntax ([#502](https://github.com/ruby/rbs/pull/502), [#506](https://github.com/ruby/rbs/pull/506), [#505](https://github.com/ruby/rbs/pull/505))
2140
+ * Proc types with blocks ([#503](https://github.com/ruby/rbs/pull/503))
2141
+ * Add support for escape sequences in string literal types ([#501](https://github.com/ruby/rbs/pull/501))
2142
+ * Fix runtime type checking of blocks with keyword args ([#500](https://github.com/ruby/rbs/pull/500))
2143
+
2144
+ ## 0.19.0 (2020-12-02)
2145
+
2146
+ * Signature updates for `Monitor` and File ([#485](https://github.com/ruby/rbs/pull/485), [#495](https://github.com/ruby/rbs/pull/495))
2147
+
2148
+ ## 0.18.1 (2020-12-01)
2149
+
2150
+ * Fix `EnvironmentWalker#each_type_name` ([#494](https://github.com/ruby/rbs/pull/494))
2151
+
2152
+ ## 0.18.0 (2020-12-01)
2153
+
2154
+ * Signature updates for `YAML`, `ObjectSpace`, and `Singleton` ([#408](https://github.com/ruby/rbs/pull/408), [#477](https://github.com/ruby/rbs/pull/477), [#482](https://github.com/ruby/rbs/pull/482))
2155
+ * `prototype rb` improvements ([#492](https://github.com/ruby/rbs/pull/492), [#487](https://github.com/ruby/rbs/pull/487), [#486](https://github.com/ruby/rbs/pull/486), [#481](https://github.com/ruby/rbs/pull/481))
2156
+ * Runtime type checker improvements ([#488](https://github.com/ruby/rbs/pull/488), [#489](https://github.com/ruby/rbs/pull/489), [#490](https://github.com/ruby/rbs/pull/490))
2157
+ * Update `DependencyWalker` API to receive _Node_ objects instead of `TypeName` ([#484](https://github.com/ruby/rbs/pull/484))
2158
+ * Assume encoding of RBS files to be UTF-8 ([#493](https://github.com/ruby/rbs/pull/493))
2159
+
2160
+ ## 0.17.0 (2020-11-14)
2161
+
2162
+ * Signature updates for `Enumerable`, `Hash`, and `TSort` ([#462](https://github.com/ruby/rbs/pull/462), [#468](https://github.com/ruby/rbs/pull/468), [#471](https://github.com/ruby/rbs/pull/471), [#472](https://github.com/ruby/rbs/pull/472), [#473](https://github.com/ruby/rbs/pull/473), [#474](https://github.com/ruby/rbs/pull/474))
2163
+ * Parser error handling improvement ([#463](https://github.com/ruby/rbs/pull/463), [#475](https://github.com/ruby/rbs/pull/475))
2164
+ * Hash spread syntax handling improvement with `prototype rb` ([#465](https://github.com/ruby/rbs/pull/465))
2165
+
2166
+ ## 0.16.0 (2020-11-05)
2167
+
2168
+ * Signature update for `DBM` ([#441](https://github.com/ruby/rbs/pull/441))
2169
+ * RBS repository ([#405](https://github.com/ruby/rbs/pull/405))
2170
+ * Support `alias` in `rbs prototype rb` ([#457](https://github.com/ruby/rbs/pull/457))
2171
+
2172
+ ## 0.15.0 (2020-11-02)
2173
+
2174
+ * Signature updates for `Kernel`, `PStore`, `Enumerable`, and `Array` ([#450](https://github.com/ruby/rbs/pull/450), [#443](https://github.com/ruby/rbs/pull/443), [#438](https://github.com/ruby/rbs/pull/438), [#437](https://github.com/ruby/rbs/pull/437), [#433](https://github.com/ruby/rbs/pull/433), [#432](https://github.com/ruby/rbs/pull/432))
2175
+ * Add helper interfaces ([#434](https://github.com/ruby/rbs/pull/434), [#428](https://github.com/ruby/rbs/pull/428))
2176
+ * Change `bool` type semantics ([#456](https://github.com/ruby/rbs/pull/456))
2177
+ * Support alias in `rbs prototype rb` ([#457](https://github.com/ruby/rbs/pull/457))
2178
+ * Runtime testing improvements ([#455](https://github.com/ruby/rbs/pull/455), [#447](https://github.com/ruby/rbs/pull/447), [#444](https://github.com/ruby/rbs/pull/444), [#431](https://github.com/ruby/rbs/pull/431))
2179
+ * Fix proc type parsing ([#451](https://github.com/ruby/rbs/pull/451))
2180
+ * Fix type variable parsing ([#442](https://github.com/ruby/rbs/pull/442))
2181
+
2182
+
2183
+ ## 0.14.0 (2020-10-17)
2184
+
2185
+ * Allow keyword names ending with `?` and `!` ([#417](https://github.com/ruby/rbs/pull/417))
2186
+ * Make `Range[T]` covariant ([#418](https://github.com/ruby/rbs/pull/418))
2187
+
2188
+ ## 0.13.1 (2020-10-09)
2189
+
2190
+ * Fix test for CI of ruby/ruby ([#412](https://github.com/ruby/rbs/pull/412))
2191
+
2192
+ ## 0.13.0 (2020-10-09)
2193
+
2194
+ * Signature updates for `URI` classes.
2195
+ * Fix tests ([#410](https://github.com/ruby/rbs/pull/410))
2196
+ * Add `--silent` option for `rbs validate` ([#411](https://github.com/ruby/rbs/pull/411))
2197
+
2198
+ ## 0.12.2 (2020-09-17)
2199
+
2200
+ * Minor signature update for `pty`
2201
+ * Fix `PTY` stdlib test
2202
+
2203
+ ## 0.12.1 (2020-09-16)
2204
+
2205
+ This version is to improve Ruby 3 testing compatibility. Nothing changed for users.
2206
+
2207
+ ## 0.12.0 (2020-09-15)
2208
+
2209
+ * Signature updates for `forwardable`, `struct`, `set`, `URI::Generic`, `URI::File`, and `BigDecimal`.
2210
+ * Define `.new` methods from `initialize` included from modules [#390](https://github.com/ruby/rbs/pull/390)
2211
+
2212
+ ## 0.11.0 (2020-08-31)
2213
+
2214
+ * Signature update for `date/datetime` [#367](https://github.com/ruby/rbs/pull/367)
2215
+ * Add test double support for runtime type checker [#380](https://github.com/ruby/rbs/pull/380)
2216
+ * Add `rbs test` command for runtime type checking [#366](https://github.com/ruby/rbs/pull/366)
2217
+ * Fix runtime type checking for record types [#365](https://github.com/ruby/rbs/pull/365)
2218
+ * Improve EnvironmentLoader API [#370](https://github.com/ruby/rbs/pull/370)
2219
+ * Allow overloading from super methods [#364](https://github.com/ruby/rbs/pull/364)
2220
+
2221
+ ## 0.10.0 (2020-08-10)
2222
+
2223
+ * Signature update for `Zlib`
2224
+ * Make "no type checker installed" message a debug print [#363](https://github.com/ruby/rbs/pull/363)
2225
+ * Print `...` for overloading method definitions [#362](https://github.com/ruby/rbs/pull/362)
2226
+ * Allow missing method implementation in Ruby code [#359](https://github.com/ruby/rbs/pull/359)
2227
+ * Runtime testing improvements [#356](https://github.com/ruby/rbs/pull/356)
2228
+
2229
+ ## 0.9.1 (2020-08-04)
2230
+
2231
+ * Ensure using Module#name [#354](https://github.com/ruby/rbs/pull/354)
2232
+ * Fix runtime test setup [#353](https://github.com/ruby/rbs/pull/353)
2233
+
2234
+ ## 0.9.0 (2020-08-03)
2235
+
2236
+ * Fix signature validation [#351](https://github.com/ruby/rbs/pull/351), [#352](https://github.com/ruby/rbs/pull/352)
2237
+ * Parsing performance improvement [#350](https://github.com/ruby/rbs/pull/350)
2238
+
2239
+ ## 0.8.0 (2020-08-01)
2240
+
2241
+ * Signature updates for `Enumerator` and `PTY`
2242
+ * Fix prototype rb/rbi error handling [#349](https://github.com/ruby/rbs/pull/349)
2243
+ * Runtime test improvements [#344](https://github.com/ruby/rbs/pull/344), [#343](https://github.com/ruby/rbs/pull/343)
2244
+ * Add `...` syntax [#342](https://github.com/ruby/rbs/pull/342)
2245
+
2246
+ ## 0.7.0 (2020-07-20)
2247
+
2248
+ * Add `DefinitionBuilder#one_instance_ancestors` and `DefinitionBuilder#one_singleton_ancestors` [#341](https://github.com/ruby/rbs/pull/341)
2249
+ * Bug fix in ConstantTable [#340](https://github.com/ruby/rbs/pull/340)
2250
+ * Make `rbs validate` faster [#338](https://github.com/ruby/rbs/pull/338)
2251
+ * Dedup methods generated by `rbs prototype rb` [#334](https://github.com/ruby/rbs/pull/334)
2252
+
2253
+ ## 0.6.0 (2020-07-12)
2254
+
2255
+ * Signature update for `Logger`.
2256
+ * Clean `Environment#inspect`. [#331](https://github.com/ruby/rbs/pull/331)
2257
+ * Module self type syntax update. [#329](https://github.com/ruby/rbs/pull/329)
2258
+ * Better validation. [#328](https://github.com/ruby/rbs/pull/328)
2259
+ * Parser performance improvement. [#327](https://github.com/ruby/rbs/pull/327)
2260
+ * Runtime type checking performance improvements with sampling [#323](https://github.com/ruby/rbs/pull/323)
2261
+
2262
+ ## 0.5.0 (2020-07-04)
2263
+
2264
+ * Signature updates for `Mutex_m`, `IO`, and `Enumerable`.
2265
+ * Syntax update. [#307](https://github.com/ruby/rbs/pull/307)
2266
+ * AST command prints _absolute_ type names with file name filtering. [#312](https://github.com/ruby/rbs/pull/312)
2267
+ * Improve CLI message. [#309](https://github.com/ruby/rbs/pull/309)
2268
+
2269
+ ## 0.4.0 (2020-06-15)
2270
+
2271
+ * Signature update for `Fiber`, `Encoding`, and `Enumerator`.
2272
+ * Fix syntax error for underscore and `!` `?` [#304](https://github.com/ruby/rbs/pull/304)
2273
+ * Improved return type inference in `rbs prototype rb` [#303](https://github.com/ruby/rbs/pull/303)
2274
+ * Skip anonymous modules/classes in `rbs prototype runtime` [#302](https://github.com/ruby/rbs/pull/302)
2275
+ * Fix `--require-relative` option in `rbs prototype runtime` [#299](https://github.com/ruby/rbs/pull/299)
2276
+ * Add JSON schema for `rbs ast` [#295](https://github.com/ruby/rbs/pull/295)
2277
+
2278
+ ## 0.3.1 (2020-05-22)
2279
+
2280
+ * Fix constant resolution again [#289](https://github.com/ruby/rbs/pull/289)
2281
+
2282
+ ## 0.3.0 (2020-05-20)
2283
+
2284
+ * Fix constant resolution [#288](https://github.com/ruby/rbs/pull/288)
2285
+
2286
+ ## 0.2.0
2287
+
2288
+ * The first release of RBS gem.
2289
+
2290
+ ## 0.1.0
2291
+
2292
+ * Version 0.1.0 is the original `rbs` gem and it is different software from RBS.