Skip to content

kotlin-sdkgen 0.2.0

Choose a tag to compare

@nabobery nabobery released this 19 Aug 08:14
· 7 commits to main since this release
4079e44

Kotlin SDKGen 0.2.0 extends the OpenRouter conformance SDK to the API's streaming and paginated surfaces, adds the generator support those require, and publishes the Intel Apple Kotlin/Multiplatform targets.

Added

  • Server-sent event streaming for the OpenRouter conformance SDK: chat-completion and image operations now expose generated buffered, WithResponse, and Stream methods, with [DONE] sentinel handling.
  • offsetLimit pagination generation (x-sdkgen-pagination with offset/limit request parameters and an optional total field), producing Pages/Items flows alongside the existing cursor and header-URL styles.
  • Activation of all 17 OpenRouter paginated operations — 16 offsetLimit and one cursor — through canonical overlay metadata.
  • iosX64 and macosX64 publication for the runtime-core, runtime-testing, and transport-ktor KMP modules, adding the -runtime-iosx64, -runtime-macosx64, -testing-iosx64, -testing-macosx64, -transport-ktor-iosx64, and -transport-ktor-macosx64 coordinates under io.github.nabobery.

Changed

  • Updated Ktor to 3.5.2 and refreshed the reproducible Kotlin/JS dependency lock.

Coordinates

  • Maven Central: io.github.nabobery:kotlin-sdkgen-*:0.2.0
  • Gradle Plugin Portal: io.github.nabobery.kotlin-sdkgen

New in this release: the six Intel Apple target coordinates listed above. See the changelog and support policy.

Full changelog: v0.1.0...v0.2.0