2020-03-20 13:35:10 -04:00
|
|
|
* `ActionCable::Connection::Base` now allows intercepting unhandled exceptions
|
|
|
|
with `rescue_from` before they are logged, which is useful for error reporting
|
|
|
|
tools and other integrations.
|
|
|
|
|
|
|
|
*Justin Talbott*
|
|
|
|
|
2020-03-07 13:09:08 -05:00
|
|
|
* Add `ActionCable::Channel#stream_or_reject_for` to stream if record is present, otherwise reject the connection
|
|
|
|
|
|
|
|
*Atul Bhosale*
|
|
|
|
|
2020-01-17 16:39:06 -05:00
|
|
|
* Add `ActionCable::Channel#stop_stream_from` and `#stop_stream_for` to unsubscribe from a specific stream.
|
|
|
|
|
|
|
|
*Zhang Kang*
|
|
|
|
|
2019-02-13 12:27:23 -05:00
|
|
|
* Add PostgreSQL subscription connection identificator.
|
|
|
|
|
|
|
|
Now you can distinguish Action Cable PostgreSQL subscription connections among others.
|
|
|
|
Also, you can set custom `id` in `cable.yml` configuration.
|
|
|
|
|
|
|
|
```sql
|
|
|
|
SELECT application_name FROM pg_stat_activity;
|
|
|
|
/*
|
|
|
|
application_name
|
|
|
|
------------------------
|
|
|
|
psql
|
|
|
|
ActionCable-PID-42
|
|
|
|
(2 rows)
|
|
|
|
*/
|
2019-12-31 08:17:09 -05:00
|
|
|
```
|
2019-02-13 12:27:23 -05:00
|
|
|
|
2019-12-31 08:17:09 -05:00
|
|
|
*Sergey Ponomarev*
|
2019-02-13 12:27:23 -05:00
|
|
|
|
2019-08-25 14:39:58 -04:00
|
|
|
* Subscription confirmations and rejections are now logged at the `DEBUG` level instead of `INFO`.
|
2019-03-11 11:58:15 -04:00
|
|
|
|
2019-08-25 14:39:58 -04:00
|
|
|
*DHH*
|
2019-03-11 11:58:15 -04:00
|
|
|
|
2019-12-31 08:17:09 -05:00
|
|
|
|
2019-04-24 15:57:14 -04:00
|
|
|
Please check [6-0-stable](https://github.com/rails/rails/blob/6-0-stable/actioncable/CHANGELOG.md) for previous changes.
|