Skip to content

Bump Ruby versions, supporting Ruby 4.0.x for development - #454

Merged
myabc merged 6 commits into
mainfrom
housekeeping/ruby-4.0.2
May 13, 2026
Merged

Bump Ruby versions, supporting Ruby 4.0.x for development#454
myabc merged 6 commits into
mainfrom
housekeeping/ruby-4.0.2

Conversation

@myabc

@myabc myabc commented May 13, 2026

Copy link
Copy Markdown
Collaborator

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:

  • Bumps pry-byebug to 3.12.0 (allows pry 0.16 with Reline, fixing Ruby 4.0 compatibility)
  • Raises minimum Ruby version from 3.2 to 3.3 in gemspec
  • Updates all CI workflows to use Ruby 3.4 as the default
  • Adds Ruby 4.0 to the CI test matrix (core and latest entries)
  • Renames "dotcom" matrix label to "core" and updates Rails to 8.1.3
  • Bumps bootsnap from 1.23.0 to 1.24.4 (fixes coverage/compile cache conflict on Ruby 4.0)

Test plan

  • CI passes with Ruby 3.4 across all workflows
  • Matrix tests pass for Ruby 4.0 with Rails 8.1.3 and latest

pry-byebug 3.12.0 allows pry 0.16, which defaults to Reline instead
of Readline, fixing compatibility with Ruby 4.0.
@changeset-bot

changeset-bot Bot commented May 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b664786

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@openproject/primer-view-components Minor

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

@myabc myabc added the skip changeset For PRs that contain no relevant release data (e.g. documentation only) label May 13, 2026
myabc added 2 commits May 13, 2026 18:11
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.
@myabc myabc changed the title Ruby 4.0.2 support: Bump pry-byebug to 3.12.0 Ruby 4.0.2 support May 13, 2026
Fixes coverage/compile cache conflict on Ruby 4.0.
@myabc myabc changed the title Ruby 4.0.2 support Bump Ruby versions, supporting Ruby 4.0.x for development May 13, 2026
@myabc myabc added maintenance Keeping the fork up do date with the base repo and removed skip changeset For PRs that contain no relevant release data (e.g. documentation only) labels May 13, 2026
@github-actions

Copy link
Copy Markdown

⚠️ Visual or ARIA snapshot differences found

Our visual and ARIA snapshot tests found UI differences. Please review the differences by viewing the files changed tab to ensure that the changes were intentional.

Review differences

@myabc
myabc marked this pull request as ready for review May 13, 2026 16:49
Copilot AI review requested due to automatic review settings May 13, 2026 16:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.
@myabc
myabc merged commit c94aa62 into main May 13, 2026
38 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Keeping the fork up do date with the base repo minor release

Development

Successfully merging this pull request may close these issues.

3 participants