ktor v0.4.0 Release Notes
-
Published 16 Aug 2017
- Built with Kotlin 1.1.4
- ๐จ Refactored receive/response pipelines and moved them into respective ApplicationRequest & ApplicationResponse classes
- ๐ Fixes, improvements and integration tests for HTTP/2 support
- โก๏ธ Update
ContentType
to treat all parts case insensitively - โ Remove
ApplicationLog
and use SLF4JLogger
directly - โ Add HttpMethod.Patch and respective builder functions
routing
function will now installRouting
feature or use existing installed feature for easier modules- ๐ Convert sessions to proper feature, support multiple sessions, improve DSL
- ๐ HeadRequestSupport feature is renamed to AutoHeadResponse (with deprecated typealias)
- Replace ApplicationTransform with receive pipeline
- Introduce send/receive pipelines for all call pipelines
- Gson application feature for JSON transformation of incoming & outgoing data objects
- โ Added HttpBin sample (thanks to @jmfayard)
- Employ
DslMarker
annotation to prevent accidental use of route functions in get/post handlers - ๐ Improve diagnostics for untransformed content
- Ensure missing file (
FileNotFoundException
) can be handled properly withStatusPages
feature - ๐ Websocket fixes for large frames, fragmentation and more
- ๐ Support for specifying config file with command line
- ๐ Improvements in Servlet-based hosts
- ๐ Memory allocation and performance optimisations
- โ Add Apache 2 LICENSE file
- โ Add documentation to some types
- ๐ New sample for static content
- โฌ๏ธ Bump versions of dependencies