Skip to content

Conversation

@zhuravel
Copy link
Contributor

Issue #, if available:

Description of changes:

  • Add support for Rails 8.1
  • Add Ruby 3.4, Rails 8.1, PostgreSQL 18, MySQL 9.2–9.5 to tests
  • Upgrade versions of GitHub actions to fix deprecation warnings

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Collaborator

@dmytro-savochkin dmytro-savochkin left a comment

Choose a reason for hiding this comment

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

Thanks for such a thorough PR! Appreciate it.
Just a small question below for my understanding.

gem "concurrent-ruby", "1.3.4" # https://stackoverflow.com/a/79361034

install_if '-> { RUBY_VERSION >= "3.4.0" }' do
gem "mutex_m" # mutex_m is no longer a part of the default gems
Copy link
Collaborator

Choose a reason for hiding this comment

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

So it's only needed for ActiveRecord 7.0 but not for later versions? What happens without it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes — it’s only needed for Rails 7.0 when running on Ruby 3.4.
Earlier Ruby versions bundled mutex_m in the standard library, but Ruby 3.4 removed it, which causes ActiveRecord 7.0 to fail to load without the gem.

Rails 7.0 explicitly requires mutex_m here:
https://github.com/rails/rails/blob/7-0-stable/activesupport/lib/active_support/notifications/fanout.rb#L3

Newer ActiveSupport versions already include mutex_m as a dependency (see rails/rails#48907), so they work fine without adding anything manually.

CleanShot 2025-10-23 at 20 27 58@2x

@dmytro-savochkin dmytro-savochkin merged commit 2b1f5e3 into jpignata:master Oct 24, 2025
41 checks passed
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