aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/CHANGELOG.md
blob: a0254fe32361541bd1cfb1d88c3c6174f953dcd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
## Rails 5.1.0.beta1 (February 23, 2017) ##

*   Redis subscription adapters now support `channel_prefix` option in `cable.yml`

    Avoids channel name collisions when multiple apps use the same Redis server.

    *Chad Ingram*

*   Permit same-origin connections by default.

    Added new option `config.action_cable.allow_same_origin_as_host = false`
    to disable this behaviour.

    *Dávid Halász*, *Matthew Draper*

*   Prevent race where the client could receive and act upon a
    subscription confirmation before the channel's `subscribed` method
    completed.

    Fixes #25381.

    *Vladimir Dementyev*

*   Buffer now writes to WebSocket connections, to avoid blocking threads
    that could be doing more useful things.

    *Matthew Draper*, *Tinco Andringa*

*   Protect against concurrent writes to a WebSocket connection from
    multiple threads; the underlying OS write is not always threadsafe.

    *Tinco Andringa*

*   Add `ActiveSupport::Notifications` hook to `Broadcaster#broadcast`.

    *Matthew Wear*

*   Close hijacked socket when connection is shut down.

    Fixes #25613.

    *Tinco Andringa*


Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/actioncable/CHANGELOG.md) for previous changes.