Skip to content

Release 1.4.0 - #536

Merged
koic merged 1 commit into
modelcontextprotocol:mainfrom
koic:release_1_4_0
Aug 28, 2026
Merged

Release 1.4.0#536
koic merged 1 commit into
modelcontextprotocol:mainfrom
koic:release_1_4_0

Conversation

@koic

@koic koic commented Aug 27, 2026

Copy link
Copy Markdown
Member

@modelcontextprotocol/ruby-sdk

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 before the acknowledgement, none after the graceful closing result.

The new keyword argument is what makes this a minor release; everything else is a bug fix. The controller-pattern crash is a regression from 1.2.0, where the modern lifecycle began answering subscriptions/listen that earlier versions had refused as an unknown method, and it fails quietly: only the notification stream breaks, so tool calls keep working.

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

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 before
the acknowledgement, none after the graceful closing result.

The new keyword argument is what makes this a minor release; everything else is a bug fix.
The controller-pattern crash is a regression from 1.2.0, where the modern lifecycle began
answering `subscriptions/listen` that earlier versions had refused as an unknown method,
and it fails quietly: only the notification stream breaks, so tool calls keep working.
@koic
koic merged commit da4ce54 into modelcontextprotocol:main Aug 28, 2026
11 checks passed
@koic
koic deleted the release_1_4_0 branch August 28, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant