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: main
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: 1.1.x
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 10 commits
  • 27 files changed
  • 7 contributors

Commits on Mar 13, 2026

  1. Release version 1.1.0

    Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
    tzolov committed Mar 13, 2026
    Configuration menu
    Copy the full SHA
    d4d8072 View commit details
    Browse the repository at this point in the history
  2. Next development version

    Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
    tzolov committed Mar 13, 2026
    Configuration menu
    Copy the full SHA
    c9b9368 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2026

  1. Merge commit from fork

    Kehrlann authored Mar 27, 2026
    Configuration menu
    Copy the full SHA
    d69501f View commit details
    Browse the repository at this point in the history
  2. Release version 1.1.1

    Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
    Kehrlann committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    5968078 View commit details
    Browse the repository at this point in the history
  3. Next development version

    Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
    Kehrlann committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    3c27d8e View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2026

  1. Deprecate Builder.customizeRequest() in favor of httpRequestCustomize…

    …r() (#791)
    
    Deprecate Builder.customizeRequest() in HttpClientSseClientTransport and HttpClientStreamableHttpTransport
    
    customizeRequest() executes its consumer once at build time, freezing
    headers into the shared requestBuilder. This silently breaks OAuth
    token refresh scenarios where the Authorization header needs to be
    updated after the transport is built.
    
    Add @deprecated and update Javadoc to clarify the build-time-only
    semantics and guide users toward httpRequestCustomizer() or
    asyncHttpRequestCustomizer() which run on every request.
    
    Closes #788
    
    Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
    gyeo009 authored and Kehrlann committed Apr 2, 2026
    Configuration menu
    Copy the full SHA
    7e4c179 View commit details
    Browse the repository at this point in the history
  2. HttpClientStreamableHttpTransport: handle HTTP 405

    - Fixes #877
    
    Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
    Kehrlann committed Apr 2, 2026
    Configuration menu
    Copy the full SHA
    8e1c5d0 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2026

  1. Fix UTF-8 encoding for non-ASCII tool names in HTTP client transports

    Both HttpClientSseClientTransport and HttpClientStreamableHttpTransport
    set Content-Type to 'application/json' without specifying the charset.
    While Java's BodyPublishers.ofString() uses UTF-8 by default, the
    missing charset in the header can cause the server to interpret the
    request body using a different encoding (e.g., ISO-8859-1), corrupting
    non-ASCII characters such as Chinese tool names.
    
    Explicitly set Content-Type to 'application/json; charset=utf-8' in
    POST requests on both client transports.
    
    Fixes #260
    Backport of #850
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Co-authored-by: Daniel Garnier-Moiroux <git@garnier.wf>
    Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
    3 people committed Apr 8, 2026
    Configuration menu
    Copy the full SHA
    9ead4d1 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2026

  1. feat: add support for meta parameter in client paginated list queries (

    …#906)
    
    * feat: add support for meta parameter in client paginated list queries#
    
    - resources/list
    - resources/templates/list
    - prompts/list
    - tools/list
    
    paginated list operations extended in this review:
    - listResources(String cursor, Map<String, Object> meta)
    - listResourceTemplates(String cursor, Map<String, Object> meta)
    - listPrompts(String cursor, Map<String, Object> meta)
    
    Closes #907
    
    Co-authored-by: SHEETAL MOHITE <mohishee@amazon.com>
    Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
    2 people authored and Kehrlann committed Apr 9, 2026
    Configuration menu
    Copy the full SHA
    92bb47b View commit details
    Browse the repository at this point in the history
  2. Polish gh-906

    Kehrlann committed Apr 9, 2026
    Configuration menu
    Copy the full SHA
    141063c View commit details
    Browse the repository at this point in the history
Loading