ktor v1.5.0 Release Notes
-
Published 22 Dec 2020
- ๐ Fixed crash when sending large responses in 1.4.2 (KTOR-1369)
- Introduced URLBuilder function to append paths (KTOR-403)
- ๐ Allowed
OkHttpConfig
to configureWebSocket.Factory
(KTOR-951) - Get client certificate information from request (KTOR-424)
- ๐ Fixed quoting
Content-Disposition
additional parameters (KTOR-455) - ๐ Support Java HTTP Client (KTOR-348)
- Serializing collections of different element types (KTOR-1163)
- Introduced Netty
tcpKeepAlive
option (KTOR-368) - Implemented development mode for Ktor (KTOR-1184)
- ๐ป Implemented proper unhandled exception handling strategy (KTOR-835)
- โ Added OAuth feature config to avoid Dropbox issue (KTOR-715)
- ๐ฅ Breaking change: Fixed trailing slashes handling in routing (KTOR-372)
Routes registered without trailing slashes no longer match URLs with trailing slashes, and vice versa. To keep the previous behavior, install theIgnoreTrailingSlash
feature. - โ Added CIO client proxy tunneling support (KTOR-1458)
- ๐ Supported Sealed Classes inside Session-Objects (KTOR-826)
- ๐ Fixed code autoreload (KTOR-664)
- โ Added response text to the message of
ResponseException
and derived exceptions (KTOR-844) - โ Added ability to send cookies with
HttpRequestBuilder
(KTOR-926) - โ Added warning to HTTP/2 push API (KTOR-1329)
- ๐ Fixed parsing Authorization header diagnostics (KTOR-1406)
- ๐ Fixed CORS character encoding issue (KTOR-1370)
- โ Added CORS
anyHeader
in feature configuration (KTOR-977, KTOR-1263) - โ Added curl engine option sslVerify (KTOR-1093)
- ๐ Fixed client response validation in some cases (KTOR-1412)
- ๐ Introduced support for pre-compresed files (KTOR-1447)
- ๐ Fixed Apache client engine sometimes hits an unrecoverable socket timeout when using ChannelWriterContent (KTOR-1149)
- ๐ Fixed typo
val socketTimeout
inCIOEngineConfig
cause it's a property in the config (KTOR-1240) - โ Added excludeSuffix to HttpsRedirect feature (KTOR-1197)
- ๐ Fixed CIO client connectRetryAttempts = 0 handling (KTOR-1125)
- โ Added option to use specific alias from keystore in CIO TLSConfigBuilder JVM (KTOR-941)