Skip to content

build: bump tested Rails 8 versions to 8.0.5.2 and 8.1.4.1 - #186

Open
eitoball wants to merge 1 commit into
masterfrom
bump-rails-8.0.5.2-8.1.4.1
Open

eitoball wants to merge 1 commit into
masterfrom
bump-rails-8.0.5.2-8.1.4.1

Conversation

@eitoball

Copy link
Copy Markdown
Contributor

What

Bump the Rails 8 appraisals from 8.0.5.1/8.1.3.1 to the security releases 8.0.5.2/8.1.4.1.

Why

Rails 8.0.5.2 and 8.1.4.1 fix 21 security advisories across Active Storage, Action Pack, Action Dispatch, Action View, Active Support and Action Mailbox. CI should test against the patched versions.

Changes

  • Appraisals: update rails8.0.5.1/active8.0.5.1/rails8.1.3.1/active8.1.3.1 to 8.0.5.2/8.1.4.1
  • gemfiles/: rename the four .gemfile/.gemfile.lock pairs and relock with bundle lock --conservative under Ruby 3.2 (same as build: bump tested Rails versions to 7.1.6, 7.2.3.2, 8.0.5.1, 8.1.3.1 #175). Other gems change only where the new Rails requires it (rails-html-sanitizer 1.7.2, loofah 2.25.3, nokogiri 1.19.7, net-*, date, uri)
  • .github/workflows/build.yml: update the gemfile matrix and the Ruby 3.1 excludes to the new names

Notes

  • Locally, active8.0.5.2/active8.1.4.1 pass with 68 examples and 0 failures on Ruby 3.2. The rails* gemfiles could not run locally because nokogiri's native extension fails to build (broken Xcode CLT on this machine, same as build: bump tested Rails versions to 7.1.6, 7.2.3.2, 8.0.5.1, 8.1.3.1 #175). CI will check those.
  • Rails 7.1/7.2 got no patch releases (EOL), so those appraisals stay unchanged.
  • This does not resolve Dependabot alert made rspec requirement less restrictive #22 (root Gemfile.lock activesupport 7.2.3.1, GHSA-8474-xrp6-wh69). Its first patched version is 8.0.5.2, which needs Ruby >= 3.2. Fixing it means dropping Ruby 3.1 support, so that is left for a separate PR.

🤖 Generated with Claude Code

Rails 8.0.5.2 and 8.1.4.1 are security releases fixing 21 advisories
(Active Storage, Action Pack, Action View, Active Support, etc.), so the
appraisal matrix should test against the patched versions. Lockfiles were
re-resolved conservatively under Ruby 3.2 to keep unrelated gems pinned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 11, 2026 22:11

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.

🟢 Approval recommended

No active review issues are recorded for the Rails 8 compatibility matrix refresh.

No open issues 🎉

What changed in this PR

Updates the gem’s Rails 8 compatibility test environments to security releases 8.0.5.2 and 8.1.4.1, continuing the Rails matrix refresh from #175 without changing library code.

Changes:

  • Updates four Rails and ActiveRecord appraisals and their generated Gemfiles.
  • Refreshes lockfiles with patched Rails components and supporting dependencies.
  • Aligns CI matrix names and Ruby 3.1 exclusions with the renamed appraisals; Rails 7 coverage remains unchanged.
File Description
gemfiles/​rails8.1.4.1.gemfile.lock Locks Rails 8.1.4.1 and updated dependencies.
gemfiles/​rails8.1.4.1.gemfile Pins the full Rails appraisal to 8.1.4.1.
gemfiles/​rails8.0.5.2.gemfile.lock Locks Rails 8.0.5.2 and updated dependencies.
gemfiles/​rails8.0.5.2.gemfile Pins the full Rails appraisal to 8.0.5.2.
gemfiles/​active8.1.4.1.gemfile.lock Locks ActiveRecord and ActiveSupport 8.1.4.1; updates URI.
gemfiles/​active8.1.4.1.gemfile Pins ActiveRecord and ActiveSupport to 8.1.4.1.
gemfiles/​active8.0.5.2.gemfile.lock Locks ActiveRecord and ActiveSupport 8.0.5.2; updates URI.
gemfiles/​active8.0.5.2.gemfile Pins ActiveRecord and ActiveSupport to 8.0.5.2.
Appraisals Renames and updates all four Rails 8 appraisal definitions.
.github/​workflows/​build.yml Updates CI appraisal names and preserves Ruby 3.1 exclusions.

Review effort: Balanced

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