File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/types
commonTest/kotlin/io/modelcontextprotocol/kotlin/sdk Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,11 @@ import kotlinx.serialization.json.JsonObject
88// Protocol Version Constants
99// ============================================================================
1010
11- public const val LATEST_PROTOCOL_VERSION : String = " 2025-03-26 "
11+ public const val LATEST_PROTOCOL_VERSION : String = " 2025-06-18 "
1212
1313public val SUPPORTED_PROTOCOL_VERSIONS : List <String > = listOf (
1414 LATEST_PROTOCOL_VERSION ,
15+ " 2025-03-26" ,
1516 " 2024-11-05" ,
1617)
1718
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ class OldSchemaTypesTest {
1616 @Test
1717 fun `should have correct latest protocol version` () {
1818 assertNotEquals(" " , LATEST_PROTOCOL_VERSION )
19- assertEquals(" 2025-03-26 " , LATEST_PROTOCOL_VERSION )
19+ assertEquals(" 2025-06-18 " , LATEST_PROTOCOL_VERSION )
2020 }
2121
2222 @Test
2323 fun `should have correct supported protocol versions` () {
2424 assertIs<List <String >>(SUPPORTED_PROTOCOL_VERSIONS )
2525 assertTrue(SUPPORTED_PROTOCOL_VERSIONS .contains(LATEST_PROTOCOL_VERSION ))
2626 assertTrue(SUPPORTED_PROTOCOL_VERSIONS .contains(" 2024-11-05" ))
27- assertEquals(2 , SUPPORTED_PROTOCOL_VERSIONS .size)
27+ assertEquals(3 , SUPPORTED_PROTOCOL_VERSIONS .size)
2828 }
2929
3030 @Test
Original file line number Diff line number Diff line change @@ -13,15 +13,16 @@ class CommonTypeTest {
1313 @Test
1414 fun `should have correct latest protocol version` () {
1515 assertNotEquals(" " , LATEST_PROTOCOL_VERSION )
16- assertEquals(" 2025-03-26 " , LATEST_PROTOCOL_VERSION )
16+ assertEquals(" 2025-06-18 " , LATEST_PROTOCOL_VERSION )
1717 }
1818
1919 @Test
2020 fun `should have correct supported protocol versions` () {
2121 assertIs<List <String >>(SUPPORTED_PROTOCOL_VERSIONS )
2222 assertTrue(SUPPORTED_PROTOCOL_VERSIONS .contains(LATEST_PROTOCOL_VERSION ))
23+ assertTrue(SUPPORTED_PROTOCOL_VERSIONS .contains(" 2025-03-26" ))
2324 assertTrue(SUPPORTED_PROTOCOL_VERSIONS .contains(" 2024-11-05" ))
24- assertEquals(2 , SUPPORTED_PROTOCOL_VERSIONS .size)
25+ assertEquals(3 , SUPPORTED_PROTOCOL_VERSIONS .size)
2526 }
2627
2728 @Test
You can’t perform that action at this time.
0 commit comments