Skip to content

Bump to Ruby 4.0.10 - #384

Merged
etagwerker merged 1 commit into
mainfrom
bump-ruby-4.0.10
Nov 24, 2026
Merged

etagwerker merged 1 commit into
mainfrom
bump-ruby-4.0.10

Conversation

@etagwerker

Copy link
Copy Markdown
Member

Jira Ticket

N/A

Motivation / Context

#381 got us onto Ruby 3.4.13 to pick up the fixes for the Regexp and String case conversion CVEs. This takes the next step and moves us to Ruby 4.0.10, which ships the same fixes and keeps us on the current major release.

Changes:

  • ruby "4.0.10" in the Gemfile (Gemfile.next is a symlink to it) and in both lockfiles
  • cimg/ruby:4.0.10-browsers in the Dockerfile
  • ruby-version: "4.0.10" in tests.yml and tests-next.yml
  • ffi 1.16.3 -> 1.17.4. 1.16.3 fails to build its native extension on recent macOS (clang: error: unsupported option '-print-multi-os-directory'), and 1.17.x ships precompiled platform gems. This was already blocking bundle install locally on 3.4.13.

No other gem changes were needed. The bundle resolves on 4.0.10 as is.

QA / Testing Instructions

Locally on Ruby 4.0.10:

  • bundle install works
  • The app eager loads (Rails 8.0.5.1)
  • Non-feature specs: 163 examples, 0 failures

I couldn't verify the feature specs locally. They time out on visit (Net::ReadTimeout) with headless Firefox, but they fail the same way on 3.4.13 on the same machine, so it looks like a local driver issue and not a Ruby 4 one. Could we lean on CI for those?

A couple of things to keep an eye on:

  • spring 3.0.0 warns about mutex_m no longer being a default gem
  • Redcarpet warns about undefining the allocator of Redcarpet::Markdown

Neither breaks anything today.

Could someone double check that the cimg/ruby:4.0.10-browsers image is published before we merge?

Screenshots:

N/A


I will abide by the code of conduct.

🤖 Generated with Claude Code

Ruby 4.0.10 is the current patched release in the 4.0 series and
includes the fixes for the Regexp and String case conversion CVEs
announced on 2026-11-18.

Also bumps ffi from 1.16.3 to 1.17.4. ffi 1.16.3 fails to build its
native extension on recent macOS toolchains, and 1.17.x ships
precompiled platform gems.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@etagwerker
etagwerker marked this pull request as ready for review November 24, 2026 21:01
@etagwerker
etagwerker merged commit 040fb6d into main Nov 24, 2026
2 checks passed
@etagwerker
etagwerker deleted the bump-ruby-4.0.10 branch November 24, 2026 21:02
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.

1 participant