chore(deps): update module github.com/modelcontextprotocol/go-sdk to v1.5.0 #8

Open
sa-renovate wants to merge 1 commit from renovate/github.com-modelcontextprotocol-go-sdk-1.x into main
Member

This PR contains the following updates:

Package Type Update Change
github.com/modelcontextprotocol/go-sdk require minor v1.4.1v1.5.0

Release Notes

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

v1.5.0

Compare Source

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 the mcp_go_client_oauth build 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 from func(context.Context, *auth.AuthorizationArgs) (*auth.AuthorizationResult, error) to auth.AuthorizationCodeFetcher which is a reusable definition carrying the same underlying function type.
  • auth.AuthorizationCodeHandlerConfig.PreregisteredClientConfig was removed and replaced with auth.AuthorizationCodeHandlerConfig.PreregisteredClient which uses a newly introduced oauthex.ClientCredentials type. The type used previously (auth.PreregisteredClientConfig) has been removed.
  • Deprecated functionality has been removed from both auth and oauthex packages.

Enterprise Managed Authorization support added

Support for Enterprise Managed Authorization has been added to auth/extauth package. Huge thanks to @​radar07 for the implementation!

Note: 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

New Contributors

Full Changelog: https://github.com/modelcontextprotocol/go-sdk/compare/v1.4.1...v1.5.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.


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) | require | minor | `v1.4.1` → `v1.5.0` | --- ### Release Notes <details> <summary>modelcontextprotocol/go-sdk (github.com/modelcontextprotocol/go-sdk)</summary> ### [`v1.5.0`](https://github.com/modelcontextprotocol/go-sdk/releases/tag/v1.5.0) [Compare Source](https://github.com/modelcontextprotocol/go-sdk/compare/v1.4.1...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 the `mcp_go_client_oauth` build 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 from `func(context.Context, *auth.AuthorizationArgs) (*auth.AuthorizationResult, error)` to `auth.AuthorizationCodeFetcher` which is a reusable definition carrying the same underlying function type. - `auth.AuthorizationCodeHandlerConfig.PreregisteredClientConfig` was removed and replaced with `auth.AuthorizationCodeHandlerConfig.PreregisteredClient` which uses a newly introduced `oauthex.ClientCredentials` type. The type used previously (`auth.PreregisteredClientConfig`) has been removed. - Deprecated functionality has been removed from both `auth` and `oauthex` packages. * all: stabilize client OAuth support by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;861](https://github.com/modelcontextprotocol/go-sdk/pull/861) #### Enterprise Managed Authorization support added Support for [Enterprise Managed Authorization](https://modelcontextprotocol.io/extensions/auth/enterprise-managed-authorization) has been added to `auth/extauth` package. Huge thanks to [@&#8203;radar07](https://github.com/radar07) for the implementation! - Enterprise managed authorization by [@&#8203;radar07](https://github.com/radar07) in [#&#8203;770](https://github.com/modelcontextprotocol/go-sdk/pull/770) **Note:** 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](https://modelcontextprotocol.io/community/sdk-tiers). #### Other changes to the SDK - examples: fix OAuth client example after latest changes. by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;820](https://github.com/modelcontextprotocol/go-sdk/pull/820) - build(deps): bump actions/upload-artifact from 4.6.1 to 7.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;824](https://github.com/modelcontextprotocol/go-sdk/pull/824) - build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;825](https://github.com/modelcontextprotocol/go-sdk/pull/825) - build(deps): bump actions/setup-go from 6.2.0 to 6.3.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;827](https://github.com/modelcontextprotocol/go-sdk/pull/827) - build(deps): bump actions/checkout from 4.2.2 to 6.0.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;826](https://github.com/modelcontextprotocol/go-sdk/pull/826) - mcp: simplify and unify unit tests introduced for sampling with tools. by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;799](https://github.com/modelcontextprotocol/go-sdk/pull/799) - auth: fix 2025-03-26 backcompat by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;821](https://github.com/modelcontextprotocol/go-sdk/pull/821) - chore: update deps after v1.4.0 release by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;829](https://github.com/modelcontextprotocol/go-sdk/pull/829) - build(deps): bump github/codeql-action from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;823](https://github.com/modelcontextprotocol/go-sdk/pull/823) - mcp: update latestProtocolVersion to 2025-11-25 by [@&#8203;findleyr](https://github.com/findleyr) in [#&#8203;724](https://github.com/modelcontextprotocol/go-sdk/pull/724) - mcp: protect ioConn.protocolVersion with a mutex by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;832](https://github.com/modelcontextprotocol/go-sdk/pull/832) - examples: add an example that display header forwarding. by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;836](https://github.com/modelcontextprotocol/go-sdk/pull/836) - internal: fix Unicode zero character handling by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;841](https://github.com/modelcontextprotocol/go-sdk/pull/841) - auth: allow passing custom http.Client to AuthorizationCodeHandler by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;840](https://github.com/modelcontextprotocol/go-sdk/pull/840) - mcp: verify 'Origin' and 'Content-Type' headers by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;842](https://github.com/modelcontextprotocol/go-sdk/pull/842) - auth: return scope in WWW-Authenticate header. by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;834](https://github.com/modelcontextprotocol/go-sdk/pull/834) - mcp: fix setProgressToken when Meta is nil by [@&#8203;StevenRChen](https://github.com/StevenRChen) in [#&#8203;846](https://github.com/modelcontextprotocol/go-sdk/pull/846) - all: clean up Go 1.24 specific code. by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;850](https://github.com/modelcontextprotocol/go-sdk/pull/850) - mcp: re-enable race test after fixing data races by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;851](https://github.com/modelcontextprotocol/go-sdk/pull/851) - mcp: handle empty chunks in MemoryEventStore by [@&#8203;jba](https://github.com/jba) in [#&#8203;862](https://github.com/modelcontextprotocol/go-sdk/pull/862) - oauthex: use internal JSON library for decoding. by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) in [#&#8203;866](https://github.com/modelcontextprotocol/go-sdk/pull/866) - all: fix typos by [@&#8203;alexandear](https://github.com/alexandear) in [#&#8203;869](https://github.com/modelcontextprotocol/go-sdk/pull/869) - mcp: return input validation errors as tool results, not JSON-RPC errors by [@&#8203;ravyg](https://github.com/ravyg) in [#&#8203;863](https://github.com/modelcontextprotocol/go-sdk/pull/863) - all: modernize code by [@&#8203;alexandear](https://github.com/alexandear) in [#&#8203;868](https://github.com/modelcontextprotocol/go-sdk/pull/868) - mcp: accept parameterized Accept media types by [@&#8203;kalvinnchau](https://github.com/kalvinnchau) in [#&#8203;853](https://github.com/modelcontextprotocol/go-sdk/pull/853) - mcp: use http.ResponseController to ensure writes are flushed by [@&#8203;toofishes](https://github.com/toofishes) in [#&#8203;870](https://github.com/modelcontextprotocol/go-sdk/pull/870) #### New Contributors - [@&#8203;StevenRChen](https://github.com/StevenRChen) made their first contribution in [#&#8203;846](https://github.com/modelcontextprotocol/go-sdk/pull/846) - [@&#8203;radar07](https://github.com/radar07) made their first contribution in [#&#8203;770](https://github.com/modelcontextprotocol/go-sdk/pull/770) - [@&#8203;alexandear](https://github.com/alexandear) made their first contribution in [#&#8203;869](https://github.com/modelcontextprotocol/go-sdk/pull/869) - [@&#8203;ravyg](https://github.com/ravyg) made their first contribution in [#&#8203;863](https://github.com/modelcontextprotocol/go-sdk/pull/863) - [@&#8203;kalvinnchau](https://github.com/kalvinnchau) made their first contribution in [#&#8203;853](https://github.com/modelcontextprotocol/go-sdk/pull/853) - [@&#8203;toofishes](https://github.com/toofishes) made their first contribution in [#&#8203;870](https://github.com/modelcontextprotocol/go-sdk/pull/870) **Full Changelog**: <https://github.com/modelcontextprotocol/go-sdk/compare/v1.4.1...v1.5.0> </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My43Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNzYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chore(deps): update module github.com/modelcontextprotocol/go-sdk to v1.5.0
All checks were successful
ci / trivy (pull_request) Successful in 15s
3097c2088b
Author
Member

ℹ️ 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):

  • 2 additional dependencies were updated

Details:

Package Change
golang.org/x/oauth2 v0.34.0 -> v0.35.0
golang.org/x/sys v0.40.0 -> v0.41.0
### ℹ️ 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): - 2 additional dependencies were updated Details: | **Package** | **Change** | | :-------------------- | :--------------------- | | `golang.org/x/oauth2` | `v0.34.0` -> `v0.35.0` | | `golang.org/x/sys` | `v0.40.0` -> `v0.41.0` |
All checks were successful
ci / trivy (pull_request) Successful in 15s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/github.com-modelcontextprotocol-go-sdk-1.x:renovate/github.com-modelcontextprotocol-go-sdk-1.x
git switch renovate/github.com-modelcontextprotocol-go-sdk-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/github.com-modelcontextprotocol-go-sdk-1.x
git switch renovate/github.com-modelcontextprotocol-go-sdk-1.x
git rebase main
git switch main
git merge --ff-only renovate/github.com-modelcontextprotocol-go-sdk-1.x
git switch renovate/github.com-modelcontextprotocol-go-sdk-1.x
git rebase main
git switch main
git merge --no-ff renovate/github.com-modelcontextprotocol-go-sdk-1.x
git switch main
git merge --squash renovate/github.com-modelcontextprotocol-go-sdk-1.x
git switch main
git merge --ff-only renovate/github.com-modelcontextprotocol-go-sdk-1.x
git switch main
git merge renovate/github.com-modelcontextprotocol-go-sdk-1.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DevFW-CICD/edge-connect-mcp!8
No description provided.