Skip to content

Update Go dependencies - #124

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-dependencies
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-dependencies

Conversation

@renovate

@renovate renovate Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/modelcontextprotocol/go-sdk v1.8.0 → v1.9.0 age confidence
modernc.org/sqlite v1.63.0 → v1.64.0 age confidence

Release Notes

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

v1.9.0

Compare 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-28 remains the newest version the SDK negotiates.

Most changes tighten spec compliance (standard JSON-RPC error codes, exact JSON number decoding without float64 rounding, 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 MCPGODEBUG flags let you revert individual behavior changes, and seven flags from v1.7.0 are removed as scheduled; see below.

Hardening

HTTP clients no longer follow cross-origin or method-changing redirects unless the http.Client sets its own CheckRedirect (StreamableClientTransport, SSEClientTransport, and OAuth requests). The stdio frame cap now holds across arbitrary read boundaries, CommandTransport gains MaxLineLength, StreamableClientTransport applies DefaultMaxEventSize when unset, and ParseWWWAuthenticate runs in linear time. On the client, the prompts/list, resources/list, resources/templates/list, and resources/read caches are capped at 512 entries each and no longer retain results with ttlMs <= 0.

Streams, per-session notifications, and middleware APIs

StreamableHTTPOptions.StreamKeepAlive sends periodic SSE comments on idle POST response streams (30s by default; negative disables) so proxies do not drop subscriptions/listen or slow calls.
ServerSession.NotifyToolListChanged, NotifyPromptListChanged, NotifyResourceListChanged, and NotifyResourceUpdated notify a single 2026-07-28 session's open subscriptions/listen streams.
StreamableHTTPOptions.OnRequestSummary, HasParams, and Request.GetID (ClientRequest.ID / ServerRequest.ID) expose request metadata to middleware and observability hooks.
ClientSession.Discover, ParseURLElicitationRequiredError, and Annotations.SetPriority / HasPriority (to serialize an explicit 0 priority).

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 in CallToolResult.StructuredContent as float64 instead of json.Number (#​1239).
  • disablepromptargsvalidation=1 — call the prompt handler even when a required argument is missing instead of returning -32602 (#​1297).
  • allowmissingclientparams=1 — accept elicitation/create, notifications/elicitation/complete, and notifications/resources/updated with missing or null params (#​1315).
  • nopreinitinvalidrequest=1 — refuse pre-initialize requests on legacy sessions with code 0 instead of -32600 (#​1393).
  • nointernalerrorcode=1 — send handler errors carrying no code with code 0 instead of -32603 (#​1407).
  • fatalnewprotocolerrors=1 — fail the streamable client connection when an independent 2026-07-28 request 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:

  • customresnotfounderrcode
  • hintomitempty
  • allowsessionsinstateless
  • nomethodnotfoundcodeinerror
  • noprotocolerrorbody
  • nowrapinvalidparams
  • disablecompleteparamsvalidation

The removal of plaintextstatefulrejection and blockingcancelnotify, 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.0

Compare Source

Signed provenance for this release: the two files below. VERIFYING.md in the repository says how to check them.


Configuration

📅 Schedule: (UTC)

  • 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@renovate
renovate Bot force-pushed the renovate/go-dependencies branch from a139e3d to 66b68ff Compare December 1, 2026 04:24
@renovate renovate Bot changed the title Update module github.com/modelcontextprotocol/go-sdk to v1.9.0 Update Go dependencies Dec 1, 2026
benhook1013 added a commit that referenced this pull request Dec 1, 2026
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>
@benhook1013

Copy link
Copy Markdown
Owner

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.

@benhook1013 benhook1013 closed this Dec 1, 2026
@benhook1013
benhook1013 deleted the renovate/go-dependencies branch December 1, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant