From 2c9bd387eb0ba8aba2d057df18416af9a88da077 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 10 Sep 2024 14:27:45 -0700 Subject: [PATCH] We've gone 1.0 and become the default --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index a917d77..c129297 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ So that's what Propshaft doesn't do. Here's what it does provide: ## Installation -With Rails 7+, you can start a new application with propshaft using `rails new myapp -a propshaft`. For existing applications, check the [upgrade guide](https://github.com/rails/propshaft/blob/main/UPGRADING.md) which contains step-by-step instructions. +With Rails 8, Propshaft is the default asset pipeline for new applications. With Rails 7, you can start a new application with propshaft using `rails new myapp -a propshaft`. For existing applications, check the [upgrade guide](https://github.com/rails/propshaft/blob/main/UPGRADING.md) which contains step-by-step instructions. ## Usage @@ -47,11 +47,6 @@ On the other hand, if you're already bundling JavaScript and CSS through a Node- But for greenfield apps using the default import-map approach, Propshaft can also work well, if you're able to deal with vanilla CSS. -## Will Propshaft replace Sprockets as the Rails default? - -Most likely, but Sprockets needs to be supported as well for a long time to come. Plenty of apps and gems were built on Sprocket features, and they won't be migrating soon. Still working out the compatibility story. This is very much beta software at the moment. - - ## License Propshaft is released under the [MIT License](https://opensource.org/licenses/MIT).