Bump Ruby versions, supporting Ruby 4.0.x for development - #454
Merged
Conversation
pry-byebug 3.12.0 allows pry 0.16, which defaults to Reline instead of Readline, fixing compatibility with Ruby 4.0.
🦋 Changeset detectedLatest commit: b664786 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Drop Ruby 3.2 support and update all GitHub Actions workflows to use Ruby 3.4 as the default version.
Renames "dotcom" to "core" to reflect our project context. Adds Ruby 4.0 testing for core and latest entries. Bumps Rails from 8.1.0.beta1 to 8.1.3 for core.
Fixes coverage/compile cache conflict on Ruby 4.0.
|
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s Ruby support baseline and CI runtime coverage, aligning the Primer ViewComponents fork with newer Ruby/Rails development targets.
Changes:
- Raises the gem’s minimum Ruby version to 3.3 and updates CI defaults to Ruby 3.4.
- Adds Ruby 4.0 coverage through the shared Rails/Ruby matrix.
- Updates related lockfile dependencies and adds a changeset for the release.
Reviewed changes
Copilot reviewed 12 out of 18 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
primer_view_components.gemspec |
Raises required Ruby version to 3.3. |
Gemfile.lock |
Updates root bootsnap dependency. |
demo/Gemfile.lock |
Updates demo debugging dependencies. |
demo/gemfiles/kuby.gemfile.lock |
Updates Kuby/debugging dependency resolution and Bundler version. |
.github/version-matrix.json |
Updates Rails/Ruby CI matrix labels and versions. |
.github/workflows/test-visual.yml |
Moves visual tests to Ruby 3.4. |
.github/workflows/test-system.yml |
Moves system tests to Ruby 3.4. |
.github/workflows/test-selectors.yml |
Moves selector tests to Ruby 3.4. |
.github/workflows/static-files.yml |
Moves static generation workflow to Ruby 3.4. |
.github/workflows/release.yml |
Moves release jobs to Ruby 3.4. |
.github/workflows/preview-deploy.yml |
Moves preview deploy dependency installs to Ruby 3.4. |
.github/workflows/lint.yml |
Moves Ruby lint jobs to Ruby 3.4. |
.github/workflows/demo-production-deploy.yml |
Moves demo production deploy jobs and cache key to Ruby 3.4. |
.github/workflows/demo-preview-cleanup.yml |
Moves preview cleanup script runtime to Ruby 3.4. |
.changeset/bump-ruby-versions.md |
Adds release note for Ruby/Rails support changes. |
| "label": "last", | ||
| "rails_version": "8.0.0", | ||
| "ruby_version": "3.3" | ||
| "ruby_version": "3.4" |
| '@openproject/primer-view-components': minor | ||
| --- | ||
|
|
||
| Bump Ruby versions, supporting Ruby 4.0.x for development and testing against 3.4 and 4.0 on CI. Also aligns Rails version with core. |
oliverguenther
approved these changes
May 13, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps Ruby versions, supporting Ruby 4.0.x for development and testing against 3.4 and 4.0 on CI. Also aligns Rails version with core.
In detail:
Test plan