Ktor 1.4.0 now available!
We’re excited to announce the availability of Ktor 1.4.0, which also marks the first release where we’ve moved to Semantic Versioning. In addition to a few minor features, the release addresses a bunch of known problems and provides compatibility with Kotlin 1.4.
- Partial support for CIO (native-mt) which includes Sockets and HTTP*.
- Added support for Cookie Encoding
- Improvements in WebSocket routing
- Support for WebSocket client feature configuration
- Fixed static content resolution for directories inside Jar
- OAuth2 now supports parameters in URL
- Default testing server is now CIO
- Updated Jetty version to 9.3.41
- Updated to version 4.4.0 of OkHttp
- URLBuilder now uses window.location.origin as default host
- Support for iOS certificate pinning
- Added deprecation warning for BasicAuth Feature (should use Auth from now on)
For a full list of changes, please see the change log.
* Currently we do not support WebSockets or HTTPS. In addition, support for Windows will be added in a patch release.
We’d like to thank the following folks for their contributions to this release (in no particular order):
GitHub Issues now off
As we mentioned last month, we have been migrating to YouTrack. All the existing issues in GitHub have been ported, backlinked, and each issue in GitHub has been updated with a link to notify watchers that new updates would take place on YouTrack. We will now be switching off creating new GitHub issues, but please rest assured that all the data is safe in YouTrack and if we ever need it, we can access it via GitHub too.
Moving forward though, please log all new requests in YouTrack
Getting the bits
Moving to the Kotlin Blog
As part of the many projects we are working on at JetBrains under the umbrella of the Kotlin Ecosystem, we feel that it wouldn't make sense or be of great benefit to you, our users, to have individual blogs per product/library. As such, we will be consolidating all the information under the Kotl…
Ktor 2.3.0 Released
We are pleased to announce the release of Ktor 2.3.0. This update brings numerous new features and improvements to the Ktor ecosystem. The following sections provide a brief overview of the major changes in this release: Core Improvements Explicit type for WebSockets ContentNegotiation Plugin The W…
Ktor 2023 Roadmap
We’ve been working on defining our roadmap for Ktor for 2023, and much like we did for 2022, we’d like to share our plans with you and what we have in store. One of the things we’re planning on doing this year is releasing 3.0.0. While major versions generally indicate a breaking change, most of …
Ktor 2.2.1 (and 2.2.0) released
Important: Yesterday we released 2.2.0 to Maven Central, but immediately after we noticed a critical issue of AtomicFu that needed addressing, and as a consequence shortly after we pushed 2.2.1. As such, if you are using 2.2.0, we strongly advise moving to 2.2.1. We've released Ktor 2.2.0/2.2…