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