ktor v2.0.3 Release Notes

  • Published 28 June 2022

    • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
    • Validate that the body of an incoming request is received completely (KTOR-4379)
    • UrlBuilder escapes fragment parameters (KTOR-4412)
    • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
    • โฑ WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
    • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
    • ๐Ÿ”Œ CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
    • CIO: Websockets request doesn't include query parameters (KTOR-4390)
    • Ignore SIGPIPE for server sockets (KTOR-4474)
    • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
    • ๐Ÿ UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
    • ๐Ÿ”Œ "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
    • ๐Ÿ‘ป Non-decipherable exception "No result transformation found" (KTOR-4287)
    • Unable to set the Content-Type header in a request (KTOR-620)
    • โšก๏ธ Update kotlinx.coroutines to 1.6.2 (KTOR-4451)
    • ๐Ÿ‘Œ Support the HttpTimeout capability in the DelegatingTestClientEngine (KTOR-4436)
    • Limit the number of parallel running requests in Netty (KTOR-4575)
    • ๐Ÿ”Œ Resources plugin fails to process parameters of type UShort (KTOR-4424)
    • 0๏ธโƒฃ Resources plugin doesn't respect default values for Enum (KTOR-4411)
    • Invalid request line produced by CIO engine for URL with parameters and without path (KTOR-4347)
    • ๐Ÿ”Œ call.receiveText() tries to parse body as JSON when the ContentNegotiation plugin is installed (KTOR-4426)
    • Ignore ByteReadChannel as receive type in ContentNegotiation (KTOR-4511)
    • ๐Ÿ”Œ Setting body to TextContent leads to NPE when the ContentNegotiation plugin is installed (KTOR-4383)
    • ๐Ÿ”Œ submitFormWithBinaryData call leads to NPE when the ContentNegotiation plugin is installed (KTOR-4269)
    • ๐Ÿ”Œ ResponseConverter NPE when returning ByteArray with the ContentNegotiation plugin (KTOR-4399)