Skip to content

Commit 5d91736

Browse files
committed
Version 4.2.0.pre.1
The first prerelease of the 4.2 line, cut from `master` after 4.1.2. `Gemfile.lock` is regenerated with the bump, and CHANGELOG.md gains the 4.2.0.pre.1 section. The changelog starts at `v4.1.2`, the latest tag reachable from `master`, which is how a prerelease is written up: 4.1.3 was cut from `aaa-4.1.x`, so the two changes it backported are listed here under the pull requests they were written in. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LrJnRwFjCYw9h5U8LkRqqP
1 parent 3d8ffc4 commit 5d91736

3 files changed

Lines changed: 29 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# CHANGELOG
22

3+
## 4.2.0.pre.1 (2026-08-18)
4+
5+
### Language updates
6+
7+
* Gate forwarding parameter syntax behind parser option ([#3087](https://github.com/ruby/rbs/pull/3087))
8+
* Support non-ASCII identifiers ([#3082](https://github.com/ruby/rbs/pull/3082))
9+
* Support forwarding parameters in method types ([#3042](https://github.com/ruby/rbs/pull/3042))
10+
11+
### Library changes
12+
13+
* Stop the lexer reading past the end of a byte_range ([#3040](https://github.com/ruby/rbs/pull/3040))
14+
* Exclude CR from comment tokens to fix an off-by-one Location#end_line on CRLF files ([#3069](https://github.com/ruby/rbs/pull/3069))
15+
* Handle the NULL parser in the WebAssembly shim ([#3085](https://github.com/ruby/rbs/pull/3085))
16+
* Reject a byte position the lexer cannot start on ([#3083](https://github.com/ruby/rbs/pull/3083))
17+
* Don't use Clang nullability qualifiers in strict ISO C mode ([#3074](https://github.com/ruby/rbs/pull/3074))
18+
* Avoid eagerly inspecting call traces in type assertions ([#3073](https://github.com/ruby/rbs/pull/3073))
19+
* Fix TypeParam.rename to substitute variables in bounds and default types ([#3068](https://github.com/ruby/rbs/pull/3068))
20+
* Extract per-declaration type param alignment into entry-level align_params ([#3070](https://github.com/ruby/rbs/pull/3070))
21+
* Align type params across declarations in module-self types and superclass validation ([#3067](https://github.com/ruby/rbs/pull/3067))
22+
* Build the wasm module with -DNDEBUG ([#3066](https://github.com/ruby/rbs/pull/3066))
23+
* Rename NODISCARD macro to RBS_NODISCARD ([#3065](https://github.com/ruby/rbs/pull/3065))
24+
25+
### Miscellaneous
26+
27+
* Skip JSON 2-only tests with JSON 3 ([#3084](https://github.com/ruby/rbs/pull/3084))
28+
* Pin GitHub Actions to commit hashes ([#3020](https://github.com/ruby/rbs/pull/3020))
29+
330
## 4.1.3 (2026-08-10)
431

532
### Miscellaneous

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ GIT
2222
PATH
2323
remote: .
2424
specs:
25-
rbs (4.2.0.dev)
25+
rbs (4.2.0.pre.1)
2626
logger
2727
prism (>= 1.6.0)
2828
tsort

lib/rbs/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module RBS
4-
VERSION = "4.2.0.dev"
4+
VERSION = "4.2.0.pre.1"
55
end

0 commit comments

Comments
 (0)