ktor v1.2.3 Release Notes

Release Date: 2019-08-01 // over 4 years ago
  • Published 1 Aug 2019

    • ๐Ÿ›  JS websocket bugs fixes and improvements
    • Eliminated Java9's Base64 implementation (useful for older JDK and Android)
    • ๐Ÿ›  Fixed bug of adding unexpected trailing slash (#1201) (#1206)
    • ๐Ÿ‘Œ Improved apache and okhttp client engines performance
    • ๐Ÿ›  Fixed client response body cancellation
    • โž• Added client response streaming on nodejs
    • ๐Ÿ—„ Deprecated old client BasicAuth
    • Introduced a flag to send auth without negotiation
    • โž• Added server kotlinx.serialization initial support (SerializationConverter)
    • ๐Ÿ›  Client TLS implementation fixes: cancellation and error handling.
    • โž• Added web assembly content type.
    • Prohibited server double request content call.receive.
      • Introduce DoubleReceive feature that makes it work.
    • ๐Ÿ›  Server CORS support fixed and improved
    • โž• Added initial kotlinx.serialization support for server including receiving generic collections.
    • ๐Ÿ‘ Introduced ktor-bom for better dependency management.
    • ๐Ÿ‘Œ Improved jetty server engine configuration to enable manual connectors setup.
    • ๐Ÿ›  Fixed client memory leak (#1223).
    • โฌ†๏ธ Upgraded Jetty, Netty and utility libraries.
    • Kotlin 1.3.41

    ๐Ÿ’ฅ Breaking changes/Migration steps:

    • 0๏ธโƒฃ CORS doesn't allow non-simple request body content types anymore by default
      • to allow extra content types such as json, enable allowNonSimpleContentTypes
    • At least Kotlin 1.3.41 IS REQUIRED