kotlin-sdk/kotlin-sdk-client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Konstantin Pavlov bb79e200c4
fix!: Migrate Ktor extension functions from Routing to Route (#237) (#531)
# Migrate Ktor extension functions from `Routing` to `Route` (#237)

- Replaced `Routing` with `Route` in MCP-related functions for better
composability in nested contexts.
- Updated tests to verify compatibility with nested routes and subpaths.
- Deprecated legacy signatures and removed redundant overloads.

## How Has This Been Tested?
Unit test

## Breaking Changes
`Routing.mcp(...) `extension was replaced with `Route.mcp(...)`

## Types of changes

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

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [x] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [x] 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

## Additional context
Based on #314 by @IainHull but that PR is too outdated.
2026-02-18 16:43:37 +02:00
..
api refactor: Introduce AbstractClientTransport and simplify client transport lifecycle (#517) (#516) 2026-02-13 13:08:26 +02:00
src fix!: Migrate Ktor extension functions from Routing to Route (#237) (#531) 2026-02-18 16:43:37 +02:00
build.gradle.kts feat: Add kotlin-sdk-testing module with channel-based transport implementation (#505) 2026-02-16 14:10:56 +02:00
detekt-baseline-commonMainSourceSet.xml refactor: Harden detekt setup, address some issues (#507) 2026-02-13 22:17:27 +02:00
detekt-baseline-commonTestSourceSet.xml refactor: Harden detekt setup, address some issues (#507) 2026-02-13 22:17:27 +02:00
detekt-baseline-main.xml refactor: Harden detekt setup, address some issues (#507) 2026-02-13 22:17:27 +02:00
detekt-baseline-test.xml refactor: Harden detekt setup, address some issues (#507) 2026-02-13 22:17:27 +02:00
Module.md docs: Update readme, enable Knit (#162) (#510) 2026-02-06 18:40:31 +02:00