ktor v1.2.3 Release Notes
Release Date: 2019-08-01 // over 4 years ago-
Published 1 Aug 2019
- ๐ JS websocket bugs fixes and improvements
- Eliminated Java9's Base64 implementation (useful for older JDK and Android)
- ๐ Fixed bug of adding unexpected trailing slash (#1201) (#1206)
- ๐ Improved apache and okhttp client engines performance
- ๐ Fixed client response body cancellation
- โ Added client response streaming on nodejs
- ๐ Deprecated old client
BasicAuth
- Introduced a flag to send auth without negotiation
- โ Added server kotlinx.serialization initial support (
SerializationConverter
) - ๐ Client TLS implementation fixes: cancellation and error handling.
- โ Added web assembly content type.
- Prohibited server double request content
call.receive
.- Introduce
DoubleReceive
feature that makes it work.
- Introduce
- ๐ Server CORS support fixed and improved
- โ Added initial kotlinx.serialization support for server including receiving generic collections.
- ๐ Introduced
ktor-bom
for better dependency management. - ๐ Improved jetty server engine configuration to enable manual connectors setup.
- ๐ Fixed client memory leak (#1223).
- โฌ๏ธ Upgraded Jetty, Netty and utility libraries.
- Kotlin 1.3.41
๐ฅ Breaking changes/Migration steps:
- 0๏ธโฃ CORS doesn't allow non-simple request body content types anymore by default
- to allow extra content types such as json, enable
allowNonSimpleContentTypes
- to allow extra content types such as json, enable
- At least Kotlin 1.3.41 IS REQUIRED