1
0
Fork 0
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:
Rafael Mendonça França 2021-12-07 19:50:19 +00:00
parent ac90d5a32c
commit 411ffb4647
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948
2 changed files with 19 additions and 1 deletions

View file

@ -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
------------

View file

@ -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