chore(deps): bump github.com/modelcontextprotocol/go-sdk from 1.2.0 to 1.5.0
Type: Pull Request
State: Open
Association: Unknown
Comments: 2
(2 months ago)
(about 2 months ago)
dependencies go
Bumps github.com/modelcontextprotocol/go-sdk from 1.2.0 to 1.5.0.
Release notes
Sourced from github.com/modelcontextprotocol/go-sdk's releases.
v1.5.0
This release is equivalent to v1.5.0-pre.1. Thank you to those who tested the pre-release.
In this release we introduce important enhancements to the client-side OAuth flows. We also introduce several smaller fixes and improvements.
Stabilization of client-side OAuth APIs
As previously communicated, we're stabilizing the client-side OAuth APIs in
v1.5.0. This means that themcp_go_client_oauthbuild tag will no longer be required to compile the functionality and standard backward compatibility guarantees apply from now on.Compared to the experimental support published in
v1.4.0, we made some backwards incompatible changes:
auth.AuthorizationCodeHandlerConfig.AuthorizationCodeFetcher's type was changed fromfunc(context.Context, *auth.AuthorizationArgs) (*auth.AuthorizationResult, error)toauth.AuthorizationCodeFetcherwhich is a reusable definition carrying the same underlying function type.auth.AuthorizationCodeHandlerConfig.PreregisteredClientConfigwas removed and replaced withauth.AuthorizationCodeHandlerConfig.PreregisteredClientwhich uses a newly introducedoauthex.ClientCredentialstype. The type used previously (auth.PreregisteredClientConfig) has been removed.- Deprecated functionality has been removed from both
authandoauthexpackages.
- all: stabilize client OAuth support by
@maciej-kisielin modelcontextprotocol/go-sdk#861Enterprise Managed Authorization support added
Support for Enterprise Managed Authorization has been added to
auth/extauthpackage. Huge thanks to@radar07for the implementation!
- Enterprise managed authorization by
@radar07in modelcontextprotocol/go-sdk#770Note: this support is part of an official MCP extension and is not part of the core protocol. The support of this functionality is not covered by the principles defined in SDK tiers.
Other changes to the SDK
- examples: fix OAuth client example after latest changes. by
@maciej-kisielin modelcontextprotocol/go-sdk#820- build(deps): bump actions/upload-artifact from 4.6.1 to 7.0.0 by
@dependabot[bot] in modelcontextprotocol/go-sdk#824- build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.3 by
@dependabot[bot] in modelcontextprotocol/go-sdk#825- build(deps): bump actions/setup-go from 6.2.0 to 6.3.0 by
@dependabot[bot] in modelcontextprotocol/go-sdk#827- build(deps): bump actions/checkout from 4.2.2 to 6.0.2 by
@dependabot[bot] in modelcontextprotocol/go-sdk#826- mcp: simplify and unify unit tests introduced for sampling with tools. by
@maciej-kisielin modelcontextprotocol/go-sdk#799- auth: fix 2025-03-26 backcompat by
@maciej-kisielin modelcontextprotocol/go-sdk#821- chore: update deps after v1.4.0 release by
@maciej-kisielin modelcontextprotocol/go-sdk#829- build(deps): bump github/codeql-action from 3 to 4 by
@dependabot[bot] in modelcontextprotocol/go-sdk#823- mcp: update latestProtocolVersion to 2025-11-25 by
@findleyrin modelcontextprotocol/go-sdk#724- mcp: protect ioConn.protocolVersion with a mutex by
@maciej-kisielin modelcontextprotocol/go-sdk#832- examples: add an example that display header forwarding. by
@maciej-kisielin modelcontextprotocol/go-sdk#836- internal: fix Unicode zero character handling by
@maciej-kisielin modelcontextprotocol/go-sdk#841- auth: allow passing custom http.Client to AuthorizationCodeHandler by
@maciej-kisielin modelcontextprotocol/go-sdk#840- mcp: verify 'Origin' and 'Content-Type' headers by
@maciej-kisielin modelcontextprotocol/go-sdk#842- auth: return scope in WWW-Authenticate header. by
@maciej-kisielin modelcontextprotocol/go-sdk#834- mcp: fix setProgressToken when Meta is nil by
@StevenRChenin modelcontextprotocol/go-sdk#846- all: clean up Go 1.24 specific code. by
@maciej-kisielin modelcontextprotocol/go-sdk#850- mcp: re-enable race test after fixing data races by
@maciej-kisielin modelcontextprotocol/go-sdk#851- mcp: handle empty chunks in MemoryEventStore by
@jbain modelcontextprotocol/go-sdk#862- oauthex: use internal JSON library for decoding. by
@maciej-kisielin modelcontextprotocol/go-sdk#866- all: fix typos by
@alexandearin modelcontextprotocol/go-sdk#869- mcp: return input validation errors as tool results, not JSON-RPC errors by
@ravygin modelcontextprotocol/go-sdk#863- all: modernize code by
@alexandearin modelcontextprotocol/go-sdk#868- mcp: accept parameterized Accept media types by
@kalvinnchauin modelcontextprotocol/go-sdk#853
... (truncated)
Commits
d3fd25bmcp: use http.ResponseController to ensure writes are flushed (#870)638d404all: stabilize client OAuth support (#861)c1a12cfmcp: accept parameterized Accept media types (#853)a1f808call: modernize code (#868)74d2751mcp: return input validation errors as tool results, not JSON-RPC errors (#863)b71a839all: fix typos (#869)2d43865Enterprise managed authorization (#770)05277f6oauthex: use internal JSON library for decoding. (#866)150bca7mcp: handle empty chunks in MemoryEventStore (#862)755b9edmcp: re-enable race test after fixing data races (#851)- 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.2.0 → 1.5.0
Minor
Technical Details
| ID: | 15479132 |
| UUID: | 4222143060 |
| Node ID: | PR_kwDOQ8pI2s7QsfVj |
| Host: | GitHub |
| Repository: | flashcatcloud/flashduty-runner |