ktor v1.2.0 Release Notes
Release Date: 2019-05-14 // almost 5 years ago-
14 May 2019
- Introduced multiplatform websockets: jvm, js.
- โ Added client certificates support.
- ๐ Fixed updating session in directory storage (#963).
- โ Added optional contentType to formDsl (#910).
- ๐คก
MockEngine
version which favors execution order and returns processed requests (#924). - ๐ Fixed
Unit
body serialization. - ๐ Allowed using preconfigured OkHttp client instance.
- 0๏ธโฃ Defined the client default user agent.
- ๐ Improved curl error diagnostics and resource management.
- ๐ Fixed LogLevel.NONE with body bytes.
- โ Added CIO endpoint config builder.
- ๐ Fixed status code check in client Auth feature.
- ๐ Fixed client close issue.
- ๐ Fixed:
GMTDate.toJvmDate()
uses current date instead of given date. (#986) - ๐ Moved client auth to common.
- 0๏ธโฃ Use
UTF-8
as default charset in BasicAuth. - Introduced client content encoding feature.
- Introduced client call validator feature.
- ๐ Old API deprecations and removals.
- ๐ Fixed gzip/deflate on JDK11
- ๐ง Introduced JWT auth header retrieval configuration (#1048)
CallLogging
message format customization (#1047)- ๐ Fixed logging error with no call-related MDC (#1033)
- Avoided using constant hash salt in
UserHashedTableAuth
- โ Added LDAP auth provider proper characters escaping
- ๐ง Minimized jetty core pool size and made it configurable (#1083)
- Made servlet engine use servlet config instead of context (#1063)
- Introduced accepted content types contributor in ContentNegotiation (#357)
- ๐ Introduced
ApplicationEnvironment.rootPath
with servlet engine support (context path) (#738) - ๐ Support for
rootPath
in routing by default (#738) - ๐ Introduce ability to serve web resources from WAR
- โ Added micrometer metrics (#1037)
- โ Added Thymeleaf templating feature (#988)
- 0๏ธโฃ Cookie session use
/
path by default (#1043) - โ Add hot reload experimental support for JDK9+ (VM option required)
HttpStatusCode
equals check is amended- โ Added client
AcceptCharset
header support - ๐
KotlinxSerializer
moved to a separate artifact - Client engine API simplified
- ๐ Introduced client cache support
- Server authenticator config reworked
- โก๏ธ Server digest auth updated to use UTF-8
- โ Added experimental android client line-wrapping logger
- ๐ Fixed webjars parameters handling and several minor fixes
- ๐ง Introduced JWTVerifier configure block when using JWKProvider
- โ Added client json feature custom content types support
- ๐ Fixed incorrect url encoding for some characters (#1094)
- ๐ Fixed hanging jetty server engine
- โฑ Introduced CIO client engine request timeout config
- โ Added client multipart content length support
- โฌ๏ธ Jetty upgraded to 9.4.15.v20190215
- โฌ๏ธ okhttp client upgraded to 3.14.0
- ๐ Fixed CIO client CPU utilization issue
- Kotlin 1.3.31
- kotlinx.coroutines 1.2.1