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/python-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/python-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ochafik/streamable-http-client
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 10 commits
  • 8 files changed
  • 3 contributors

Commits on Jul 31, 2025

  1. fid sse client disconnect

    文徐 committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    e977423 View commit details
    Browse the repository at this point in the history
  2. fix pyright check error

    文徐 committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    9019b4b View commit details
    Browse the repository at this point in the history
  3. recover unused change

    文徐 committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    98129c2 View commit details
    Browse the repository at this point in the history
  4. fix ruff check

    文徐 committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    f29a898 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2025

  1. Configuration menu
    Copy the full SHA
    7149139 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39b4b7a View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2025

  1. feat: implement StreamableHTTPClient as a cleaner replacement for str…

    …eamablehttp_client
    
    - Add StreamableHTTPClient class with better encapsulation
    - Support httpx_client_factory and auth parameters
    - Maintain backwards compatibility with async context manager interface
    - Provide connect() method for explicit connection management
    - Add comprehensive docstrings and type annotations
    
    The new class provides the same 3-tuple interface (read_stream, write_stream, get_session_id)
    as the original streamablehttp_client function, ensuring full backwards compatibility.
    ochafik committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    77f0560 View commit details
    Browse the repository at this point in the history
  2. refactor: deprecate streamablehttp_client function in favor of Stream…

    …ableHTTPClient
    
    - Replace streamablehttp_client implementation to use StreamableHTTPClient internally
    - Add deprecation warning to guide users to the new class
    - Maintain full backwards compatibility
    - All tests pass with the new implementation
    
    The function now delegates to the new StreamableHTTPClient class, ensuring
    consistent behavior while encouraging migration to the cleaner class-based API.
    ochafik committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    1be5a26 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2025

  1. Configuration menu
    Copy the full SHA
    24be61b View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2025

  1. Configuration menu
    Copy the full SHA
    0ca0f2d View commit details
    Browse the repository at this point in the history
Loading