Update dependency io.modelcontextprotocol:kotlin-sdk to v0.12.0#478
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update dependency io.modelcontextprotocol:kotlin-sdk to v0.12.0#478renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
384a917 to
ed8a24c
Compare
ed8a24c to
a9f1c6a
Compare
f6388ec to
4a8856e
Compare
0930926 to
b433524
Compare
b433524 to
406ee53
Compare
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:
0.8.1→0.12.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
modelcontextprotocol/kotlin-sdk (io.modelcontextprotocol:kotlin-sdk)
v0.12.0Compare Source
Description
Adds sampling-with-tools per SEP-1577, JSON Schema dialect declaration on tool schemas, server-side tool name validation, and capability extensions; fixes SSE reconnect on the same session and stops swallowing
CancellationException.Breaking Changes
Sampling messages can carry tool calls and results (SEP-1577) by @devcrocod in #718
SamplingMessage.contentis now typed as a newSamplingMessageContentsupertype, withMediaContent(text/image/audio),ToolUseContent, andToolResultContentas variants.MediaContentstill exists and now extendsSamplingMessageContent, so most source code that constructs sampling messages compiles unchanged — but the binary signatures ofSamplingMessage,CreateMessageResult, and related types have changed.ClientCapabilities.samplingis also now a typedSamplingobject instead of a rawJsonObject. Recompilation is required; consumers readingsamplingasJsonObjectmust migrate to the typed accessors.watchosX64andtvosX64Kotlin/Native targets removed by @devcrocod in #727These targets have been deprecated upstream. Migrate to the corresponding ARM/simulator targets (
watchosArm64,watchosSimulatorArm64,tvosArm64,tvosSimulatorArm64).Features
$schemafield toToolSchema, declaring JSON Schema 2020-12 as the default dialect (SEP-1613) by @devcrocod in #696extensionsfield toClientCapabilitiesandServerCapabilitiesfor advertising supported MCP extensions during the initialize handshake by @eritscher in #678Fixed
mcp-protocol-versionHTTP header on initialization requests and correctDEFAULT_NEGOTIATED_PROTOCOL_VERSIONto match the spec by @devcrocod in #697CancellationExceptioninstead of logging it as an error by @devcrocod in #706Maintenance
kotlinlangMCP server sample withsearchandget_pagetools by @devcrocod in #713buildSrcconvention plugin with a fully explicit, version-locked YAML config by @devcrocod in #729Dependencies
New Contributors
Full Changelog: modelcontextprotocol/kotlin-sdk@0.11.1...0.12.0
v0.11.1Compare Source
Description
Fixes an SSE stream crash on Netty when clients connect to the Streamable HTTP GET endpoint.
Fixed
appendSseHeaders()was called after response headers were already committed, causingUnsupportedOperationExceptionand client retry loops by @devcrocod in #681Dependencies
Full Changelog: modelcontextprotocol/kotlin-sdk@0.11.0...0.11.1
v0.11.0Compare Source
Adds URL-mode elicitation with typed schema definitions, configurable server payload size limits, and upgrades core dependencies to Kotlin 2.3.
Breaking Changes
ElicitRequestParamsis now a sealed interface by @devcrocod in #660Restructured to support both form-based and URL-based elicitation modes per the MCP specification.
ElicitRequestParamschanged from adata classto asealed interfacewith two variants:ElicitRequestFormParamsandElicitRequestUrlParams. A deprecated factory function preserves source compatibility for existing calls.RequestedSchema.propertiestype changed by @devcrocod in #660Changed from
JsonObjecttoMap<String, PrimitiveSchemaDefinition>for type safety.macosX64target removed by @devcrocod in #625The
macosX64native target was removed following its deprecation in Kotlin 2.2 and scheduled removal in Kotlin 2.3. UsemacosArm64instead.Features
PrimitiveSchemaDefinitionhierarchy aligned with MCP specification by @devcrocod in #660StreamableHttpServerTransportviaConfiguration.maxRequestBodySizeby @jskjw157 in #646ContentNegotiationwithMcpJsoninmcp(),mcpStreamableHttp(), andmcpStatelessStreamableHttp()— users no longer need to configure JSON serialization manually (#664) by @kpavlov in#665
notifications/elicitation/completenotification from server to client for out-of-band elicitation completion by@devcrocod in #667
Fixed
initializerequests are now rejected withINVALID_REQUESTerror by @devcrocod in #624Maintenance
Dependencies
Full Changelog: modelcontextprotocol/kotlin-sdk@0.10.0...0.11.0
v0.10.0Compare Source
Highlights
This release adds MCP conformance testing infrastructure, SSE reconnection support, Tasks protocol types, resource template matching, and
tool execution properties. It also completes a deprecation cycle — removing all previously deprecated (error-level) symbols from
io.modelcontextprotocol.kotlin.sdkin favor of their replacements inio.modelcontextprotocol.kotlin.sdk.types.Breaking Changes
ERRORlevel in 0.9.0 have been removed by @devcrocod (#615). This includesthe entire
io.modelcontextprotocol.kotlin.sdk.types.ktcompatibility file (type aliases such asCallToolResult,CancelledNotification,ClientCapabilities,CompleteRequest, etc.) and the legacyMcpJsoninio.modelcontextprotocol.kotlin.sdk. Migrate to the equivalentsin
io.modelcontextprotocol.kotlin.sdk.types.StreamableHttpClientTransportnow acceptsReconnectionOptionsfor configurable retrybehavior by @devcrocod (#585, #596). The previous constructor signatures remain available.
Features
resources, prompts, and 20 OAuth/auth scenarios. Includes CI workflow, baseline tracking, and shell runner by @devcrocod (#585)
ReconnectionOptions(initial delay, max delay, multiplier, max retries) by @devcrocod (#596)Task,TaskStatus, and related models per the MCP tasks specification by @devcrocod (#566)Toolnow exposes execution properties for richer tool metadata by @devcrocod (#567)Bug Fixes
@kpavlov (#587, #599)
Documentation
Maintenance
Full Changelog: modelcontextprotocol/kotlin-sdk@0.9.0...0.10.0
v0.9.0Compare Source
What's Changed
Breaking Changes
RequestContext— handler lambdas for tools, prompts, and resources have a newcontextparameter providing access to request metadata (#515) by @rnettRoutingtoRoute— update call sites:routing { mcpSse() }→route("/mcp") { mcpSse() }or use directly in anyRouteblock (#531) by @kpavlovStdioServerTransportrethrowsCancellationException— cancellation is no longer silently swallowed;ReadBufferparsing was also fixed (#571) by @kpavlovNew Features
kotlin-sdk-testingmodule — new artifact providing an in-process, channel-basedTestClientTransport/TestServerTransportfor unit testing MCP servers and clients without network I/O (#505) by @kpavlovStreamableHttpServerTransport.Configuration— configurable builder for the Streamable HTTP server transport (timeouts, session handling, etc.) (#560) by @kpavlovmcpStreamableHttp()Ktor plugin and routing DSL for mounting a Streamable HTTP MCP server (#504 by @devcrocod, #568 by @kpavlov)$defssupport inToolSchema— JSON Schema$defs/ definitions can now be expressed in tool input schemas (#526) by @i1broBug Fixes
StdioClientTransporthanging indefinitely by adding proper read timeouts (#528) by @kpavlovImprovements
AbstractClientTransportbase class, simplifying client transport lifecycle management (#516) by @kpavlovStdioClientTransporttests replaced with real stdin pipe–based tests (#508) by @kpavlovDependency Updates
New Contributors
Full Changelog: modelcontextprotocol/kotlin-sdk@0.8.4...0.9.0
v0.8.4Compare Source
Changes
Full Changelog: modelcontextprotocol/kotlin-sdk@0.8.3...0.8.4
v0.8.3Compare Source
What's Changed
Bugfixes
StdioClientTransport.send(...)andStreamableHttpClientTransport.send(...)now throwMcpExceptionwhen not ready (#487) by @kpavlovNew features
Chores
New Contributors
Full Changelog: modelcontextprotocol/kotlin-sdk@0.8.1...0.8.2
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.