mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Document sprockets is now optional
This commit is contained in:
parent
ac90d5a32c
commit
411ffb4647
2 changed files with 19 additions and 1 deletions
|
@ -36,6 +36,15 @@ Please refer to the [Changelog][railties] for detailed changes.
|
|||
|
||||
### Notable changes
|
||||
|
||||
* Sprockets is not an opinional dependency
|
||||
|
||||
The gem `rails` doesn't depend on `sprockets-rails` anymore. If your application still needs to use Sprockets,
|
||||
make sure to add `sprockets-rails` to your Gemfile.
|
||||
|
||||
```
|
||||
gem "sprockets-rails"
|
||||
```
|
||||
|
||||
Action Cable
|
||||
------------
|
||||
|
||||
|
|
|
@ -227,7 +227,7 @@ processes have been updated you can set `config.active_support.cache_format_vers
|
|||
Rails 7.0 is able to read both formats so the cache won't be invalidated during the
|
||||
upgrade.
|
||||
|
||||
### ActiveStorage video preview image generation
|
||||
### Active Storage video preview image generation
|
||||
|
||||
Video preview image generation now uses FFmpeg's scene change detection to generate
|
||||
more meaningful preview images. Previously the first frame of the video would be used
|
||||
|
@ -534,6 +534,15 @@ activestorage → @rails/activestorage
|
|||
rails-ujs → @rails/ujs
|
||||
```
|
||||
|
||||
### Sprockets is not an opinional dependency
|
||||
|
||||
The gem `rails` doesn't depend on `sprockets-rails` anymore. If your application still needs to use Sprockets,
|
||||
make sure to add `sprockets-rails` to your Gemfile.
|
||||
|
||||
```
|
||||
gem "sprockets-rails"
|
||||
```
|
||||
|
||||
### Action Cable JavaScript API Changes
|
||||
|
||||
The Action Cable JavaScript package has been converted from CoffeeScript
|
||||
|
|
Loading…
Reference in a new issue