diff options
author | Alex Kitchens <alexcameron98@gmail.com> | 2019-05-02 07:39:03 -0500 |
---|---|---|
committer | Alex Kitchens <alexcameron98@gmail.com> | 2019-05-02 10:08:56 -0500 |
commit | ed902c0071789a0dfe0f6674a55d6032474b7c5f (patch) | |
tree | 5f7b092d68f7b76c68c4fa37b941d30dca5b143a /guides/source/6_0_release_notes.md | |
parent | b343beba03722672b9bb827f8ce29c7c1c216406 (diff) | |
download | rails-ed902c0071789a0dfe0f6674a55d6032474b7c5f.tar.gz rails-ed902c0071789a0dfe0f6674a55d6032474b7c5f.tar.bz2 rails-ed902c0071789a0dfe0f6674a55d6032474b7c5f.zip |
Add Action Cable Release Notes [ci skip]
Co-Authored-By: प्रथमेश Sonpatki <csonpatki@gmail.com>
Diffstat (limited to 'guides/source/6_0_release_notes.md')
-rw-r--r-- | guides/source/6_0_release_notes.md | 41 |
1 files changed, 30 insertions, 11 deletions
diff --git a/guides/source/6_0_release_notes.md b/guides/source/6_0_release_notes.md index 36cab0c404..4eb5296c41 100644 --- a/guides/source/6_0_release_notes.md +++ b/guides/source/6_0_release_notes.md @@ -151,25 +151,44 @@ Please refer to the [Changelog][action-cable] for detailed changes. ### Removals +* Replace `ActionCable.startDebugging()` and `ActionCable.stopDebugging()` + with `ActionCable.logger.enabled`. + ([Pull Request](https://github.com/rails/rails/pull/34370)) + ### Deprecations +* There are no deprecations for Action Cable in Rails 6.0. + ### Notable changes -* The ActionCable javascript package has been converted from CoffeeScript - to ES2015, and we now publish the source code in the npm distribution. +* Add support for the `channel_prefix` option for PostgreSQL subscription adapters + in `cable.yml`. + ([Pull Request](https://github.com/rails/rails/pull/35276)) + +* Allow passing a custom configuration to `ActionCable::Server::Base`. + ([Pull Request](https://github.com/rails/rails/pull/34714)) + +* Add `:action_cable_connection` and `:action_cable_channel` load hooks. + ([Pull Request](https://github.com/rails/rails/pull/35094)) + +* Add `Channel::Base#broadcast_to` and `Channel::Base.broadcasting_for`. + ([Pull Request](https://github.com/rails/rails/pull/35021)) - This allows ActionCable users to depend on the javascript source code - rather than the compiled code, which can produce smaller javascript bundles. +* Close a connection when calling `reject_unauthorized_connection` from an + `ActionCable::Connection`. + ([Pull Request](https://github.com/rails/rails/pull/34194)) - This change includes some breaking changes to optional parts of the - ActionCable javascript API: +* Convert the Action Cable Javascript package from CoffeeScript to ES2015 and + publish the source code in the npm distribution. + ([Pull Request](https://github.com/rails/rails/pull/34370)) - - Configuration of the WebSocket adapter and logger adapter have been moved - from properties of `ActionCable` to properties of `ActionCable.adapters`. +* Move the configuration of the WebSocket adapter and logger adapter + from properties of `ActionCable` to `ActionCable.adapters`. + ([Pull Request](https://github.com/rails/rails/pull/34370)) - - The `ActionCable.startDebugging()` and `ActionCable.stopDebugging()` - methods have been removed and replaced with the property - `ActionCable.logger.enabled`. +* Add an `id` option to the Redis adapter to distinguish Action Cable's Redis + connections. + ([Pull Request](https://github.com/rails/rails/pull/33798)) Action Pack ----------- |