Skip to content

Commit

Permalink
Merge pull request #37131 from rmacklin/document-new-npm-packages-in-…
Browse files Browse the repository at this point in the history
…upgrade-guide

Document the new npm package names in the upgrade guide
  • Loading branch information
georgeclaghorn authored and kamipo committed Sep 5, 2019
1 parent 9e41ee7 commit ba4d52d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions guides/source/upgrading_ruby_on_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,17 @@ If you require your cookies to be read by Rails 5.2 and older, or you are still
to be able to rollback set
`Rails.application.config.action_dispatch.use_cookies_with_metadata` to `false`.

### All npm packages have been moved to the `@rails` scope

If you were previously loading any of the `actioncable`, `activestorage`,
or `rails-ujs` packages through npm/yarn, you must update the names of these
dependencies before you can upgrade them to `6.0.0`:
```
actioncable → @rails/actioncable
activestorage → @rails/activestorage
rails-ujs → @rails/ujs
```

### Action Cable JavaScript API Changes

The Action Cable JavaScript package has been converted from CoffeeScript
Expand Down

0 comments on commit ba4d52d

Please sign in to comment.