Skip to content

Bump tapioca to 0.19.1 & remove support for EOL Ruby 3.2#595

Merged
KaanOzkan merged 2 commits into
mainfrom
ko-bump-tapioca
Apr 24, 2026
Merged

Bump tapioca to 0.19.1 & remove support for EOL Ruby 3.2#595
KaanOzkan merged 2 commits into
mainfrom
ko-bump-tapioca

Conversation

@KaanOzkan
Copy link
Copy Markdown
Contributor

@KaanOzkan KaanOzkan commented Apr 23, 2026

Bump tapioca to 0.19.1

Fixes a CI failure in bin/export-rbi --check-sync:

NoMethodError: undefined method `has_rest' for #<T::Private::Methods::Signature>
  tapioca-0.19.0/lib/tapioca/gem/listeners/sorbet_signatures.rb:26:in `compile_signature'

Caused by a sorbet-runtime API change that 0.19.1 accounts for.

Also regenerates gem RBIs via bin/tapioca gem --all to pick up updated tapioca, sorbet, spoom, and other transitive deps.

Drop Ruby 3.2, add 4.0

Ruby 3.2 reached end-of-life on 2026-03-31. Bumps required_ruby_version in the gemspec from >= 3.2 to >= 3.3.

This also unblocks the transitive parallel 2.x update pulled in alongside tapioca 0.19.1 — parallel 2.0 requires Ruby >= 3.3, which broke the old 3.2 matrix job.

Adds 4.0 to the CI matrix so we validate against the Ruby version already used locally (.ruby-version is 4.0.1).

Fixes `NoMethodError: undefined method 'has_rest'` in
`Tapioca::Gem::Listeners::SorbetSignatures#compile_signature` caused by
a `sorbet-runtime` API change. The failure surfaced in CI during
`bin/export-rbi --check-sync` (which runs `tapioca gem rbi`).

Also regenerates gem RBIs via `bin/tapioca gem --all` to pick up the
updated `tapioca`, `sorbet`, `spoom`, and other transitive dep versions.
@KaanOzkan KaanOzkan requested a review from a team as a code owner April 23, 2026 18:53
Ruby 3.2 reached end-of-life on 2026-03-31. Bumps
`required_ruby_version` in the gemspec from `>= 3.2` to `>= 3.3`.

This is also what unblocks the transitive `parallel` 2.x bump pulled
in alongside `tapioca` 0.19.1 — `parallel` 2.0 requires Ruby >= 3.3.

Adds `4.0` to the CI matrix so we validate against the Ruby version
already used locally (`.ruby-version` is 4.0.1).
@KaanOzkan KaanOzkan changed the title Bump tapioca to 0.19.1 Bump tapioca to 0.19.1 & remove support for EOL Ruby 3.2 Apr 23, 2026
fail-fast: false
matrix:
ruby: [ "3.2", "3.3", "3.4" ]
ruby: [ "3.3", "3.4", "4.0" ]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated main protection rules to require 4.0 and removed 3.2

@KaanOzkan KaanOzkan merged commit d87dc6e into main Apr 24, 2026
11 checks passed
@KaanOzkan KaanOzkan deleted the ko-bump-tapioca branch April 24, 2026 13:29
amomchilov added a commit to Shopify/spoom that referenced this pull request Jun 6, 2026
In order to be compatible with the latest RBI release.

Motivation: Shopify/rbi#595
amomchilov added a commit to Shopify/spoom that referenced this pull request Jun 6, 2026
In order to be compatible with the latest RBI release.

Motivation: Shopify/rbi#595
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants