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)