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

Commits on Dec 15, 2025

  1. Configuration menu
    Copy the full SHA
    d3d8842 View commit details
    Browse the repository at this point in the history
  2. fix: Enable javadoc generation for modules with OSGi metadata (modelc…

    …ontextprotocol#705)
    
    fix: enable javadoc HTML generation by using legacyMode
    jonathanhefner authored Dec 15, 2025
    Configuration menu
    Copy the full SHA
    fa9dac8 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2026

  1. fix: Support form and url fields in Elicitation capability per 2025-1…

    …1-25 spec (modelcontextprotocol#731)
    
    Update the ClientCapabilities.Elicitation record to accept optional "form"
    and "url" fields as defined in the MCP 2025-11-25 specification.
    
    Previously, deserializing an InitializeRequest with
    `{"capabilities":{"elicitation":{"form":{}}}}` would fail with
    UnrecognizedPropertyException because the Elicitation record was empty.
    
    Changes:
    - Add nested Form and Url marker records to Elicitation
    - Add no-arg constructor for backward compatibility (serializes to {})
    - Add elicitation(boolean form, boolean url) builder method
    - Add comprehensive tests for deserialization and serialization
    
    Fixes modelcontextprotocol#724
    rhtnr authored Jan 8, 2026
    Configuration menu
    Copy the full SHA
    e7901da View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dce4892 View commit details
    Browse the repository at this point in the history
  3. Fix fomratting

    Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
    tzolov committed Jan 8, 2026
    Configuration menu
    Copy the full SHA
    cb533b2 View commit details
    Browse the repository at this point in the history
  4. Expose resourcesUpdateConsumer() in sync client (modelcontextprotocol…

    …#735)
    
    `resourcesUpdateConsumer()` was missing from the sync client. Add it.
    Randgalt authored Jan 8, 2026
    Configuration menu
    Copy the full SHA
    b518393 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2026

  1. Upgrade to testcontainers 1.21.4 (modelcontextprotocol#743)

    To fix a "docker-machine executable was not found on PATH"
    error with recent Docker versions (impact at least Docker
    4.55 and 4.56).
    sdeleuze authored Jan 12, 2026
    Configuration menu
    Copy the full SHA
    f7a460f View commit details
    Browse the repository at this point in the history
Loading