diff --git a/Cargo.toml b/Cargo.toml index 1e002bad6..73616fcc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" } [workspace.package] edition = "2024" rust-version = "1.88" -version = "3.12.1" +version = "3.12.2" authors = ["4t145 "] license = "Apache-2.0" repository = "https://github.com/modelcontextprotocol/rust-sdk/" diff --git a/crates/rmcp/CHANGELOG.md b/crates/rmcp/CHANGELOG.md index 037cfa6a1..47cd03418 100644 --- a/crates/rmcp/CHANGELOG.md +++ b/crates/rmcp/CHANGELOG.md @@ -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))