Skip to content
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

Change asset pipeline default to Propshaft in Rails 8 #51799

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

dhh
Copy link
Member

@dhh dhh commented May 12, 2024

Sprockets has served us well, but it's time to hand over the torch to Propshaft in Rails 8.

@dhh dhh added this to the 8.0.0 milestone May 12, 2024
@rails-bot rails-bot bot added the railties label May 12, 2024
@rafaelfranca
Copy link
Member

Lots of tests broken, but once we fix them, we can merge this. main is already Rails 8

@@ -75,7 +75,7 @@ def self.add_shared_options_for(name)

class_option :skip_asset_pipeline, type: :boolean, aliases: "-A", default: nil

class_option :asset_pipeline, type: :string, aliases: "-a", default: "sprockets",
class_option :asset_pipeline, type: :string, aliases: "-a", default: "propshaft",
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be done in a follow-up PR, but are there documentation changes that we'd like to do as well?

@dhh
Copy link
Member Author

dhh commented May 15, 2024

There's a fair amount of work in switching all the tests that assume sprockets over. If anyone is interested in helping with this transition, I'd love some assistance, while I tune up Propshaft with the other stuff we're missing before a release.

@fedesapuppo
Copy link

I'd very much like to help with the transition. I'm not an expert, just an enthusiast. If you think it's something I could help with, I gladly offer my assistance 🚀

Copy link

@ItaloCobains ItaloCobains left a comment

Choose a reason for hiding this comment

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

Sounds good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants