Sha256: 20e2e938eed72f49bbdf92879fa3c51bda8947e054235ff6f08fbcd960d9c7bc

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

## Rails 7.2.1.1 (October 15, 2024) ##

*   No changes.


## Rails 7.2.1 (August 22, 2024) ##

*   No changes.


## Rails 7.2.0 (August 09, 2024) ##

*   Bring `ActionCable::Connection::TestCookieJar` in alignment with `ActionDispatch::Cookies::CookieJar` in regards to setting the cookie value.

    Before:

    ```ruby
    cookies[:foo] = { value: "bar" }
    puts cookies[:foo] # => { value: "bar" }
    ```

    After:

    ```ruby
    cookies[:foo] = { value: "bar" }
    puts cookies[:foo] # => "bar"
    ```

    *Justin Ko*

*   Record ping on every Action Cable message.

    Previously only `ping` and `welcome` message types were keeping the connection active.
    Now every Action Cable message updates the `pingedAt` value, preventing the connection
    from being marked as stale.

    *yauhenininjia*

*   Add two new assertion methods for Action Cable test cases: `assert_has_no_stream`
    and `assert_has_no_stream_for`.

    These methods can be used to assert that a stream has been stopped, e.g. via
    `stop_stream` or `stop_stream_for`. They complement the already existing
    `assert_has_stream` and `assert_has_stream_for` methods.

    ```ruby
    assert_has_no_stream "messages"
    assert_has_no_stream_for User.find(42)
    ```

    *Sebastian Pöll*, *Junichi Sato*

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
actioncable-7.2.1.1 CHANGELOG.md