Skip to content

Commit c02bafb

Browse files
committed
Version 2.6.0
1 parent a2ed9ff commit c02bafb

3 files changed

Lines changed: 59 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,63 @@
22

33
## master
44

5+
## 2.6.0 (2022-06-22)
6+
7+
RBS 2.6 ships with `rbs prototype` commands improvements and signature updates.
8+
New minitest RBS definitions will help you to type check your tests.
9+
10+
### Signature updates
11+
12+
* etc ([\#1006](https://github.com/ruby/rbs/pull/1006))
13+
* minitest ([\#1009](https://github.com/ruby/rbs/pull/1009))
14+
* date ([\#1033](https://github.com/ruby/rbs/pull/1033))
15+
* `ENV`. `ARGF`, `Random::Base` ([\#1041](https://github.com/ruby/rbs/pull/1041))
16+
* `Hash#dig` ([\#1011](https://github.com/ruby/rbs/pull/1011))
17+
* `Hash#reject` ([\#1016](https://github.com/ruby/rbs/pull/1016))
18+
* `Kernel?.fail` ([\#1026](https://github.com/ruby/rbs/pull/1026), [\#1028](https://github.com/ruby/rbs/pull/1028))
19+
* `Rational#*` ([\#1012](https://github.com/ruby/rbs/pull/1012))
20+
* `Regexp.new` ([\#1040](https://github.com/ruby/rbs/pull/1040))
21+
22+
### Library changes
23+
24+
* Add `visibility` columns in {AttrReader,AttrAccessor,AttrWriter}#to_json ([\#1014](https://github.com/ruby/rbs/pull/1014))
25+
* Add support for RSpec's verifying doubles in test setup helper ([\#1015](https://github.com/ruby/rbs/pull/1015))
26+
* Fix lexer to analyze escape characters ([\#1043](https://github.com/ruby/rbs/pull/1043))
27+
28+
#### rbs prototype
29+
30+
* [rb] Support the case where the return value is `self` ([\#1003](https://github.com/ruby/rbs/pull/1003))
31+
* [rb] Lean to the optional side ([\#1021](https://github.com/ruby/rbs/pull/1021))
32+
* [rb] Fix method commenting ([\#1027](https://github.com/ruby/rbs/pull/1027))
33+
* [runtime] Fix decls of output from `Prototype::Runtime` ([\#1030](https://github.com/ruby/rbs/pull/1030))
34+
* [runtime] Fix class name resolution of prototype runtime ([\#1032](https://github.com/ruby/rbs/pull/1032))
35+
* [rbi] Improve `Prototype::RBI` ([\#1018](https://github.com/ruby/rbs/pull/1018))
36+
37+
### Miscellaneous
38+
39+
* Fix typo in `CONTRIBUTING.md` ([\#1004](https://github.com/ruby/rbs/pull/1004))
40+
* Use manifest.yaml instead of manually for validate task ([\#1010](https://github.com/ruby/rbs/pull/1010))
41+
* Update re2c ([\#1017](https://github.com/ruby/rbs/pull/1017))
42+
* Type check `Prototype::RB` ([\#1019](https://github.com/ruby/rbs/pull/1019))
43+
* Minor cleanup & fix ([\#1020](https://github.com/ruby/rbs/pull/1020))
44+
* Fix type errors ([\#1023](https://github.com/ruby/rbs/pull/1023))
45+
* Clarify GHA step name for rake annotate ([\#1024](https://github.com/ruby/rbs/pull/1024))
46+
* Silence parser warning ([\#1039](https://github.com/ruby/rbs/pull/1039))
47+
* Fix warnings ([\#1035](https://github.com/ruby/rbs/pull/1035)
48+
49+
## 2.5.1 (2022-06-19)
50+
51+
This is a maintenance release mainly to fix errors detected in CI of `ruby/ruby`.
52+
Nothing changed related to the users of RBS gem.
53+
54+
### Miscellaneous
55+
56+
* Skip failing tests on ruby/ruby CI ([\#1036](https://github.com/ruby/rbs/pull/1036))
57+
* 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)
58+
* Fix `Regexp.new` argument ([\#1034](https://github.com/ruby/rbs/pull/1034))
59+
* Fix errors with OpenSSL 3 ([\#1029](https://github.com/ruby/rbs/pull/1029))
60+
* Fix `OpenSSL::PKey::PKeyError: EVP_PKEY_keygen: bad ffc parameters` with OpenSSL 3 ([\#1005](https://github.com/ruby/rbs/pull/1005))
61+
562
## 2.5.0 (2022-05-20)
663

764
This is a minor release with tuple type/record type syntax updates and `rbs prototype` improvements.

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
rbs (2.5.0)
4+
rbs (2.6.0)
55

66
PATH
77
remote: test/assets/test-gem

lib/rbs/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module RBS
2-
VERSION = "2.5.0"
2+
VERSION = "2.6.0"
33
end

0 commit comments

Comments
 (0)