Merge pull request #47165 from zzak/41415-changelog

Add changelog for #41415
This commit is contained in:
zzak 2023-01-28 09:04:25 +09:00 committed by GitHub
commit 6b30c3f410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,20 @@
* The Action Cable client now supports subprotocols to allow passing arbitrary data
to the server.
```js
const consumer = ActionCable.createConsumer()
consumer.addSubProtocol('custom-protocol')
consumer.connect()
```
See also:
* https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#subprotocols
*Guillaume Hain*
* Redis pub/sub adapter now automatically reconnects when Redis connection is lost. * Redis pub/sub adapter now automatically reconnects when Redis connection is lost.
*Vladimir Dementyev* *Vladimir Dementyev*