Releases: modelcontextprotocol/kotlin-sdk
Releases · modelcontextprotocol/kotlin-sdk
0.7.4
What's Changed
Features
Improvements
- Fix decimal separator format in calculator tool tests by @maeryo in #315
- Refactor testClientConnectWithInvalidJson by @devcrocod in #338
Build & CI
- #302 [part 1] Add GitHub workflow to validate samples by @kpavlov in #327
- #302 Update samples build workflow by @kpavlov in #330
Dependencies
- Bump kotest from 6.0.3 to 6.0.4 by @dependabot[bot] in #324
- Bump com.anthropic:anthropic-java from 2.7.0 to 2.9.0 by @dependabot[bot] in #323
- Bump org.jetbrains.kotlinx.kover from 0.9.2 to 0.9.3 by @dependabot[bot] in #322
- Update kotlin, ktor, dokka by @devcrocod in #334
- downgrade Ktor to 3.2.3 by @devcrocod in #342
- Exclude samples from composite gradle build by @kpavlov in #337
Docs
- Update badges in README and set version to 0.7.4-SNAPSHOT by @kpavlov in #326
- Prepare release 0.7.4 by @devcrocod in #341
New Contributors
Full Changelog: 0.7.3...0.7.4
0.7.3
What's Changed
-
Introduce server sessions by @tiginamaria in #198
-
Capture version at configuration time to avoid configuration cache issue by @jclyne in #291
-
Add
instructionsstring to the Server and propagate to theInitializeResultby @jclyne in #290 -
Change sample server host from
0.0.0.0to127.0.0.1by @JLLeitschuh in #307 -
Add
StreamableHttpClientTestwith test infrastructure setup and dependencies by @kpavlov in #316 -
Fix Streamable handling to support JSON-only responses by @devcrocod in #309
Chores
- Bump org.jetbrains.kotlinx.kover from 0.9.1 to 0.9.2 by @dependabot[bot] in #286
- Conditionally imports the samples only if it's the root project by @jclyne in #292
- Generate MCP classes with OpenAPI Generator by @kpavlov in #294
- Disable OpenAPI Generator by @kpavlov in #301
- Bump gradle/actions from 4 to 5 by @dependabot[bot] in #306
- Compatibility updates for gradle 9.x.x by @jclyne in #313
- Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #317
- Bump org.openapi.generator from 7.15.0 to 7.16.0 by @dependabot[bot] in #305
New Contributors
- @jclyne made their first contribution in #292
- @JLLeitschuh made their first contribution in #307
Full Changelog: 0.7.2...0.7.3
0.6.1
0.7.2
What's Changed
- migration from
jreleasertomavenPublishplugin by @devcrocod in #277 - Generate test report by @kpavlov in #271
- Move
generateLibVersiontask tokotlin-sdk-coreby @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
jreleasertomavenPublishplugin 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
testMultipleClientParallelas 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-26by @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
requestBuilderheaders 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
SseClientTransportby @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