Skip to content

Add support for Rails 7.2 and 8.0 #44

@joe-sharp

Description

@joe-sharp

Summary

I would like to request that support for newer versions of Ruby on Rails, specifically 7.2 and 8.0, be added to the gem. Happy to try opening my own PR(s) if I can get to it before anyone else.

Looking at the gem's dependencies, it appears that activerecord and activesupport are currently pinned to versions less than 7.2.
Both Rails 7.2 and 8.0 have now been officially released:

  • Rails 7.2 was released on August 9th, 2024.
  • Rails 8.0 was released on November 7th, 2024.

According to the Ruby on Rails maintenance policy, Rails 7.1 has already moved out of bugfix support as of the 7.2 release. As users upgrade to newer, supported versions of Rails, compatibility with multidb becomes increasingly important.

It would be highly beneficial for users of multidb if the gem could support these newer Rails versions.
Thank you for considering this request and for your work on the multidb gem!

Steps to Reproduce

Attempting to use the multidb gem in a Rails 7.2 or 8.0 application results in dependency conflicts due to the version constraints on activerecord and activesupport. It will actually try to use version 0.1.13 since that is the newest version with a version directive that can pin to 7.2+

Expected Behavior

The multidb gem should be compatible with and function correctly in applications using Rails 7.2 and 8.0.

Environment

Ruby Version: 3.2 (currently)

Rails Version: 7.2 or 8.0

Multidb Version: 0.7.0 but on Rails 7.2+ Bundler will resolve to 0.1.13 which is very undesirable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions