Releases: rust-mcp-stack/rust-mcp-schema
Releases · rust-mcp-stack/rust-mcp-schema
v0.5.0
0.5.0 (2025-05-22)
⚠ BREAKING CHANGES
- update schema default version and latest draft changes (#68)
- Updated the default schema version to 2025_03_26 (previously available only when using the Cargo feature).
- Updated draft version of schema to the latest (for instance
CallToolStructuredResultandCallToolUnstructuredResult)
Features
v0.4.0
v0.3.0
v0.2.2
v0.2.1
v0.2.0
0.2.0 (2025-03-22)
This update is classified as a breaking change due to the removal of certain deprecated methods and the standardization of method parameter order of generated constructors ( new(...) methods ) , ensuring that required arguments are placed before optional ones.
⚠ BREAKING CHANGES
- Method parameter order of generated constructors ( new(...) methods ) has been standardized, with required arguments now consistently positioned before optional ones.
- Deprecated get_method() methods have been eliminated.
- improve generated schema, eliminate deprecated methods (#53)
Features
v0.1.11
v0.1.10
v0.1.9
0.1.9 (2025-03-02)
Features
-
new cunstructor and conversion utilities for call tool operations (#41) (0b8f622)
Details
Usage example:- Return a Unknown Tool Error
async fn handle_call_tool_request( &self, request: CallToolRequest, ) -> Result<CallToolResult, CallToolError> { ////............ return Err(CallToolError::unknown_tool(tool_name)), }
- Return a
CallToolResultwithTextContent:
async fn handle_call_tool_request( &self, request: CallToolRequest, ) -> Result<CallToolResult, CallToolError> { ////............ return Ok(CallToolResult::text_content( format!( "Successfully created directory {}", path), None, )); }
Bug Fixes
v0.1.8
0.1.8 (2025-02-23)
Features
- add SdkError codes and types (#37) (034ee8f)
- add utility function for easy detection of initialized notifications (#38) (39400b6)
- add utility functions for simplified type conversions (#33) (7447800)
- more type conversion utilities (#36) (9a0abb9)
- new TryFrom implementation for all standard mcp message variants (#35) (08854f0)