Skip to content

Commit

Permalink
Document sprockets is now optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Dec 7, 2021
1 parent ac90d5a commit 411ffb4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions guides/source/7_0_release_notes.md
Expand Up @@ -36,6 +36,15 @@ Please refer to the [Changelog][railties] for detailed changes.

### Notable changes

* Sprockets is not an opinional dependency

This comment has been minimized.

Copy link
@sadiqmmm

sadiqmmm Dec 7, 2021

Contributor

I think this statement is incorrect.
Sprockets is not an opinional dependency.
opinional -> optional
not -> Now

This comment has been minimized.

Copy link
@rafaelfranca

rafaelfranca Dec 7, 2021

Author Member

Thanks! Fixed in 2d4ef85


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

Expand Down
11 changes: 10 additions & 1 deletion guides/source/upgrading_ruby_on_rails.md
Expand Up @@ -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
Expand Down Expand Up @@ -534,6 +534,15 @@ activestorage → @rails/activestorage
rails-ujs → @rails/ujs
```

### Sprockets is not an opinional dependency

This comment has been minimized.

Copy link
@sadiqmmm

sadiqmmm Dec 7, 2021

Contributor

opinional -> optional
not -> Now


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
Expand Down

0 comments on commit 411ffb4

Please sign in to comment.