aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/6_0_release_notes.md
diff options
context:
space:
mode:
authorRichard Macklin <richard.github@nrm.com>2019-01-14 15:47:37 -0800
committerRichard Macklin <richard.github@nrm.com>2019-01-14 15:49:06 -0800
commitf8076e14b4bb7d07768be6ce4ffb15e513156014 (patch)
tree53d44a8adf1ceb7670073f9ba729abdceb578733 /guides/source/6_0_release_notes.md
parentfcd38cf19fa6249d5b62bbe887fde6120408e9c3 (diff)
downloadrails-f8076e14b4bb7d07768be6ce4ffb15e513156014.tar.gz
rails-f8076e14b4bb7d07768be6ce4ffb15e513156014.tar.bz2
rails-f8076e14b4bb7d07768be6ce4ffb15e513156014.zip
Document the ActionCable JS changes in the upgrade guide & release notes
Diffstat (limited to 'guides/source/6_0_release_notes.md')
-rw-r--r--guides/source/6_0_release_notes.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/guides/source/6_0_release_notes.md b/guides/source/6_0_release_notes.md
index 14528d1cde..e6fb15c09c 100644
--- a/guides/source/6_0_release_notes.md
+++ b/guides/source/6_0_release_notes.md
@@ -92,6 +92,22 @@ Please refer to the [Changelog][action-cable] for detailed changes.
### Notable changes
+* The ActionCable javascript package has been converted from CoffeeScript
+ to ES2015, and we now publish the source code in the npm distribution.
+
+ This allows ActionCable users to depend on the javascript source code
+ rather than the compiled code, which can produce smaller javascript bundles.
+
+ This change includes some breaking changes to optional parts of the
+ ActionCable javascript API:
+
+ - Configuration of the WebSocket adapter and logger adapter have been moved
+ from properties of `ActionCable` to properties of `ActionCable.adapters`.
+
+ - The `ActionCable.startDebugging()` and `ActionCable.stopDebugging()`
+ methods have been removed and replaced with the property
+ `ActionCable.logger.enabled`.
+
Action Pack
-----------