Migrating 1.2.4 → 1.3.0-beta-1

预计阅读时间: 2 分钟

1.3.0-beta-1

  • ktor client proxy support
  • Eliminated kotlinx.io dependency
  • Fixed server identity compression handling: keep original content length
  • Fixed handling GET requests with body #1302
  • Fixed curl request with empty body
  • Added iOS url session configuration
  • Fixed CIO engine no longer sends port in “Host” header #1295
  • Add INTRINSIC value to TLS signature algorithms
  • Introduced ability to send string in request body
  • Improved client and server typeOf support with kotlinx.serialization
  • Gradle 5.4.1+ with newer metadata
  • Improved exceptions handling in client and server on Android
  • Added missing TLS parameters and relaxed TLS parsing to ignore unsupported features

  • Full changelog: https://github.com/ktorio/ktor/compare/1.2.4...1.3.0-beta-1
  • API Documentation: https://api.ktor.io/1.3.0-beta-1

Published 11 Sep 2019 (1.3.0-beta-1)

Version bumps:

  • Dropwizard: 3.2.4 -> 4.1.0

Breaking changes:

  • kotlinx.io dependency has been removed, replace imports:
    • import kotlinx.io. -> import io.ktor.utils.io.
    • import kotlinx.coroutines.io. -> import io.ktor.utils.io.
  • No binary compatibility with 1.2.x