Skip to content

Remove Rails 7.1 support#1585

Merged
scarroll32 merged 5 commits intomainfrom
copilot/fix-825743f9-dc09-41ed-94eb-03a77413adae
Sep 25, 2025
Merged

Remove Rails 7.1 support#1585
scarroll32 merged 5 commits intomainfrom
copilot/fix-825743f9-dc09-41ed-94eb-03a77413adae

Conversation

Copy link
Contributor

Copilot AI commented Sep 24, 2025

Rails 7.1 reaches end-of-life on October 1, 2025, with security support ending on that date. This PR removes support for Rails 7.1 in preparation for that milestone.

Changes

  • Gemspec: Updated minimum Rails requirement from >= 7.1 to >= 7.2 for both activerecord and activesupport dependencies
  • Library code: Simplified conditional logic in lib/ransack.rb by removing the version check for active_support/deprecator since Rails 7.2+ always includes it
  • CI matrix: Removed v7.1.0 from all test environments (SQLite3, MySQL, PostGIS, PostgreSQL) in the GitHub Actions workflow
  • Documentation: Updated README.md and docs to reflect that Ransack now supports Rails 8.0 and 7.2 only
  • Changelog: Added entry documenting the Rails 7.1 support removal

Important Note

The changes are minimal and surgical, focusing only on version requirements while maintaining backward compatibility for all supported Rails versions (7.2+). Existing Rails 7+ specific test logic remains unchanged as it continues to apply to Rails 7.2+.

Fixes #1567

Copilot AI changed the title [WIP] Remove Rails 7.1 support Remove Rails 7.1 support Sep 24, 2025
Copilot AI requested a review from scarroll32 September 24, 2025 14:00
@scarroll32 scarroll32 marked this pull request as ready for review September 25, 2025 15:50
@scarroll32 scarroll32 requested review from Copilot and removed request for scarroll32 September 25, 2025 15:51
Copy link
Contributor

Copilot AI left a comment

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 removes support for Rails 7.1 from the Ransack gem in preparation for Rails 7.1's end-of-life on October 1, 2025. The changes update dependency requirements and remove Rails 7.1 from testing environments.

  • Updated minimum Rails dependency from 7.1 to 7.2 in gemspec
  • Simplified conditional logic for ActiveSupport deprecator since Rails 7.2+ always includes it
  • Removed Rails 7.1 from CI test matrix across all database environments

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ransack.gemspec Updated Rails dependencies to require version 7.2 or higher
lib/ransack.rb Removed version check for active_support/deprecator since Rails 7.2+ always includes it
docs/docs/intro.md Updated documentation to reflect Rails 8.0 and 7.2 support only
README.md Updated Rails version support statement to remove 7.1
CHANGELOG.md Added entry documenting Rails 7.1 support removal
.github/workflows/test.yml Removed Rails 7.1 from CI test matrix for all database environments

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@scarroll32 scarroll32 force-pushed the copilot/fix-825743f9-dc09-41ed-94eb-03a77413adae branch from acfc031 to 49f8838 Compare September 25, 2025 15:57
@scarroll32 scarroll32 requested a review from Copilot September 25, 2025 15:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@scarroll32 scarroll32 enabled auto-merge (squash) September 25, 2025 15:59
@scarroll32 scarroll32 disabled auto-merge September 25, 2025 16:10
@scarroll32 scarroll32 force-pushed the copilot/fix-825743f9-dc09-41ed-94eb-03a77413adae branch from 43faa48 to a5d2cd7 Compare September 25, 2025 16:11
@scarroll32 scarroll32 enabled auto-merge (squash) September 25, 2025 16:13
@scarroll32 scarroll32 disabled auto-merge September 25, 2025 16:18
@scarroll32 scarroll32 enabled auto-merge (squash) September 25, 2025 16:18
@scarroll32 scarroll32 disabled auto-merge September 25, 2025 16:24
@scarroll32 scarroll32 merged commit 0189ed1 into main Sep 25, 2025
16 checks passed
@scarroll32 scarroll32 deleted the copilot/fix-825743f9-dc09-41ed-94eb-03a77413adae branch September 25, 2025 16:24
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.

Remove Rails 7.1 support

3 participants