-
Notifications
You must be signed in to change notification settings - Fork 585
Comparing changes
Open a pull request
base repository: modelcontextprotocol/java-sdk
base: v0.11.1
head repository: modelcontextprotocol/java-sdk
compare: main
- 12 commits
- 97 files changed
- 5 contributors
Commits on Jul 31, 2025
-
Signed-off-by: Christian Tzolov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bf2c8c9 - Browse repository at this point
Copy the full SHA bf2c8c9View commit details
Commits on Aug 1, 2025
-
Update copyright headers to 2025 and clean up code
- Add copyright headers to files missing them - Add blank lines after copyright headers for consistency - Remove unused imports in test files - Remove unnecessary keep-alive warning logs in WebFlux and WebMvc transport providers Signed-off-by: Christian Tzolov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e4d5de - Browse repository at this point
Copy the full SHA 3e4d5deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 577952d - Browse repository at this point
Copy the full SHA 577952dView commit details
Commits on Aug 4, 2025
-
fix: add backward compatibility for MCP servers returning older proto…
…col versions - Add ProtocolVersions interface with version constants - Change protocolVersion() to protocolVersions() returning List<String> - Streamable HTTP clients now support both 2024-11-05 and 2025-03-26 - Fixes compatibility with MCP servers that return 2024-11-05 instead of 2025-03-26 Resolves #436 Related to #438 Signed-off-by: Christian Tzolov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e035ea - Browse repository at this point
Copy the full SHA 5e035eaView commit details
Commits on Aug 5, 2025
-
Remove duplicate header MCP_PROTOCOL_VERSION
Signed-off-by: Yanming Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a95f75 - Browse repository at this point
Copy the full SHA 3a95f75View commit details
Commits on Aug 6, 2025
-
fix: handle empty JSON responses in ResponseSubscribers
- Remove length check in hookOnComplete() to always emit AggregateResponseEvent - Ensures proper completion handling regardless of response content length - Add test for empty application/json responses with 200 OK status
Configuration menu - View commit details
-
Copy full SHA for 5aba8a0 - Browse repository at this point
Copy the full SHA 5aba8a0View commit details -
Use
Last-Event-ID
instead oflast-event-id
see https://html.spec.whatwg.org/multipage/server-sent-events.html#the-last-event-id-header Signed-off-by: Yanming Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f37ddc - Browse repository at this point
Copy the full SHA 7f37ddcView commit details -
refactor: downgrade unhandled notification logging from error to warn
- Change logger.error() to logger.warn() for unhandled notification methods - Log full notification object instead of just method name for better context - Affects McpClientSession, McpServerSession, and McpStreamableServerSession Signed-off-by: Christian Tzolov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 110a8d1 - Browse repository at this point
Copy the full SHA 110a8d1View commit details
Commits on Aug 7, 2025
-
Fix httpRequestCustomizer usage in HttpClientStreamableHttpTransport
- Closes #458 Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0327165 - Browse repository at this point
Copy the full SHA 0327165View commit details -
feat: handle SSE comment messages
- Add support for ignoring SSE comment lines that start with ':' - Add debug logging for comment line processing Resolves #443 Signed-off-by: Christian Tzolov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4532b61 - Browse repository at this point
Copy the full SHA 4532b61View commit details
Commits on Aug 8, 2025
-
If a handler throws McpError, use its values for the RPC error
Handlers should be able to throw RPC errors and `McpError` is the right exception for that. Improve `DefaultMcpStatelessServerHandler` error handler to check if the exception is `McpError` and, if so, use it to build the RPC error result instead of re-writing as `INTERNAL_ERROR`.
Configuration menu - View commit details
-
Copy full SHA for a14ef42 - Browse repository at this point
Copy the full SHA a14ef42View commit details -
feat: Add builder pattern for McpError and mutate method for capabili…
…ties - Add builder pattern to McpError for structured error creation with validation - Deprecate McpError(Object) constructor in favor of builder approach - Add mutate() method to server capabilities for creating modified copies Signed-off-by: Christian Tzolov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1edd1b6 - Browse repository at this point
Copy the full SHA 1edd1b6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.11.1...main