diff options
Diffstat (limited to 'actioncable/CHANGELOG.md')
-rw-r--r-- | actioncable/CHANGELOG.md | 85 |
1 files changed, 18 insertions, 67 deletions
diff --git a/actioncable/CHANGELOG.md b/actioncable/CHANGELOG.md index 0bf6246933..38bf842b14 100644 --- a/actioncable/CHANGELOG.md +++ b/actioncable/CHANGELOG.md @@ -1,83 +1,34 @@ -## Rails 5.0.0.beta4 (April 27, 2016) ## +## Rails 5.2.0.beta2 (November 28, 2017) ## -* WebSocket protocol negotiation. +* No changes. - Introduces an Action Cable protocol version that moves independently - of and, hopefully, more slowly than Action Cable itself. Client sockets - negotiate a protocol with the Cable server using WebSockets' native - subprotocol support: - * https://tools.ietf.org/html/rfc6455#section-1.9 - * https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#Subprotocols - If they can't negotiate a compatible protocol (usually due to upgrading - the Cable server with a browser still running old JavaScript) then the - client knows to disconnect, cease retrying, and tell the app that it hit - a protocol mismatch. +## Rails 5.2.0.beta1 (November 27, 2017) ## - This allows us to evolve the Action Cable message format, handshaking, - pings, acknowledgements, and more without breaking older clients' - expectations of server behavior. +* Removed deprecated evented redis adapter. - *Daniel Rhodes* + *Rafael Mendonça França* -* Pubsub: automatic stream decoding. - - stream_for @room, coder: ActiveSupport::JSON do |message| - # `message` is a Ruby hash here instead of a JSON string - - The `coder` must respond to `#decode`. Defaults to `coder: nil` - which skips decoding entirely. +* Support redis-rb 4.0. *Jeremy Daer* -* Add ActiveSupport::Notifications to ActionCable::Channel. - - *Matthew Wear* - -* Safely support autoloading and class unloading, by preventing concurrent - loads, and disconnecting all cables during reload. - - *Matthew Draper* - -* Ensure ActionCable behaves correctly for non-string queue names. - - *Jay Hayes* - -## Rails 5.0.0.beta3 (February 24, 2016) ## - -* Added `em_redis_connector` and `redis_connector` to - `ActionCable::SubscriptionAdapter::EventedRedis` and added `redis_connector` - to `ActionCable::SubscriptionAdapter::Redis`, so you can overwrite with your - own initializers. This is used when you want to use different-than-standard - Redis adapters, like for Makara distributed Redis. - - *DHH* - -## Rails 5.0.0.beta2 (February 01, 2016) ## - -* Support PostgreSQL pubsub adapter. - - *Jon Moss* - -* Remove EventMachine dependency. - - *Matthew Draper* +* Hash long stream identifiers when using PostgreSQL adapter. -* Remove Celluloid dependency. + PostgreSQL has a limit on identifiers length (63 chars, [docs](https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS)). + Provided fix minifies identifiers longer than 63 chars by hashing them with SHA1. - *Mike Perham* + Fixes #28751. -* Create notion of an `ActionCable::SubscriptionAdapter`. - Separate out Redis functionality into - `ActionCable::SubscriptionAdapter::Redis`, and add a - PostgreSQL adapter as well. Configuration file for - ActionCable was changed from`config/redis/cable.yml` to - `config/cable.yml`. + *Vladimir Dementyev* - *Jon Moss* +* Action Cable's `redis` adapter allows for other common redis-rb options (`host`, `port`, `db`, `password`) in cable.yml. -## Rails 5.0.0.beta1 (December 18, 2015) ## + Previously, it accepts only a [redis:// url](https://www.iana.org/assignments/uri-schemes/prov/redis) as an option. + While we can add all of these options to the `url` itself, it is not explicitly documented. This alternative setup + is shown as the first example in the [Redis rubygem](https://github.com/redis/redis-rb#getting-started), which + makes this set of options as sensible as using just the `url`. -* Added to Rails! + *Marc Rendl Ignacio* - *DHH* +Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actioncable/CHANGELOG.md) for previous changes. |