Repository navigation
Comparing changes
Open a pull request
base repository: modelcontextprotocol/java-sdk
base: v0.18.4
head repository: modelcontextprotocol/java-sdk
compare: v0.18.5
- 9 commits
- 54 files changed
- 3 contributors
Commits on Aug 19, 2026
-
Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ba88f6 - Browse repository at this point
Copy the full SHA 5ba88f6View commit details
Commits on Aug 26, 2026
-
Fix error behavior on unregistered handlers in stateless server handler
Backport of #800 to the 0.18.x line. Instead of returning Mono.error with an McpError, DefaultMcpStatelessServerHandler now returns a JSON-RPC method not found error (-32601), aligned with the stateful server session handler. The early return meant the error never reached the onErrorResume below it, so it escaped to the transport. HttpServletStatelessServerTransport and the Spring WebMvc/WebFlux stateless transports all map an escaping handler error to HTTP 500, so any request for a method with no registered handler was answered with a server error rather than a JSON-RPC error response. Clients probing for optional methods -- OpenAI's hosted connector sends server/discover before tools/list -- therefore drove 5xx traffic against otherwise healthy servers. Adds the unit test from #800 and an integration test that asserts both the HTTP status and the JSON-RPC error body, since the status is what regressed. See #1085
Configuration menu - View commit details
-
Copy full SHA for 76f6451 - Browse repository at this point
Copy the full SHA 76f6451View commit details
Commits on Oct 9, 2026
-
Reject non application/json POST requests
Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba66498 - Browse repository at this point
Copy the full SHA ba66498View commit details -
Reject non application/json POST requests in Spring transports
Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e82adb - Browse repository at this point
Copy the full SHA 6e82adbView commit details
Commits on Oct 15, 2026
-
Remove aggregate exception from JSONRPCErrorResponse, log instead (#1184
) Backport #1182 (cherry picked from commit 7aa05da) Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b232c0 - Browse repository at this point
Copy the full SHA 3b232c0View commit details -
Streamable HTTP: Add session sweeping and close hanging streams
Backport of #1130. Also includes the changes from 4186ca1 (resumed streams are registered as the listening stream) and ff78191 (close the response stream after sending a method-not-found error), which #1130 builds upon. Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1760749 - Browse repository at this point
Copy the full SHA 1760749View commit details -
Introduce maxSessions and sessionIdleTimeout in Spring transports
Port of spring-projects/spring-ai@023867c to the WebFlux and WebMvc Streamable HTTP server transports. Give users the ability to configure maxSessions and a mechanism to evict idle sessions. Initialize requests carrying an Mcp-Session-Id header are rejected, and sessions removed through DELETE are no longer tracked. Signed-off-by: Dimitar Proynov <[email protected]> Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e59dab1 - Browse repository at this point
Copy the full SHA e59dab1View commit details -
See b43bf03 Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3f7ff2 - Browse repository at this point
Copy the full SHA c3f7ff2View commit details -
Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49e419b - Browse repository at this point
Copy the full SHA 49e419bView 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.18.4...v0.18.5