Releases: modelcontextprotocol/kotlin-sdk
Releases · modelcontextprotocol/kotlin-sdk
0.6.1
0.7.2
What's Changed
- migration from
jreleaser
tomavenPublish
plugin by @devcrocod in #277 - Generate test report by @kpavlov in #271
- Move
generateLibVersion
task tokotlin-sdk-core
by @devcrocod in #274 - #196 Update build configuration and workflows for enhanced local publ… by @kpavlov in #275
- Add Stdio coverage for integration tests by @skarpovdev in #276
- Bump io.kotest:kotest-assertions-json from 5.9.1 to 6.0.3 by @dependabot[bot] in #247
- migration from
jreleaser
tomavenPublish
plugin by @devcrocod in #277
Full Changelog: 0.7.1...0.7.2
0.7.2-alpha3
Prepare prerelease 0.7.2-alpha3 (#284) Prepare new prerelease. Bump version to 0.7.2-alpha3
0.7.2-alpha2
Prepare prerelease 0.7.2-alpha2 (#282) Bump version to 0.7.2-alpha2 ## Motivation and Context New prerelease version with signing fixes ## 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 - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed
0.7.2-alpha1
Prerelease 0.7.2-alpha1 (#278) ## Motivation and Context - test new publish plugin - add package.kt to kotlin-sdk umbrella module to resolve klib generation errors during Maven publishing ## Breaking Changes no ## 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 - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed
0.7.1
What's Changed
- Bump io.github.oshai:kotlin-logging from 7.0.7 to 7.0.11 by @dependabot[bot] in #211
- Bump org.jlleitschuh.gradle.ktlint from 13.0.0 to 13.1.0 by @dependabot[bot] in #241
- Bump com.anthropic:anthropic-java from 0.8.0 to 2.6.0 by @dependabot[bot] in #246
- Fix upload reports in GitHub actions by @skarpovdev in #264
- Bump ktor from 3.2.3 to 3.3.0 by @dependabot[bot] in #265
- fix hang caused by StreamableHttpClientTransport (#226) by @AdrianMiska in #227
- Bump kotlin from 2.2.0 to 2.2.10 by @dependabot[bot] in #230
- Add module documentation and enhance Dokka configuration by @kpavlov in #261
- Mark
testMultipleClientParallel
as ignored due to flakiness by @devcrocod in #267
New Contributors
- @AdrianMiska made their first contribution in #227
Full Changelog: 0.7.0...0.7.1
0.7.0
What's Changed
- revert jreleaser to 1.17.0 and skip checksums by @devcrocod in #150
- fix deploy for klibs by @devcrocod in #153
- FEAT: Support almost all Tier 1, 2 and 3 Kotlin targets by @nomisRev in #151
- Revert "FEAT: Support all Tier 1, 2 and 3 targets by Kotlin & remove … by @devcrocod in #154
- Fix release by @devcrocod in #155
- Refactor JSON processing to exclude "method" in serialization by @devcrocod in #157
- Update CI workflows configuration for debugging by @devcrocod in #172
- fix signing by @devcrocod in #179
- fix key name by @devcrocod in #181
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.18.0 to 0.18.1 by @dependabot[bot] in #148
- Add optional title property for tool object (#191) by @sdubov in #192
- Update PR validation workflow by @devcrocod in #177
- Update notification schema by @devcrocod in #199
- Bump io.mockk:mockk from 1.14.4 to 1.14.5 by @dependabot[bot] in #204
- Bump protocol version to
2025-03-26
by @devcrocod in #202 - Bump ktor from 3.2.1 to 3.2.2 by @dependabot[bot] in #205
- Add CodeQL workflow for Kotlin analysis by @devcrocod in #200
- modularize sdk by @devcrocod in #208
- Fix SseIntegratioTest by @devcrocod in #212
- Add ServerSSESession as a receiver for mcp {} dsl by @nerzhulart in #190
- Update MavenCentral configuration and developer metadata by @devcrocod in #201
- Fix incorrect deserializer mapping notifications by @devcrocod in #195
- Add ktlint by @devcrocod in #213
- rename ResourceReference to ResourceTemplateReference by @zyfy29 in #193
- Bump ktor from 3.2.2 to 3.2.3 by @dependabot[bot] in #217
- use SSEClientExcpetion instead of ClientRequestException by @shiqicao in #207
- Add missing title, size and annotation attributes on Resource/ResourceTemplate and other types by @ptitjes in #219
- Fix deserialization in read buffer by @tiginamaria in #225
- Fix serializer for CreateElicitationResult by @tiginamaria in #240
- Add recovery during deserialization and upload test artifacts by @skarpovdev in #243
- Bump actions/setup-java from 4 to 5 by @dependabot[bot] in #238
- Introduce Kotlin client/server <--> TypeScript client/server integration tests by @skarpovdev in #216
- Refactor workflow, run on main by @kpavlov in #251
- Add Kover check by @kpavlov in #250
- Remove dependency on CIO engine by @MukjepScarlet in #223
New Contributors
- @nomisRev made their first contribution in #151
- @sdubov made their first contribution in #192
- @nerzhulart made their first contribution in #190
- @zyfy29 made their first contribution in #193
- @tiginamaria made their first contribution in #225
- @skarpovdev made their first contribution in #243
- @kpavlov made their first contribution in #251
- @MukjepScarlet made their first contribution in #223
Full Changelog: 0.6.0...0.7.0
0.6.0
What's Changed
- Update jreleaser to fix publication issue by @e5l in #91
- Disable configuration cache to fix jreleaser issue by @e5l in #92
- feat: Add audio type according to 2025-03-26 spec by @SeanChinJunKai in #68
- fix(client): serialize inputSchema as input_schema by @shiqicao in #97
- fix(client) add encodeDefault for field with non spec default value by @shiqicao in #99
- Make McpJson public to allow flexible protocol development by @parnurzeal in #103
- fix: apply
requestBuilder
headers when sending rpc messages by @dead8309 in #96 - fix: Remove @SerialName annotation for inputSchema by @adamglin0 in #105
- add ios and wasm targets by @devcrocod in #81
- Add dependabot by @StefMa in #121
- Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.7.3 to 1.8.1 by @dependabot[bot] in #127
- Bump io.github.oshai:kotlin-logging from 7.0.0 to 7.0.7 by @dependabot[bot] in #126
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.17.0 to 0.18.0 by @dependabot[bot] in #125
- update kotlin to 2.2.0 and ktor to 3.1.3 by @devcrocod in #120
- Add client roots addition/removal API and listRoots handler by @ptitjes in #118
- Bump org.slf4j:slf4j-simple from 2.0.16 to 2.0.17 by @dependabot[bot] in #131
- Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.8.1 to 1.9.0 by @dependabot[bot] in #132
- Bump io.mockk:mockk from 1.13.13 to 1.14.4 by @dependabot[bot] in #133
- Remove fixed suffix /sse by @adamglin0 in #108
- sse server does not process endpoint correctly when sse path is not a directory by @shendaxia-sm in #43
- Add labels to dependabot configuration for Kotlin and GitHub Actions by @devcrocod in #135
- feat: add tool annotations according to 2025-03-26 spec by @SeanChinJunKai in #71
- Bump ktor from 3.1.3 to 3.2.1 by @dependabot[bot] in #140
- Bump gradle/actions from 4.0.0 to 4.4.1 by @dependabot[bot] in #122
- Bump org.jreleaser from 1.17.0 to 1.19.0 by @dependabot[bot] in #141
- refactor
SseClientTransport
by @devcrocod in #142 - atomic and persistent collections for thread safety by @devcrocod in #143
- Bump org.gradle.toolchains.foojay-resolver-convention from 0.8.0 to 1.0.0 by @dependabot[bot] in #130
- Add support for elicitation by @ptitjes in #138
- Add support for tool structured content and output schema by @ptitjes in #146
- Add streamable http client transport by @devcrocod in #147
- Refactor JSON processing to exclude "method" in serialization by @devcrocod in #157
- Release 0.6.0 by @devcrocod in #149
New Contributors
- @shiqicao made their first contribution in #97
- @parnurzeal made their first contribution in #103
- @dead8309 made their first contribution in #96
- @adamglin0 made their first contribution in #105
- @StefMa made their first contribution in #121
- @dependabot[bot] made their first contribution in #127
- @ptitjes made their first contribution in #118
- @shendaxia-sm made their first contribution in #43
Full Changelog: 0.5.0...0.6.0
0.5.0
What's Changed
- remove the mention of
onCloseCallback
and replace it toonClose
by @devcrocod in #62 - Refactor for simplify input schemas by @devcrocod in #65
- Add specific error handling for client connect by @SeanChinJunKai in #64
- Update to Kotlin 2.1.20 and minor refactoring by @devcrocod in #78
- Gradle 8.13 + flags tuning by @stepango in #75
- Skip empty lines by @kaleev in #89
- Fix jar build configuration by @souzamarcos in #86
- feat(server): Support removing tools, prompts and resources by @134130 in #85
- feat(server): add utility functions for CallToolResult by @Stream29 in #73
- feat: add message field to ProgressNotification according to 2025-03-26 spec by @SeanChinJunKai in #69
- Release 0.5.0 by @e5l in #90
New Contributors
- @SeanChinJunKai made their first contribution in #64
- @stepango made their first contribution in #75
- @souzamarcos made their first contribution in #86
- @134130 made their first contribution in #85
- @Stream29 made their first contribution in #73
Full Changelog: 0.4.0...0.5.0
0.4.0
What's Changed
- Add org.jetbrains.kotlinx.binary-compatibility-validator plugin by @morisil in #35
- Migrate to kotlin style callbacks. Close #14 by @e5l in #36
- Add merge queue rules by @Mr3zee in #37
- Modify SSE config for server by @Mr3zee in #23
- Add support for testing JSON serialization of the mcp API by @morisil in #45
- Process JSONRPCRequest with default param (#42) by @JsFlo in #46
- Update sample project to use library version 0.3.0 by @JsFlo in #47
- Change sample to work with Claude Desktop by @SebastianAigner in #48
- Add Kotlin Weather STDIO server sample by @devcrocod in #50
- [Fix] Issue #4 by @adi-kmt in #49
- add client sample by @devcrocod in #55
- Support consumers that require Java 8 by @Leland-Takamine in #60
- Test and fix #52 by @AbdullatifGhajar in #53
- Change ErrorCodeSerializer descriptor kind by @Leesin0222 in #54
- Remove CompletableDeferred from weather-stdio-server sample by @devcrocod in #57
New Contributors
- @morisil made their first contribution in #35
- @JsFlo made their first contribution in #46
- @SebastianAigner made their first contribution in #48
- @adi-kmt made their first contribution in #49
- @Leland-Takamine made their first contribution in #60
- @AbdullatifGhajar made their first contribution in #53
- @Leesin0222 made their first contribution in #54
Full Changelog: 0.3.0...0.4.0