- Notifications
You must be signed in to change notification settings - Fork907
Commit62a5c4c
authored
chore: bump github.com/mark3labs/mcp-go from 0.28.0 to 0.29.0 (#18031)
Bumps [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go)from 0.28.0 to 0.29.0.<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/mark3labs/mcp-go/releases">github.com/mark3labs/mcp-go'sreleases</a>.</em></p><blockquote><h2>Release v0.29.0</h2><h2>What's Changed</h2><ul><li>refactor: make CallToolRequest.Arguments more flexible (BreakingChange) by <ahref="https://github.com/ezynda3"><code>@ezynda3</code></a> in <ahref="https://redirect.github.com/mark3labs/mcp-go/pull/287">mark3labs/mcp-go#287</a></li><li>Drop unused fields from server.sseSession by <ahref="https://github.com/ggoodman"><code>@ggoodman</code></a> in <ahref="https://redirect.github.com/mark3labs/mcp-go/pull/303">mark3labs/mcp-go#303</a></li><li>chore: remove unused variables and type arguments by <ahref="https://github.com/pottekkat"><code>@pottekkat</code></a> in <ahref="https://redirect.github.com/mark3labs/mcp-go/pull/302">mark3labs/mcp-go#302</a></li><li>chore(Srv/stdio): duplicated setting of ErrorLogger by <ahref="https://github.com/cryo-zd"><code>@cryo-zd</code></a> in <ahref="https://redirect.github.com/mark3labs/mcp-go/pull/306">mark3labs/mcp-go#306</a></li><li>fix: handle the situation where the channel is closed by <ahref="https://github.com/button-chen"><code>@button-chen</code></a> in<ahref="https://redirect.github.com/mark3labs/mcp-go/pull/304">mark3labs/mcp-go#304</a></li></ul><h2>Breaking Changes</h2><p>In <code>v0.29.0</code>, MCP-Go introduces breaking changes to toolrequest handling. The main change is that<code>request.Params.Arguments</code> is no longer directly accessibleas a map. Instead, you must use the new <code>GetArguments()</code>method to retrieve arguments as a map. For type-safe argument access,new helper methods like <code>RequireString()</code>,<code>RequireFloat()</code>, and <code>RequireBool()</code> have beenadded. To migrate:</p><ol><li>Replace direct access to<code>request.Params.Arguments["key"]</code> with<code>request.GetArguments()["key"]</code></li><li>For better type safety, use the new helper methods:<code>request.RequireString("key")</code>,<code>request.RequireFloat("key")</code>, etc.</li><li>For complex argument structures, use the new<code>BindArguments()</code> method with a struct, or try the new typedtool handlers with <code>mcp.NewTypedToolHandler()</code> as shown inthe new <code>examples/typed_tools</code> example.</li></ol><h2>New Contributors</h2><ul><li><a href="https://github.com/ggoodman"><code>@ggoodman</code></a>made their first contribution in <ahref="https://redirect.github.com/mark3labs/mcp-go/pull/303">mark3labs/mcp-go#303</a></li><li><ahref="https://github.com/button-chen"><code>@button-chen</code></a>made their first contribution in <ahref="https://redirect.github.com/mark3labs/mcp-go/pull/304">mark3labs/mcp-go#304</a></li></ul><p><strong>Full Changelog</strong>: <ahref="https://github.com/mark3labs/mcp-go/compare/v0.28.0...v0.29.0">https://github.com/mark3labs/mcp-go/compare/v0.28.0...v0.29.0</a></p></blockquote></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/mark3labs/mcp-go/commit/99720bb4c4513ba1d2443b4e5045b7763e0b7142"><code>99720bb</code></a>fix: handle the situation where the channel is closed (<ahref="https://redirect.github.com/mark3labs/mcp-go/issues/304">#304</a>)</li><li><ahref="https://github.com/mark3labs/mcp-go/commit/420d52199bb3557fe4bd0f5b5aa07c3e3721ae7b"><code>420d521</code></a>chore(Srv/stdio): duplicated setting of ErrorLogger (<ahref="https://redirect.github.com/mark3labs/mcp-go/issues/306">#306</a>)</li><li><ahref="https://github.com/mark3labs/mcp-go/commit/eaa6f29a3b0776e17c7cdc455eeccc9be72b473a"><code>eaa6f29</code></a>chore: remove unused variables and type arguments (<ahref="https://redirect.github.com/mark3labs/mcp-go/issues/302">#302</a>)</li><li><ahref="https://github.com/mark3labs/mcp-go/commit/65010c4c5c167e8fa6ca1e4fd242de04027567ce"><code>65010c4</code></a>chore: drop unused fields from sseSession (<ahref="https://redirect.github.com/mark3labs/mcp-go/issues/303">#303</a>)</li><li><ahref="https://github.com/mark3labs/mcp-go/commit/28c9cc310fed16014107a4e4c970b1d440066b4a"><code>28c9cc3</code></a>refactor: make CallToolRequest.Arguments more flexible (Breaking Change)(<ahref="https://redirect.github.com/mark3labs/mcp-go/issues/287">#287</a>)</li><li>See full diff in <ahref="https://github.com/mark3labs/mcp-go/compare/v0.28.0...v0.29.0">compareview</a></li></ul></details><br />[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)Dependabot will resolve any conflicts with this PR as long as you don'talter it yourself. You can also trigger a rebase manually by commenting`@dependabot rebase`.[//]: # (dependabot-automerge-start)[//]: # (dependabot-automerge-end)---<details><summary>Dependabot commands and options</summary><br />You can trigger Dependabot actions by commenting on this PR:- `@dependabot rebase` will rebase this PR- `@dependabot recreate` will recreate this PR, overwriting any editsthat have been made to it- `@dependabot merge` will merge this PR after your CI passes on it- `@dependabot squash and merge` will squash and merge this PR afteryour CI passes on it- `@dependabot cancel merge` will cancel a previously requested mergeand block automerging- `@dependabot reopen` will reopen this PR if it is closed- `@dependabot close` will close this PR and stop Dependabot recreatingit. You can achieve the same result by closing it manually- `@dependabot show <dependency name> ignore conditions` will show allof the ignore conditions of the specified dependency- `@dependabot ignore this major version` will close this PR and stopDependabot creating any more for this major version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this minor version` will close this PR and stopDependabot creating any more for this minor version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this dependency` will close this PR and stopDependabot creating any more for this dependency (unless you reopen thePR or upgrade to it yourself)</details>Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent5827219 commit62a5c4c
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
488 | 488 |
| |
489 | 489 |
| |
490 | 490 |
| |
491 |
| - | |
| 491 | + | |
492 | 492 |
| |
493 | 493 |
| |
494 | 494 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1506 | 1506 |
| |
1507 | 1507 |
| |
1508 | 1508 |
| |
1509 |
| - | |
1510 |
| - | |
| 1509 | + | |
| 1510 | + | |
1511 | 1511 |
| |
1512 | 1512 |
| |
1513 | 1513 |
| |
|
0 commit comments
Comments
(0)