Rails 7.1.5.2 (August 13, 2025)¶ ↑
-
No changes.
Rails 7.1.5.1 (December 10, 2024)¶ ↑
-
No changes.
Rails 7.1.5 (October 30, 2024)¶ ↑
-
No changes.
Rails 7.1.4.2 (October 23, 2024)¶ ↑
-
No changes.
Rails 7.1.4.1 (October 15, 2024)¶ ↑
-
No changes.
Rails 7.1.4 (August 22, 2024)¶ ↑
-
No changes.
Rails 7.1.3.4 (June 04, 2024)¶ ↑
-
No changes.
Rails 7.1.3.3 (May 16, 2024)¶ ↑
-
No changes.
Rails 7.1.3.2 (February 21, 2024)¶ ↑
-
No changes.
Rails 7.1.3.1 (February 21, 2024)¶ ↑
-
No changes.
Rails 7.1.3 (January 16, 2024)¶ ↑
-
No changes.
Rails 7.1.2 (November 10, 2023)¶ ↑
-
No changes.
Rails 7.1.1 (October 11, 2023)¶ ↑
-
No changes.
Rails 7.1.0 (October 05, 2023)¶ ↑
-
No changes.
Rails 7.1.0.rc2 (October 01, 2023)¶ ↑
-
No changes.
Rails 7.1.0.rc1 (September 27, 2023)¶ ↑
-
No changes.
Rails 7.1.0.beta1 (September 13, 2023)¶ ↑
-
Add a
@serverinstance variable referencing theActionCable.serversingleton toActionCable::Channel::ConnectionStubThis lets us delegate the
pubsubandconfigmethod calls to the server. This fixesNoMethodErrorerrors when testing channel logic that callpubsub(e.g.stop_stream_for).Julian Foo
-
Added
health_check_pathandhealth_check_applicationconfig to mount a given health check rack app on a given path. Useful when mounting Action Cable standalone.Joé Dupuis
-
Introduce the
capture_broadcaststest helper.Returns all messages broadcast in a block.
messages = capture_broadcasts("test") do ActionCable.server.broadcast "test", { message: "one" } ActionCable.server.broadcast "test", { message: "two" } end assert_equal 2, messages.length assert_equal({ "message" => "one" }, messages.first) assert_equal({ "message" => "two" }, messages.last)
Alex Ghiculescu
-
Display broadcasted messages on error message when using
assert_broadcast_onStéphane Robino
-
The Action Cable client now supports subprotocols to allow passing arbitrary data to the server.
const consumer = ActionCable.createConsumer() consumer.addSubProtocol('custom-protocol') consumer.connect()
See also:
Guillaume Hain
-
Redis pub/sub adapter now automatically reconnects when Redis connection is lost.
Vladimir Dementyev
-
The
connected()callback can now take a{reconnected}parameter to differentiate connections from reconnections.import consumer from "./consumer" consumer.subscriptions.create("ExampleChannel", { connected({reconnected}) { if (reconnected) { ... } else { ... } } })Mansa Keïta
-
The Redis adapter is now compatible with redis-rb 5.0
Compatibility with redis-rb 3.x was dropped.
Jean Boussier
-
The Action Cable server is now mounted with
anchor: true.This means that routes that also start with
/cablewill no longer clash with Action Cable.Alex Ghiculescu
-
ActionCable.server.remote_connections.where(...).disconnectnow sendsdisconnectmessage before closing the connection with the reconnection strategy specified (defaults totrue).Vladimir Dementyev
-
Added command callbacks to
ActionCable::Connection::Base.Now you can define
before_command,after_command, andaround_commandto be invoked before, after or around any command received by a client respectively.Vladimir Dementyev
Please check 7-0-stable for previous changes.