ktor v1.3.2 Release Notes

Release Date: 2020-03-12 // 26 days ago
  • Published 12 Mar 2020

    • 👍 Introduced iOS streaming response support
    • 🔧 Provided challenge handler in iOS client configuration
    • 👌 Improved JsonFeature configuration DSL (#1472)
    • Simplified server kotlinx.serialization config
    • Recovered HttpRequestBuilder.takeFrom function (#1626)
    • 👍 Allowed to configure default cookies asynchronously
    • 🔦 Exposed server LocationInfo and added location resolve functions (#1657)
    • Introduced function for async writing to server response channel (#1703)
    • ➕ Added an option to filter logged calls for ktor-client-logging
    • 🛠 Fixed iOS client timeouts
    • 🛠 Fixed iOS crash
    • 🛠 Fixed 100% CPU Apache Ktor Http Client #1018 (#1689)
    • 🛠 Fixed missing client response logging
    • 🛠 Fixed CIO server local address detection (#1663)
    • 🛠 Fix server request origin to provide header's host and port when available
    • 🛠 Fixed random missing feature errors caused by concurrency at startup (#1694)
    • 🛠 Fixed Set-Cookie header parser in iOS and JS
    • 🛠 Fixed client multiple redirects with relative path (#1704)
    • 🛠 Fixed unwrapping cancellation exceptions in client (#1482)
    • 🛠 Fixed missed preconfigured OkHttpClient in OkHttpEngine (#1646)
    • 🛠 Fixed websocket to complete closeReason on disconnection (#1275).
    • 🛠 Fixed websocket sending CloseReason(1009) when frame is too big
    • 🛠 Fixed websocket pinger logging
    • 🛠 Fixed maxFrameSize for chunked frames
    • 🛠 Fixed URL scheme parser (#1614)
    • Fixed platform detection in PlatformUtils.IS_NODE and PlatformUtils.IS_BROWSER (#1675)
    • 🛠 Fixed Short.highByte
    • 🛠 Fixed consumeEachBufferRange (#1693)
    • 🛠 Fixed httpclient gzip decoding failure (#1189)
    • 🛠 Fixed InputStream wrapper for Input
    • ⬆️ Bumped versions:
      • Kotlin 1.3.70
      • kotlinx.coroutines 1.3.4
      • kotlinx.serialization 0.20.0
      • kotlinx.html 0.7.1
      • dropwizard 4.1.2
      • slf4j 1.7.30
      • mustache 0.9.6
      • pebble 3.1.2
      • webjars 0.43
      • jackson 2.10.2

    Known issues:

    • ⏪ Reverted fix for ios memory leak to prevent crashes

Previous changes from v1.3.1

  • Published 5 Feb 2020

    • ⏱ Introduced experimental client timeout feature
    • 🛠 Fixed OkHttp leaking threads
    • 🛠 Fix decoding UTF8 lines (#1323)
    • 🛠 Fixed websocket close sequence (#1262, #1571, #1427)
    • ⬇️ Reduced number of redundant exceptions logged in jetty server
    • 🛠 Fixed text decoder in js client under nodejs
    • 🛠 Fixed NSUrlSession memory leak (#1420)
    • 👉 Make server feature throw BadContentTypeFormatException to get status 400
    • ⏪ Reverted accidentally removed client LocalFileContent
    • ✂ Removed User-Agent header in browser (to avoid CORS-related issues)
    • 🛠 Fixed request body with Input
    • 👌 Improved native clients performance
    • 🛠 Fixed native and js client cancellation issues
    • 🛠 Fixed file descriptor leak in Jetty server (#1589)
    • 🛠 Fixed server sessions and cache related iseues (#1591)
    • ⬆️ Upgraded JWT/JWKS versions
    • ⬆️ Upgraded Netty version
    • 🛠 Fixed multiple server jwt auth providers processing (#1586)
    • 🛠 Fixed Auth retry logic (#1051)
    • 🛠 Fixed ApplicationRequest.remoteHost to not report "unknown"
    • 🛠 Fixed corrupted headers in CIO client and server on Android
    • 👌 Improved server cancellation handling