chore(deps): bump github.com/modelcontextprotocol/go-sdk from 1.1.0 to 1.2.0
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(4 months ago)
(4 months ago)
(4 months ago)
dependencies go
Bumps github.com/modelcontextprotocol/go-sdk from 1.1.0 to 1.2.0.
Release notes
Sourced from github.com/modelcontextprotocol/go-sdk's releases.
v1.2.0
This release is equivalent to v1.2.0-pre.2. Thank you to those who tested the prerelease.
This release adds partial support for the 2025-11-25 version of the MCP spec and fixes some bugs in the streamable transports. It also includes some minor new APIs, changes to contributing flows, and small bugfixes.
Contributing changes
- CONTRIBUTING.md is updated to remove the ad-hoc antitrust policy (#651), and add a dependency update policy (#635).
- An example server (
examples/server/conformance) is added for the new conformance tests at modelcontextprotocol/conformance. Test can be run withscripts/conformance.sh(#650).Partial support for the 2025-11-25 spec
The following SEPs from the 2025-11-25 spec are now supported. Please see modelcontextprotocol/go-sdk#725 for the proposed API additions included to support these SEPs.
- SEP-973: icons and metadata (modelcontextprotocol/go-sdk#570)
- SEP-986: tool name validation (modelcontextprotocol/go-sdk#640)
- SEP-1024: elicitation defaults (modelcontextprotocol/go-sdk#644)
- SEP-1036: URL mode elicitation (modelcontextprotocol/go-sdk#646)
- SEP-1699: SSE polling (modelcontextprotocol/go-sdk#663)
- SEP-1330: elicitation enum improvements (modelcontextprotocol/go-sdk#676)
Other API additions
- Common error codes are now available through the sentinel
jsonrpc.Error(#452)- OAuth 2.0 Protected Resource Metadata support (#643)
ClientCapabilities.RootsV2and RootCapabilities are added to work around an API bug (#607)Capabilitiesfields are added toServerOptionsandClientOptions, to simplify capability configuration (#706)Streamable fixes
Several bug fixes are included for the streamable transports:
- mcp: relax SSE connection response handling in non-strict mode by
@zhxiein modelcontextprotocol/go-sdk#611- Fix: Skip non-message SSE events in processStream by
@raphaelmansuyin modelcontextprotocol/go-sdk#637- mcp: better handling for streamable context cancellation by
@findleyrin modelcontextprotocol/go-sdk#677- mcp: don't break the streamable client connection for transient errors by
@findleyrin modelcontextprotocol/go-sdk#723Other notable bugfixes
- fix: handle Windows CRLF in MCP client by
@isfzhangin modelcontextprotocol/go-sdk#665- auth, mcp: add UserID to TokenInfo for session hijacking prevention by
@findleyrin modelcontextprotocol/go-sdk#695- internal/docs: document UserID for session hijacking prevention by
@findleyrin modelcontextprotocol/go-sdk#697- mcp: allow re-using connections in more cases by
@howardjohnin modelcontextprotocol/go-sdk#709- oauthex: validate URL schemes in auth server metadata and DCR by
@findleyrin modelcontextprotocol/go-sdk#712- mcp: debounce server change notifications by
@findleyrin modelcontextprotocol/go-sdk#717- oauthex: fix content type check in getJSON by
@nikolavpin modelcontextprotocol/go-sdk#721New Contributors
@zhxiemade their first contribution in modelcontextprotocol/go-sdk#611@SpringMTmade their first contribution in modelcontextprotocol/go-sdk#614
... (truncated)
Commits
411d5a0mcp: switch icon theme to named string type (#733)76e6854docs: add GitHub Pages redirect to latest release documentation (#702)875d1d3mcp: don't break the streamable client connection for transient errors (#723)e009bacoauthex: fix content type check in getJSON (#721)3430e22mcp: add Capabilities fields to ServerOptions and ClientOptions (#713)bae0929mcp: address review comments on streamable cleanup (#716)b3399e6mcp: use args struct for CloseSSEStream (#718)1a964aemcp: debounce server change notifications (#717)a5e369emcp: fix broken client root capabilities (#698)307e32coauthex: validate URL schemes in auth server metadata and DCR- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
go
1.1.0 → 1.2.0
Minor
Technical Details
| ID: | 13696455 |
| UUID: | 3902182233 |
| Node ID: | PR_kwDOQMuBg87BwmND |
| Host: | GitHub |
| Repository: | stackrox/stackrox-mcp |