Closed brchristian closed 3 years ago
@brchristian thanks for the PR! You're raising some valid concerns here.
I was thinking it may be an even better idea to remove the version constraints on activesupport
entirely. Instead, let's rely on solidus_core
etc. specifying the required Rails version.
What do you think?
@aldesantis I support this idea! I think that makes a lot of sense. And of course individual extensions can have constraints on the Rails version, too, if they make use of version-specific Rails features.
Hi @aldesantis I’ve gone ahead and done exactly as you suggested, removing the constraint on activesupport
entirely. What do you think?
@jarednorman great idea, added it!
@aldesantis @jarednorman Anything I can do to help this along? We’ve been running this in our own fork in production for a few months now and would love to rejoin the party on the master
branch!
@brchristian sorry, somehow I missed the notification for this one! LGTM, @jarednorman what do you think?
Terrific, thanks all!
All of the currently released Solidus versions still support Rails 5.1.x, and I think it's important to try to continue to support it as long as possible in this extension in particular.
Many Solidus extensions rely on
solidus_support
v 0.5 and greater, and at the moment our store cannot get any of the latest commits fromsolidus_tax_cloud
orsolidus_handling_fees
orsolidus_stripe
orsolidus_related_products
or . . . you get the idea . . . until we transition our application to Rails 5.2. (This is a huge undertaking, because it means somehow getting away from the deprecatedsolidus_active_shipping
!)Because this extension is so widely used (indeed that's the whole idea!), I believe it is important to have compatibility requirements that are as loose as possible, otherwise any requirements here will constrain the entire ecosystem of a user's Solidus extensions.
I'm not familiar with what if anything changed in
activesupport
from v5.1 to 5.2, but all of the specs are green and, as I say, all current versions of Solidus support 5.1 so I think we should endeavor to continue to do so until there is a convincing reason otherwise!