From 5d917366c9f9d95aeb9e302ecf442249ccd9e51d Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 18 Aug 2026 08:48:10 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_01LrJnRwFjCYw9h5U8LkRqqP --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ Gemfile.lock | 2 +- lib/rbs/version.rb | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 566b88224..2138096f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # CHANGELOG +## 4.2.0.pre.1 (2026-08-18) + +### Language updates + +* Gate forwarding parameter syntax behind parser option ([#3087](https://github.com/ruby/rbs/pull/3087)) +* Support non-ASCII identifiers ([#3082](https://github.com/ruby/rbs/pull/3082)) +* Support forwarding parameters in method types ([#3042](https://github.com/ruby/rbs/pull/3042)) + +### Library changes + +* Stop the lexer reading past the end of a byte_range ([#3040](https://github.com/ruby/rbs/pull/3040)) +* 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)) +* Handle the NULL parser in the WebAssembly shim ([#3085](https://github.com/ruby/rbs/pull/3085)) +* Reject a byte position the lexer cannot start on ([#3083](https://github.com/ruby/rbs/pull/3083)) +* Don't use Clang nullability qualifiers in strict ISO C mode ([#3074](https://github.com/ruby/rbs/pull/3074)) +* Avoid eagerly inspecting call traces in type assertions ([#3073](https://github.com/ruby/rbs/pull/3073)) +* Fix TypeParam.rename to substitute variables in bounds and default types ([#3068](https://github.com/ruby/rbs/pull/3068)) +* Extract per-declaration type param alignment into entry-level align_params ([#3070](https://github.com/ruby/rbs/pull/3070)) +* Align type params across declarations in module-self types and superclass validation ([#3067](https://github.com/ruby/rbs/pull/3067)) +* Build the wasm module with -DNDEBUG ([#3066](https://github.com/ruby/rbs/pull/3066)) +* Rename NODISCARD macro to RBS_NODISCARD ([#3065](https://github.com/ruby/rbs/pull/3065)) + +### Miscellaneous + +* Skip JSON 2-only tests with JSON 3 ([#3084](https://github.com/ruby/rbs/pull/3084)) +* Pin GitHub Actions to commit hashes ([#3020](https://github.com/ruby/rbs/pull/3020)) + ## 4.1.3 (2026-08-10) ### Miscellaneous diff --git a/Gemfile.lock b/Gemfile.lock index d0019f3c3..e7291617e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -22,7 +22,7 @@ GIT PATH remote: . specs: - rbs (4.2.0.dev) + rbs (4.2.0.pre.1) logger prism (>= 1.6.0) tsort diff --git a/lib/rbs/version.rb b/lib/rbs/version.rb index db11861cd..44c4b5bce 100644 --- a/lib/rbs/version.rb +++ b/lib/rbs/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module RBS - VERSION = "4.2.0.dev" + VERSION = "4.2.0.pre.1" end