fix(deps): update module github.com/modelcontextprotocol/go-sdk to v0.4.0 #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.3.1->v0.4.0Release Notes
modelcontextprotocol/go-sdk (github.com/modelcontextprotocol/go-sdk)
v0.4.0Compare 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.CallToolRequestnow holds anmcp.CallToolParamsRaw, to avoid confusion about the raw state ofArguments(see proposal #377)mcp.ToolForis unexported, as it was also a footgun: modifying the resulting schema was ineffective (see proposal #401).auth.TokenVerifieris changed fromfunc(context.Context, string) (*TokenInfo, error)tofunc(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.JSONResponseandmcp.StreamableHTTPOptions.JSONResponseare exported, to configure serving responses asapplication/jsonrather thantext/event-stream(#397).auth.ErrOAuthis 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:
notifications/initializedis relaxed, to fix flaky initialization with Claude (#395).Mcp-Session-Idresponse headers are now sent only for theInitializerequest, 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: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.