• Ktor 3.4.0 released, focusing on stability and performance for next year of development. • New OpenAPI generation API and compiler plugin produce runtime docs from routing tree. • OkHttp engine now supports duplex streaming, sending and receiving data concurrently over HTTP/2. • Compression plugin adds Zstd support via ktor-server-compression-zstd module, boosting speed. • Structured concurrency now integrated into HTTP request lifecycle, improving resource management. • Join Ktor Early Access Program to test features and contribute to future releases.
Article Summaries:
- Ktor 3.4.0 has been released, bringing a focus on stability and performance improvements. The update introduces several new features, including runtime OpenAPI document generation via a new compiler plugin, Zstd compression support in the server compression plugin, and duplex streaming for the OkHttp client engine. A new HttpRequestLifecycle plugin allows automatic cancellation of in‑flight requests when a client disconnects. Other enhancements cover structured concurrency integration for request lifecycles and various bug fixes. JetBrains invites developers to join the Ktor Early Access Program to test the release and contribute feedback.
Sources: