Repository navigation
Update Go dependencies - #124
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
|
a139e3d to
66b68ff
Compare
Applies the sqlite half of Renovate PR #124 on develop. The MCP go-sdk v1.9.0 bump is held: it stops answering cancelled requests, which breaks the stdio cancellation drain tests in internal/mcpadapter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Applied modernc.org/sqlite v1.64.0 to develop in bcd2010. Held github.com/modelcontextprotocol/go-sdk v1.9.0: it no longer answers cancelled requests, which breaks the stdio cancellation drain tests in internal/mcpadapter (TestReviewControlsStdioDrainsCanceledResponseBeforeClosingReader and others). Main stays CodeRabbit-reviewed only, so this is not merged there. |
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.