Skip to content

Conversation

@devcrocod
Copy link
Contributor

last version: 2025-06-18

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the SDK to support MCP specification version 2025-06-18 as the latest version, while maintaining backward compatibility with previous versions 2025-03-26 and 2024-11-05.

Key changes:

  • Updates LATEST_PROTOCOL_VERSION from "2025-03-26" to "2025-06-18"
  • Adds "2025-03-26" to SUPPORTED_PROTOCOL_VERSIONS list to maintain backward compatibility
  • Updates all related tests to reflect the new version scheme

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/types/common.kt Updates protocol version constants to set "2025-06-18" as latest and adds "2025-03-26" to supported versions
kotlin-sdk-core/src/commonTest/kotlin/io/modelcontextprotocol/kotlin/sdk/types/CommonTypeTest.kt Updates test assertions to verify the new latest version and expanded supported versions list
kotlin-sdk-core/src/commonTest/kotlin/io/modelcontextprotocol/kotlin/sdk/OldSchemaTypesTest.kt Updates test assertions to verify the new latest version and supported versions count

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@kpavlov kpavlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @devcrocod

@kpavlov kpavlov force-pushed the devcrocod/last-mcp-spec-version branch from 8965193 to 6724a62 Compare November 12, 2025 05:32
@kpavlov kpavlov merged commit 01de6e6 into main Nov 12, 2025
4 checks passed
@kpavlov kpavlov deleted the devcrocod/last-mcp-spec-version branch November 12, 2025 05:54
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.

3 participants