Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ default-members = ["crates/rmcp", "crates/rmcp-macros"]
resolver = "3"

[workspace.dependencies]
rmcp = { version = "3.12.1", path = "./crates/rmcp" }
rmcp-macros = { version = "3.12.1", path = "./crates/rmcp-macros" }
rmcp = { version = "3.12.2", path = "./crates/rmcp" }
rmcp-macros = { version = "3.12.2", path = "./crates/rmcp-macros" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add the 3.12.2 macro changelog entry

When this release publishes rmcp-macros 3.12.2, the shared version bump leaves crates/rmcp-macros/CHANGELOG.md ending at 3.12.1. Consequently, the packaged changelog and generated release details identify the previous version as the latest macro release rather than documenting the version being published; add a matching 3.12.2 entry, even if it only explains the synchronized release.

Useful? React with 👍 / 👎.


[workspace.package]
edition = "2024"
rust-version = "1.88"
version = "3.12.1"
version = "3.12.2"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid publishing the new transport contract as a patch

For custom Transport implementations whose send future can leave a partially written frame when dropped, this release now drops that future after a peer cancellation while continuing the session (crates/rmcp/CHANGELOG.md:20-22), allowing subsequent messages to corrupt the wire. The previous Transport::send contract did not require cancellation-safe framing, while VERSIONING.md:7-18 classifies unanticipated behavioral changes as breaking; publishing this as 3.12.2 therefore lets Cargo select a breaking contract automatically. Either preserve completion of an already-started send or publish this under a breaking version bump.

Useful? React with 👍 / 👎.

authors = ["4t145 <u4t145@163.com>"]
license = "Apache-2.0"
repository = "https://github.com/modelcontextprotocol/rust-sdk/"
Expand Down
22 changes: 22 additions & 0 deletions crates/rmcp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.12.2](https://github.com/modelcontextprotocol/rust-sdk/compare/rmcp-v3.12.1...rmcp-v3.12.2) - 2026-12-03

### Fixed

- *(transport)* fail pending requests promptly on oversized responses ([#1552](https://github.com/modelcontextprotocol/rust-sdk/pull/1552))
- *(transport)* finish a stdio frame whose send future is dropped ([#1558](https://github.com/modelcontextprotocol/rust-sdk/pull/1558))
- *(server)* reject setLevel outside legacy lifecycle ([#1563](https://github.com/modelcontextprotocol/rust-sdk/pull/1563))
- *(transport)* make the session feature build with the server role ([#1559](https://github.com/modelcontextprotocol/rust-sdk/pull/1559))
- *(model)* reject a number beyond f32 in f32 fields ([#1554](https://github.com/modelcontextprotocol/rust-sdk/pull/1554))
- *(transport)* cache tool headers when draining SSE replies ([#1539](https://github.com/modelcontextprotocol/rust-sdk/pull/1539))
- *(test)* accept flattened license symlinks ([#1537](https://github.com/modelcontextprotocol/rust-sdk/pull/1537))
- *(service)* stop progress for a request once its cancellation is read ([#1549](https://github.com/modelcontextprotocol/rust-sdk/pull/1549))
- *(rmcp)* reject null CallToolRequestParams fields and ignore pre-init cancellations ([#1532](https://github.com/modelcontextprotocol/rust-sdk/pull/1532))
- *(model)* preserve choices for optional elicitation enums ([#1550](https://github.com/modelcontextprotocol/rust-sdk/pull/1550))
- *(transport)* keep session alive while a request is in flight ([#1535](https://github.com/modelcontextprotocol/rust-sdk/pull/1535))
- support targets without 64-bit atomics ([#1538](https://github.com/modelcontextprotocol/rust-sdk/pull/1538))

### Other

- *(client)* allow concurrent response cache lookups ([#1545](https://github.com/modelcontextprotocol/rust-sdk/pull/1545))
- *(server)* remove locks from thread-local schema caches ([#1544](https://github.com/modelcontextprotocol/rust-sdk/pull/1544))

### Changed

- *(transport)* the service loop may now drop a `Transport::send` future before it completes while the session continues (a pending progress write of a request the peer cancelled); a transport must not leave a partial message on the wire when its send future is dropped ([#1549](https://github.com/modelcontextprotocol/rust-sdk/pull/1549))
Expand Down