1.5.0
版本发布时间: 2020-12-22 16:34:52
ktorio/ktor最新发布版本:3.0.0(2024-10-10 17:46:01)
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)
- Fixed trailing slashes handling in routing (KTOR-372)
- 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)
1.4.3
Published 1 Dec 2020
- Client: URL encode / escaping is wrong (KTOR-341)
- HTTP/2 push fails with netty engine (KTOR-800)
- Request headers exceeding expected threshold are not handled correctly (KTOR-905)
- iOS client fails with CoroutinesInternalError when Logging is used (KTOR-924)
- Experimental API and compatibility guarantees (KTOR-1035)
- CIO: client engine exceptions are both logged and thrown (KTOR-1127)
- Timeout feature: android engine throws Java's SocketTimeoutException instead of ConnectTimeoutException (KTOR-1229)
- Input.readTextExactBytes(n) on empty input different behavior per platform (KTOR-1235)
- HttpRedirect feature alters Location header value (KTOR-1236)
- Wrong pool is used to release
IOBuffer
afterByteChannelSequential.copyTo
from static initialized instance. (KTOR-1237) - CIO Engine's HttpClient may fail when trying to send large size binary data. (KTOR-1247)
-
ByteBufferChannel.readRemaining
doesn't read whole channel (KTOR-1268) - Cannot receive content via jackson negotiator since 1.4.2 (KTOR-1286)
- ktor-io: JVM shared function decrease performance starting from 1.4.0 (KTOR-1290)
- Sessions + SSL (Netty) (KTOR-1292)
- Netty HTTP/2 HEAD response hangs (KTOR-1298)
- Using blocking primitives on this dispatcher is not allowed. Consider using async channel instead or use blocking primitives in withContext(Dispatchers.IO) instead. (KTOR-1305)
- "Wrong HEX escape": gracefully handle invalid URLs (KTOR-1308)
- Add build parameter to build ktor with JVM IR compiler (KTOR-1336)
- Update kotlin to 1.4.20 (KTOR-1346)
- Fix configuration if project without VPN and cache (KTOR-1347)
- Client: NPE in FormDataContentKt -> Input.copyTo (KTOR-1349)
- Upgrade Netty to 4.1.54.Final (KTOR-1363)
- Handle failure in reading request body (KTOR-1367)
- Remove copyTo usage from ServerPipeline (KTOR-1381)