* fix(oauth): attach bearer token to all streaming http requests * fix(typo): fix an unrelated typo There was an errant typo in the CHANGELOG that is breaking CI
19 KiB
19 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
0.8.0 - 2025-10-04
Added
- allow clients to override client_name (#469)
Fixed
- (oauth) support suffixed and prefixed well-known paths (#459)
- generate default schema for tools with no params (#446)
Other
- bump to rust 1.90.0 (#453)
0.7.0 - 2025-09-24
Fixed
- return auth errors (#451)
- (oauth) do not treat empty secret as valid for public clients (#443)
- (clippy) add doc comment for generated tool attr fn (#439)
- (oauth) require CSRF token as part of the OAuth authorization flow. (#435)
Other
- (root) Add Terminator to Built with rmcp section (#437)
- Non-empty paths in OAuth2 Authorization Server Metadata URLs (#441)
0.6.4 - 2025-09-11
Added
- (SEP-973) add support for icons and websiteUrl across relevant types (#432)
- implement context-aware completion (MCP 2025-06-18) (#396)
- add
titlefield for data types (#410)
Fixed
- crates/rmcp/src/handler/client/progress.rs XXXXXX -> dispatcher (#429)
- build issue due to missing struct field (#427)
- generate simple {} schema for tools with no parameters (#425)
Other
0.6.3 - 2025-09-04
Fixed
- change JSON-RPC request ID type from u32 to i64 (#416)
0.6.2 - 2025-09-04
Added
- (rmcp) add optional _meta to CallToolResult, EmbeddedResource, and ResourceContents (#386)
Fixed
- resolve compatibility issues with servers sending LSP notifications (#413)
- remove batched json rpc support (#408)
- transport-streamable-http-server depends on transport-worker (#405)
- (typo) correct typo in error message for transport cancellation and field. (#404)
Other
- Spec conformance: meta support and spec updates (#415)
- add the rmcp-openapi and rmcp-actix-web related projects (#406)
0.6.1 - 2025-08-29
Added
- (rmcp) add authorization header support for the streamable http client (#390)
- (model) add helpers to build enum from concrete values (#393)
- (model) expose client method name (#391)
- add resource_link support to tools and prompts (#381)
- Add prompt support (#351)
- include reqwest in transport-streamble-http-client feature (#376)
Fixed
- (auth) url parse is not correct (#402)
- (readme) missing use declarations, more accurate server instructions (#399)
- enhance transport graceful shutdown with proper writer closure (#392)
Other
- simplify remove_route method signature (#401)
0.6.0 - 2025-08-19
Added
Fixed
- match shape of the calltoolresult schema (#377)
- make stdio shutdown more graceful (#364)
- (tool) remove unnecessary schema validation (#375)
- (rmcp) return serialized json with structured content (#368)
Other
0.5.0 - 2025-08-07
Fixed
- correct numeric types in progress notifications (#361)
0.4.1 - 2025-08-07
Fixed
- (rmcp) allow both content and structured content (#359)
0.4.0 - 2025-08-05
Added
- [breaking] Add support for
Tool.outputSchemaandCallToolResult.structuredContent(#316)
Fixed
0.3.2 - 2025-07-30
Fixed
- (capabilities) do not serialize None as null for
list_changed(#341) - (Transport) close oneshot transport on error (#340)
- (oauth) expose OAuthTokenResponse publicly (#335)
0.3.1 - 2025-07-29
Fixed
- use mimeType instead of mime_type for MCP specification compliance (#339)
- return a 405 for GET and DELETE if stateful_mode=false (#331)
- propagate tracing spans when spawning new tokio tasks (#334)
- Explicitly added client_id as an extra parameter causes bad token requests (#322)
Other
- Fix formatting in crate descriptions in README.md (#333)
0.3.0 - 2025-07-15
Added
Other
- (deps) update schemars requirement from 0.8 to 1.0 (#258)
- (rmcp) bump rmcp-macros version to match (#311)
- fix packages used for server example (#309)
0.2.1 - 2025-07-03
Other
- (docs) Minor README updates (#301)
0.2.0 - 2025-07-02
Added
- mark boxed http body as sync (#291)
- add progress notification handling and related structures (#282)
- allow failable service creation in streamable HTTP tower service (#244)
- provide more context information (#236)
- stateless mode of streamable http client (#233)
- add cancellation_token method to
RunningService(#218) - better http server support (#199)
- throw initialize error detail (#192)
- sse client optionally skip the endpoint event (#187)
- (server) add annotation to tool macro (#184)
- (model) add json schema generation support for all model types (#176)
- (openapi) add OpenAPI v3 compatibility and test for nullable field schema workaround (#135) (#137)
- (extension) extract http request part into rmcp extension (#163)
- (transport) support streamable http server (#152)
- (oauth) fixes + cache client credentials (#157)
- allow use of reqwest without ring provider (#155)
- extensions to context (#102)
- revision-2025-03-26 without streamable http (#84)
- (tool) allow tool call return a serializable value in json format (#75) (#78)
- Sse server auto ping (#74)
- (transport) Sse client transport trait (#67)
Fixed
- let users decide what to wrap in child process command (#279)
- cancellable initialization process (#280)
- inject part into extension when handing init req (#275)
- streamable http server close request channel on response(#266) (#270)
- streamable http client close on response (#268)
- expose TokioChildWrapper::id() in TokioChildProcess and TokioChildProcessOut (#254)
- add compatibility handling for non-standard notifications in async_rw (#247)
- allow SSE server router to be nested (#240)
- error for status in post method of streamable http client (#238)
- disable wasmbind in chrono for wasm32-unknown-unknown (#234)
- (examples) add clients in examples's readme (#225)
- generic ServerHandler (#223)
- comment error (#215)
- resolve the server 406 error in API calls (#203)
- sse endpoint build follow js's
new URL(url, base)(#197) - more friendly interface to get service error (#190)
- cleanup zombie processes for child process client (#156)
- (schemar) use self-defined settings (#180)
- (transport-sse-server) cleanup on connection drop (#165)
- (test) skip serialize tool's annotation if empty (#160)
- fix resource leak (#136)
- (handler) do call handler methods when initialize server (#118)
- (server) schemars compilation errors (#104)
- (test) fix test introduced by #97 (#101)
- (macro) add generics marco types support (#98)
- (typo) nit language corrections (#90)
- (typo) s/marcos/macros/ (#85)
- (client) add error enum while deal client info (#76)
- (notification) fix wrongly error report in notification (#70)
- (test) fix tool deserialization error (#68)
- (server) add error enum while deal server info (#51)
Other
- add simpling example and test (#289)
- add update for test_message_schema (#286)
- add notion clear in model.rs (#284)
- cov settings, and fix several building warnings (#281)
- refactor tool macros and router implementation (#261)
- fix regression in URL joining (#265)
- remove erroneous definitions_path (#264)
- allow using a TokioCommandWrap for TokioChildProcess::new closes #243 (#245)
- Fix typo (#249)
- provide http server as tower service (#228)
- (deps) update sse-stream requirement from 0.1.4 to 0.2.0 (#230)
- Server info is only retrieved once during initialization (#214)
- (deps) update base64 requirement from 0.21 to 0.22 (#209)
- revert badge (#202)
- use hierarchical readme for publishing (#198)
- Ci/coverage badge (#191)
- fix error introduced by merge, and reorganize feature (#185)
- Transport trait and worker transport, and streamable http client with those new features. (#167)
- add oauth2 support (#130)
- remove un-used tower.rs (#125)
- update calculator example description (#115)
- fix the url (#120)
- add a simple chat client for example (#119)
- add an overview to
rmcp/src/lib.rs(#116) - (context) test context request handling and refactor for reusable client-server tests (#97)
- (logging) Add tests for logging (#96)
- Adopt Devcontainer for Development Environment (#81)
- fix typos (#79)
- format and fix typo (#72)
- add documentation generation job (#59)
- add test with js server (#65)
- fmt the project (#54)
- (sse_server) separate router and server startup (#52)
- fix broken link (#53)
- fix the branch name for git dependency (#46)
- Move whole rmcp crate to official rust sdk (#44)
- Initial commit