ktor v2.1.0 Release Notes

  • Published 11 August 2022

    • โž• Add YAML Configuration Format Support (KTOR-3572)
    • ๐Ÿ‘ Allow overriding HSTS settings per host (KTOR-4578)
    • CORS: Pattern matching for origin (KTOR-316)
    • Darwin: Allow setting custom NSURLSession (KTOR-583)
    • ๐Ÿ‘Œ Support setting caching options on call (KTOR-457)
    • โช Revert default behavior of string encoding for ContentNegotiation and JsonPlugin (KTOR-4739)
    • ๐Ÿ‘‰ Make Content-Length header validation optional (KTOR-4655)
    • ๐Ÿ— Client resources plugin miss builders for PATCH method (KTOR-4658)
    • The awaitSuspend method wakes up early in closed ByteChannelSequential (KTOR-4597)
    • ๐Ÿ”Œ HttpCache plugin does not support max-stale directive (KTOR-4610)
    • Incoming request body validation (KTOR-503)
    • ๐Ÿ‘ Client does not support sending or receiving json null value (KTOR-745)
    • ๐Ÿ‘ป Jetty: Content Length exception when body size is greater than 4096 bytes (KTOR-4622)
    • ๐Ÿ”ง Darwin: configureRequest doesn't actually configure a NSMutableURLRequest when HTTP request is made (KTOR-4719)
    • OAuth2: Allow sending extra parameters for authorization and access token requests (KTOR-2128)
    • ๐Ÿ”ง Java engine: Allow configuring HTTP version (KTOR-4609)
    • ContentEncoding: body<ByteArray>() receives truncated array (KTOR-4653)
    • ๐Ÿ‘Œ Support configuring Netty codec limits via application config (KTOR-4636)
    • [OkHttp] StreamRequestBody should override isOneShot or allow multiple reads of request body (KTOR-4637)
    • OverridingClassLoader fails to delegate to parent for resources (KTOR-4004)
    • OkHttp and iOS: request with only-if-cache directive in Cache-Control header fails with 504 when match is stale (KTOR-4127)
    • ๐Ÿ‘ Allow Pebble to use Accepted Language header for built-in i18n support (KTOR-4593)
    • โœ… Test engine can't handle concurrent requests (KTOR-4572)
    • ๐Ÿ— Parameters of cloned UrlBuilder affect parameters of an original builder (KTOR-4573)
    • ๐Ÿ‘ Reified type causes ApplicationCall.receive() throw UnsupportedOperationException (KTOR-3715)
    • ApplicationConfig lacks the ability to export a part of the config to a third-party library (KTOR-4416)
    • Path parameter doesn't get encoded in type safe requests (KTOR-3953)
    • โšก๏ธ Update Kotlin to 1.7.0 (KTOR-4450)
    • โฌ†๏ธ Bump jteVersion from 2.0.3 to 2.1.2 (KTOR-4648)