Skip to content

Conversation

@botty-mcbottington
Copy link
Contributor

@botty-mcbottington botty-mcbottington bot commented Sep 6, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/modelcontextprotocol/go-sdk v0.3.1 -> v0.8.0 age confidence

Release Notes

modelcontextprotocol/go-sdk (github.com/modelcontextprotocol/go-sdk)

v0.8.0

Compare Source

This release exists to include the API change from #​518, mentioned in the v0.7.0 release. It also includes a small change to remove extraneous API.

This concludes our API audit. Barring a realization over the weekend, we will cut v1.0.0 and any further API changes will be handled in a backwards compatible way.

API Changes

  • #​518: JSON schema fields are relaxed to type any, to decouple the SDK's API from the github.com/google/jsonschema-go/jsonschema package. Now that package is only used for inference (in mcp.AddTool) and validation.
  • #​535: remove error code constants that were functionally inaccessible.

Full Changelog: modelcontextprotocol/go-sdk@v0.7.0...v0.8.0

v0.7.0

Compare Source

This release fixes a couple bugs related to the StreamableClientTransport, and relaxes it to be less strict so that it can talk to certain servers that don't perfectly conform to the spec. It also updates to google/jsonschema-go@v0.3.0, which includes a couple backwards incompatible bug fixes (see below).

For more details, see the v0.7.0 milestone.

API Changes

No changes in the API of the SDK itself, but the updated google/jsonschema-go@​v0.3.0 contained the following incompatible bug fixes:

  • google/jsonschema-go#26: the key for ForOptions.TypeSchemas must be a reflect.Type, as incomparable values are not valid map keys.
  • google/jsonschema-go#23: validation of struct values is disallowed, because it can't verify certain schema properties such as 'required', and doesn't respect custom JSON marshalling

See #​518 for a proposal to significantly decouple the SDK from the jsonschema-go package (though it would still be used for inference and validation). This decision blocks the v1.0.0 release.

New Contributors

Full Changelog: modelcontextprotocol/go-sdk@v0.6.0...v0.7.0

v0.6.0

Compare Source

This release makes a couple minor API tweaks that arose in preparation for v1.0.0, and adds significant feature documentation in the docs/ directory.

This is a release candidate, and all release blocking issues have now been addressed. We will tag v1.0.0 following a final audit (see also #​328).

For more details, see the v0.6.0 milestone.

API Changes

  • Remove the distinguished StreamID type, which was inconsistent with (for example) session IDs, which are strings (#​484).
  • Moved GetSessionID onto ServerOptions, as that is more generally useful, and since ServerSession exposes an ID method (#​478).
  • Added options for the SSE HTTP handler (#​503). The SSE transport is legacy, but it was still inconsistent that this constructor did not accept options.

Bug fixes

  • Unstructured content is now byte-wise equivalent to structured content (#​475).
  • A few performance optimizations were made for streamable HTTP serving (capping off #​190).

New Contributors

Full Changelog: modelcontextprotocol/go-sdk@v0.5.0...v0.6.0

v0.5.0

Compare Source

This release fixes several bugs related to schema validation, and makes the final set of breaking changes planned before the v1 release.

For more details, see the v0.5.0 milestone.

API Changes

  • Removed transport constructors (#​305). These were deprecated in #​272, but we left the constructors so that they could more easily be inlined away via the go:fix inline directive and gopls. Now they are removed.
  • Removed support for batching when the spec version is 2025-06-18 or higher (#​21). This is newly strict, but aligns with the MCP spec.

Bug fixes

The following notable bugs are fixed, related to JSON schema validation.

  • JSON schema for nested structs is now handled correctly (#​437).
  • Validation of types with custom JSON marshalling is fixed (#​447).
  • Validation now correctly catches missing fields (#​449).
  • Validation is now strictly case-sensitive (a consequence of the preceding fixes).

New Contributors

Full Changelog: modelcontextprotocol/go-sdk@v0.4.0...v0.5.0

v0.4.0

Compare Source

This release fixes several bugs, and expands on OAuth support and examples. It also makes a few (hopefully minor) API changes as we approach a release candidate (see #​328).

For more details, see the v0.4.0 milestone.

Thank you to all who tested the SDK, filed bugs, and contributed.

API Changes

This release includes the following incompatible changes:

  • mcp.CallToolRequest now holds an mcp.CallToolParamsRaw, to avoid confusion about the raw state of Arguments (see proposal #​377)
  • mcp.ToolFor is unexported, as it was also a footgun: modifying the resulting schema was ineffective (see proposal #​401).
  • auth.TokenVerifier is changed from func(context.Context, string) (*TokenInfo, error) to func(context.Context, string, *net/http.Request) (*TokenInfo, error), to allow access to the HTTP request (see proposal #​403).

Additionally, it includes the following additions:

  • mcp.StreamableServerTransport.JSONResponse and mcp.StreamableHTTPOptions.JSONResponse are exported, to configure serving responses as application/json rather than text/event-stream (#​397).
  • auth.ErrOAuth is added.

New Examples

Several new examples are added to demonstrate different ways to use the SDK. We will continue to expand on these examples and other documentation as we approach the release.

Bug fixes

Several notable bugs or misbehaviors are addressed:

  • Typed tool handlers now verify against their output schema (#​301).
  • The streamable hanging GET now sends HTTP headers immediately, to avoid client timeouts (#​410).
  • Strictness around notifications/initialized is relaxed, to fix flaky initialization with Claude (#​395).
  • Mcp-Session-Id response headers are now sent only for the Initialize request, per the spec (#​416).

New Contributors

Full Changelog: modelcontextprotocol/go-sdk@v0.3.1...v0.4.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@botty-mcbottington botty-mcbottington bot enabled auto-merge (squash) September 6, 2025 00:31
@codecov
Copy link

codecov bot commented Sep 6, 2025

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
1046 3 1043 0
View the top 3 failed test(s) by shortest run time
::TestMain
Stack Traces | 0s run time
FAIL	github..../kat/internal/cli [build failed]
::TestMain
Stack Traces | 0s run time
FAIL	github..../kat/pkg/mcp [build failed]
::TestMain
Stack Traces | 0s run time
FAIL	github..../kat/cmd/kat [build failed]

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-modelcontextprotocol-go-sdk-0.x branch 10 times, most recently from dbc5b6e to 6aa9270 Compare September 12, 2025 18:10
@botty-mcbottington botty-mcbottington bot changed the title fix(deps): update module github.com/modelcontextprotocol/go-sdk to v0.4.0 fix(deps): update module github.com/modelcontextprotocol/go-sdk to v0.5.0 Sep 12, 2025
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-modelcontextprotocol-go-sdk-0.x branch 6 times, most recently from 5ca7819 to deecbe9 Compare September 20, 2025 00:31
@botty-mcbottington botty-mcbottington bot changed the title fix(deps): update module github.com/modelcontextprotocol/go-sdk to v0.5.0 fix(deps): update module github.com/modelcontextprotocol/go-sdk to v0.6.0 Sep 20, 2025
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-modelcontextprotocol-go-sdk-0.x branch 3 times, most recently from ec6d680 to 721b825 Compare September 25, 2025 00:33
@botty-mcbottington botty-mcbottington bot changed the title fix(deps): update module github.com/modelcontextprotocol/go-sdk to v0.6.0 fix(deps): update module github.com/modelcontextprotocol/go-sdk to v0.7.0 Sep 25, 2025
@botty-mcbottington
Copy link
Contributor Author

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/google/jsonschema-go v0.2.3 -> v0.3.0

@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-modelcontextprotocol-go-sdk-0.x branch from 721b825 to f4f6f3f Compare September 27, 2025 00:31
@botty-mcbottington botty-mcbottington bot changed the title fix(deps): update module github.com/modelcontextprotocol/go-sdk to v0.7.0 fix(deps): update module github.com/modelcontextprotocol/go-sdk to v0.8.0 Sep 27, 2025
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-modelcontextprotocol-go-sdk-0.x branch 3 times, most recently from 5ad2006 to 6b6dc70 Compare October 1, 2025 00:38
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-modelcontextprotocol-go-sdk-0.x branch 4 times, most recently from 4c8c387 to f774fa0 Compare November 24, 2025 01:09
@MacroPower MacroPower force-pushed the main branch 3 times, most recently from c7f8c27 to 6cc48d4 Compare November 24, 2025 03:25
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-modelcontextprotocol-go-sdk-0.x branch 12 times, most recently from 94cfa04 to f87b9ae Compare December 1, 2025 00:43
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-modelcontextprotocol-go-sdk-0.x branch 4 times, most recently from 6480bf2 to 8dbe96e Compare December 4, 2025 12:16
MacroPower and others added 2 commits December 6, 2025 10:07
Validation errors were sometimes pointing to the wrong line number.
For a path like $.profiles.helm, the error pointed to the first child
property's value (e.g. the `source` value) instead of the parent key
(in this case `helm:`). This happened because getTokenFromPath was
returning the VALUE node's token rather than the KEY token.
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-modelcontextprotocol-go-sdk-0.x branch from 8dbe96e to 0287db0 Compare December 7, 2025 00:39
@botty-mcbottington
Copy link
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/google/jsonschema-go v0.2.3 -> v0.3.0

@botty-mcbottington
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants