-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: Support Rails 6 #3053
Comments
One thought about Rails 6 and ActionText: are there any places in Solidus where we'd like to use it? Any places where we write rich text? |
@mdesantis solidus_editor is what is used for this kind of things most of the times, I think. |
This one too solidus_static_content. I fired up a new Rails 6 app with ActionText and it worked pretty well. Definitely could make those extensions cleaner. It works with ActiveStorage so it might be something that benefits from #2974 |
I've been live streaming myself working on this. Here's the YouTube playlist of past streams. The biggest issue I've run into so far is that there are some really annoying incompatibilities with newer versions of CanCanCan. I've been running against the branch that has Rails 6 support, and it's caused a whole bunch of unrelated issues. I'll continue working away on that. I haven't opened a progress PR because I'm waiting on releases on a bunch of the gems that will need to be bumped to support Rails 6. Currently I'm just pointing at various GitHub branches that contain the tentative work on Rails 6 support for those gems. I've got core passing, and backend/frontend almost completely passing if I comment out the stuff in the permission sets that are causing the CanCanCan headaches. API is full of failing specs and I haven't dug into that, but I imagine it's at least partially related to the authorization issues. |
I am working on this in #3236. The work is basically done on the Solidus side, but there are a few dependencies that are not yet ready for Rails 6, so we're waiting on those! |
Rails 6 has now officially been released https://weblog.rubyonrails.org/2019/8/15/Rails-6-0-final-release/ |
#3236 is ready to merge. Tasks that are not blocking and will be done in separate PRs:
|
Just discovered that Rails 6' sqlite3 adapter got bumped to |
This only effects the sandbox, correct? |
It also effects running bundle install in development with sqlite and rails 6. I'm taking a look and have a PR almost ready for that. |
Awesome. Thanks. Shouldn’t the solution be as easy as removing the version constraint? So, that Bundler resolves the correct version for us dependent on which Rails Version we use? |
I expected an issue actually, since Rails does not have any direct sqlite dependency it will always use the latest one. In fact, running
generates a Gemfile.lock with Rails |
@kennyadsl the sqlite3 version got "relaxed" since rails (edit: wrong link) |
@cedum that explains what's happening, thanks! |
@kennyadsl can we close this? |
I think we "just" need to update all extensions to work with Zeitwerk to have a fully working Rails 6 support, but yes, we should probably close this one and create a new issue? What do you think? |
@kennyadsl we should be good to go since spree/deface#202 was merged. |
Closing, since Solidus is compatible with Rails 6 since version 2.10. |
The first Rails 6 beta is out, so we can start discussing how we're going to support that. When the project moved from Rails 4.x to Rails 5, we cut a major version that introduced no new features and only upgraded the codebase for compatibility. Depending on the extent of the changes in Rails 6, something that big might not be necessary.
I'm opening this issue to gather comments/discussion on Rails 6 support for Solidus.
The text was updated successfully, but these errors were encountered: