Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: modelcontextprotocol/java-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.11.1
Choose a base ref
...
head repository: modelcontextprotocol/java-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 12 commits
  • 97 files changed
  • 5 contributors

Commits on Jul 31, 2025

  1. Next development version

    Signed-off-by: Christian Tzolov <[email protected]>
    tzolov committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    bf2c8c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2025

  1. 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]>
    tzolov committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    3e4d5de View commit details
    Browse the repository at this point in the history
  2. Fix typo

    quaff authored and tzolov committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    577952d View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2025

  1. 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]>
    tzolov committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    5e035ea View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2025

  1. Remove duplicate header MCP_PROTOCOL_VERSION

    Signed-off-by: Yanming Zhou <[email protected]>
    quaff authored and tzolov committed Aug 5, 2025
    Configuration menu
    Copy the full SHA
    3a95f75 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2025

  1. 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
    codezkk authored and tzolov committed Aug 6, 2025
    Configuration menu
    Copy the full SHA
    5aba8a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f37ddc View commit details
    Browse the repository at this point in the history
  3. 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]>
    tzolov committed Aug 6, 2025
    Configuration menu
    Copy the full SHA
    110a8d1 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2025

  1. Fix httpRequestCustomizer usage in HttpClientStreamableHttpTransport

    - Closes #458
    
    Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
    Kehrlann authored and tzolov committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    0327165 View commit details
    Browse the repository at this point in the history
  2. 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]>
    tzolov committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    4532b61 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2025

  1. 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`.
    Randgalt authored and tzolov committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    a14ef42 View commit details
    Browse the repository at this point in the history
  2. 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]>
    tzolov committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    1edd1b6 View commit details
    Browse the repository at this point in the history
Loading