Skip to content

v1.4.0

Latest

Choose a tag to compare

@koic koic released this 28 Aug 01:17
· 2 commits to main since this release
da4ce54

This release repairs the subscriptions/listen stream. A host that buffers its responses, the documented Rails controller pattern among them, can decline the method with serve_subscriptions_listen: false instead of answering a modern client with a streaming body it cannot render, and the stream's ordering guarantees are enforced: no notification reaches a client before the acknowledgement, and none follows the graceful closing result.

Added

  • Add serve_subscriptions_listen: for hosts that cannot hold an SSE stream open (#533)

Fixed

  • Deliver subscriptions/listen notifications only after the acknowledgement (#532)
  • Serialize subscriptions/listen writes so the graceful result is the final message (#535)