Sha256: d9a0d78d9ea6512553aaea723b49943923c4feac2bc4d2837535517bd5e96135

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

## Rails 7.2.0.beta3 (July 11, 2024) ##

*   No changes.


## Rails 7.2.0.beta2 (June 04, 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*

## Rails 7.2.0.beta1 (May 29, 2024) ##

*   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.0.beta3 CHANGELOG.md