Repository navigation
Update Go dependencies - #126
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
v1.8.0→v1.9.0v1.63.0→v1.64.0Release Notes
modelcontextprotocol/go-sdk (github.com/modelcontextprotocol/go-sdk)
v1.9.0Compare Source
This release is equivalent to v1.9.0-pre.1. Thank you to those who tested the pre-release.
In this release we introduce fixes, hardening, and small API additions on top of v1.8.0. It adds no new protocol revision:
2026-07-28remains the newest version the SDK negotiates.Most changes tighten spec compliance (standard JSON-RPC error codes, exact JSON number decoding without
float64rounding, SEP-2243 HTTP headers, MRTR, and OAuth/OIDC validation), bound peer-controlled inputs, and add hooks for stream keep-alives, per-session notifications, and middleware.Eight new
MCPGODEBUGflags let you revert individual behavior changes, and seven flags fromv1.7.0are removed as scheduled; see below.Hardening
HTTP clients no longer follow cross-origin or method-changing redirects unless the
http.Clientsets its ownCheckRedirect(StreamableClientTransport,SSEClientTransport, and OAuth requests). The stdio frame cap now holds across arbitrary read boundaries,CommandTransportgainsMaxLineLength,StreamableClientTransportappliesDefaultMaxEventSizewhen unset, andParseWWWAuthenticateruns in linear time. On the client, theprompts/list,resources/list,resources/templates/list, andresources/readcaches are capped at 512 entries each and no longer retain results withttlMs <= 0.Streams, per-session notifications, and middleware APIs
StreamableHTTPOptions.StreamKeepAlivesends periodic SSE comments on idle POST response streams (30s by default; negative disables) so proxies do not dropsubscriptions/listenor slow calls.ServerSession.NotifyToolListChanged,NotifyPromptListChanged,NotifyResourceListChanged, andNotifyResourceUpdatednotify a single2026-07-28session's opensubscriptions/listenstreams.StreamableHTTPOptions.OnRequestSummary,HasParams, andRequest.GetID(ClientRequest.ID/ServerRequest.ID) expose request metadata to middleware and observability hooks.ClientSession.Discover,ParseURLElicitationRequiredError, andAnnotations.SetPriority/HasPriority(to serialize an explicit0priority).Behavior changes guarded by MCPGODEBUG
The new flags below revert the corresponding change (except
demotesessionlifecyclelog, which is opt-in). All will be removed in v1.11.0; see docs/mcpgodebug.md for details.structuredcontentfloat64=1— decode numbers inCallToolResult.StructuredContentasfloat64instead ofjson.Number(#1239).disablepromptargsvalidation=1— call the prompt handler even when a required argument is missing instead of returning-32602(#1297).allowmissingclientparams=1— acceptelicitation/create,notifications/elicitation/complete, andnotifications/resources/updatedwith missing ornullparams (#1315).nopreinitinvalidrequest=1— refuse pre-initializerequests on legacy sessions with code0instead of-32600(#1393).nointernalerrorcode=1— send handler errors carrying no code with code0instead of-32603(#1407).fatalnewprotocolerrors=1— fail the streamable client connection when an independent2026-07-28request fails (#1353).followallredirects=1— follow cross-origin and method-changing HTTP redirects (#1440).demotesessionlifecyclelog=1(opt-in) — emit per-session lifecycle logs at debug level instead of info (#1208).Options below were removed, according to plan:
customresnotfounderrcodehintomitemptyallowsessionsinstatelessnomethodnotfoundcodeinerrornoprotocolerrorbodynowrapinvalidparamsdisablecompleteparamsvalidationThe removal of
plaintextstatefulrejectionandblockingcancelnotify, added in v1.8.0, was postponed to v1.10.0.Other Changes to the SDK
Spec compliance, JSON numbers, and SEP-2243 headers:
Sessions, transports, cancellation, subscriptions, and MRTR:
Authorization (
auth,auth/extauth,oauthex):Docs, conformance scripts, and CI:
New Contributors
Full Changelog: modelcontextprotocol/go-sdk@v1.8.0...v1.9.0
cznic/sqlite (modernc.org/sqlite)
v1.64.0Compare Source
Signed provenance for this release: the two files below. VERIFYING.md in the repository says how to check them.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.