Skip to content

Upgrade Ruby from 3.2.9 to 3.4.7#6

Merged
HamptonMakes merged 1 commit into
mainfrom
upgrade-ruby-3.4
Feb 23, 2026
Merged

Upgrade Ruby from 3.2.9 to 3.4.7#6
HamptonMakes merged 1 commit into
mainfrom
upgrade-ruby-3.4

Conversation

@jkornwitz-sq

Copy link
Copy Markdown
Collaborator

Why

Ruby 3.2 reaches EOL on March 31, 2026 — just over a month away.

What changed

  • .ruby-version: 3.2.9 → 3.4.7
  • Dockerfile: updated RUBY_VERSION arg

Verified

  • All 152 tests pass on Ruby 3.4.7
  • bundle install succeeds with no gem incompatibilities

Unlocks

Ruby 3.3+ adds native SecureRandom.uuid_v7, which produces time-ordered UUIDs with better B-tree index performance than the current UUIDv4. A follow-up PR can switch ApplicationRecord#assign_uuid to use it:

def assign_uuid
  self.id = SecureRandom.uuid_v7
end

Ruby 3.2 reaches EOL on March 31, 2026. Ruby 3.4 is supported through
March 2028.

This also unlocks native SecureRandom.uuid_v7 (added in Ruby 3.3),
which enables time-ordered UUIDs for better database index performance.
A follow-up PR can switch ApplicationRecord#assign_uuid to use uuid_v7.

Amp-Thread-ID: https://ampcode.com/threads/T-019c7d17-f580-76a7-9ce6-3d6abdf7d9af
Co-authored-by: Amp <amp@ampcode.com>
@HamptonMakes
HamptonMakes merged commit 5073188 into main Feb 23, 2026
4 checks passed
@HamptonMakes
HamptonMakes deleted the upgrade-ruby-3.4 branch February 23, 2026 18:06
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