github modelcontextprotocol/python-sdk v1.12.0

latest releases: v1.13.1, v1.13.0, v1.12.4...
one month ago

What's Changed

  • Ensure failed oauth registration response is read before accessing response.text by @jlowin in #1118
  • Avoiding to parse string arguments containing valid JSON if the argument annotation is str by @cjg in #1113
  • Update routing for streamable HTTP to avoid 307 redirect by @yurikunash in #1115
  • add regression tests for #1113 by @bhosmer-ant in #1122
  • Fix BaseModel method name conflicts in func_metadata by @bhosmer-ant in #1123
  • README - replace code snippets with examples by @ihrpr in #1136
  • README - replace code snippets with examples - direct execution and display utilities by @ihrpr in #1137
  • Close server session after handle stateless request by @hopeful0 in #1116
  • tests: use inline_snapshot.Is on parametrized test by @Kludex in #945
  • Add regression test for stateless request memory cleanup by @felixweinberger in #1140
  • Implement RFC9728 - Support WWW-Authenticate header by MCP client by @yurikunash in #1071
  • Add streamable HTTP starlette example to Python SDK docs by @pamelafox in #1111
  • fix markdown error in README in main by @ihrpr in #1147
  • README - replace code snippets with examples - add lowlevel to snippets by @ihrpr in #1150
  • README - replace code snippets with examples - streamable http by @ihrpr in #1155
  • chore: don't allow users to create issues outside the templates by @Kludex in #1163
  • Tests(cli): Add coverage for helper functions by @davenpi in #635
  • Docs: Update CallToolResult parsing in README by @functicons in #812
  • docs: add pre-commit install guide on CONTRIBUTING.md by @dingo4dev in #995
  • fix flaky fix-test_streamablehttp_client_resumption test by @ihrpr in #1166
  • README - replace code snippets with examples -- auth examples by @ihrpr in #1164
  • Support falling back to OIDC metadata for auth by @LucaButBoring in #1061

New Contributors 🙏

Full Changelog: v1.11.0...v1.12.0

Don't miss a new python-sdk release

NewReleases is sending notifications on new releases.