Ktor 發行版本
Ktor 遵循 語義化版本控制:
- 主要版本 (x.0.0) 包含不相容的 API 變更。
- 次要版本 (x.y.0) 提供向後相容的新功能。
- 修補程式版本 (x.y.z) 包含向後相容的修正。
對於每個主要和次要發行版本,我們還會發布多個預覽 (EAP) 版本,供您在發布前試用新功能。欲了解更多詳情,請參閱 搶先體驗計劃。
Gradle 外掛程式
Gradle Ktor 外掛程式 和框架處於相同的發行週期。您可以在 Gradle 外掛程式入口網站 上找到所有外掛程式發行版本。
IntelliJ Ultimate 外掛程式
IntelliJ Ktor 外掛程式 獨立於 Ktor 框架發行,並與 IntelliJ IDEA Ultimate 使用相同的發行週期。
更新至新發行版本
IntelliJ Ktor 外掛程式允許您將 Ktor 專案遷移到最新版本。您可以從 遷移專案 部分了解更多資訊。
發行詳情
下表列出了最新 Ktor 發行版本的詳細資訊。
| 版本 | 發行日期 | 重點 |
| 3.3.2 | November 5, 2025 | 一個修補程式版本,新增對 Darwin 的 SOCKS proxy 支援,優化 WebRTC 用戶端目標和 Java proxy 處理,並修正了 HTTP retries、OpenAPI、caching 和 Android 上的 Netty 中的多個問題。 |
| 3.3.1 | October 8, 2025 | 一個修補程式版本,將 Kotlin 更新至 2.2.20,並修正了多個問題,包括 Content-Length parsing errors、 |
| 3.3.0 | September 11, 2025 | 一個次要版本,引入了實驗性的 OpenAPI 生成預覽、改進的靜態內容處理、適用於 Android 和 JS/Wasm 的 WebRTC 用戶端等主要功能,並升級至 Jetty、OkHttp 和 Kotlin 2.2。欲了解更多資訊,請參閱 Ktor 3.3.0 中的新功能 。 undefined |
| 3.2.3 | July 29, 2025 | 一個修補程式版本,引入了對 YAML config 處理、DI resolution 和 Wasm/JS stability 的改進,以及對 multipart parsing、CIO |
| 3.2.2 | July 14, 2025 | 一個修補程式版本,改進了 SSE field serialization order,並解決了多個問題,包括 CORS preflight handling、test application streaming、configuration deserialization bugs,以及跨平台缺少標頭的問題——包括來自 3.2.1 影響 wasmJs 和 Darwin targets 的迴歸。 |
| 3.2.1 | July 4, 2025 | 一個修補程式版本,包括對 time APIs、templating 和 publishing 的改進,以及對 plugin behavior、Netty、OkHttp 和 3.2.0 中引入的 startup issues 的關鍵錯誤修正。 |
| 3.2.0 | June 12, 2025 | 一個次要版本,引入了 typed configuration deserialization、新的 dependency injection 和 HTMX modules、Gradle version catalog support 和 suspend module support。欲了解更多資訊,請參閱 Ktor 3.2.0 中的新功能 。 undefined |
| 3.1.3 | May 5, 2025 | 一個修補程式版本,包括性能改進,例如更快的 byte operations 和 multipart handling,以及更安全的 token refresh handling。它還修正了 metrics 中的 memory issues,改進了 header behavior,並解決了 WebSockets、OkHttp、Apache5 和 Netty 中的 bugs,此外還更新了 JTE 以支援 Kotlin 2.1.0。 |
| 3.1.2 | March 27, 2025 | 一個修補程式版本,將 Kotlin 更新至 2.1.20,並修正了各種問題,包括 Base64 decoding、auth token clearing、Android server startup errors、WebSocket header formatting 和 SSE session cancellation。 |
| 3.1.1 | February 24, 2025 | 一個修補程式版本,改進了 logging 並修正了 WebSocket timeout handling。它修正了多個 bugs,包括 HTTP cache inconsistencies、form data copying errors、gzip handling crashes 以及導致 segment pool corruption 的 concurrency issues。 |
| 3.1.0 | February 11, 2025 | 一個次要版本,引入了各種 SSE features 以及 extended CIO engine 和 WebSocket support。它增強了 platform compatibility、logging 和 authentication,同時修正了與 byte channel handling、HTTP request failures 和 concurrency issues 相關的 critical bugs。 |
| 3.0.3 | December 18, 2024 | 一個修補程式版本,包含各種 bug fixes,包括修正 |
| 3.0.2 | December 4, 2024 | 一個修補程式版本,解決了與 response corruption、truncated bodies、connection handling 和 incorrect headers 相關的多個 bug fixes,以及 extended binary encoding support 和 Android 的 performance enhancements。 |
| 2.3.13 | November 20, 2024 | 一個修補程式版本,包含 bug fixes、security patches 和 improvements,包括對 |
| 3.0.1 | October 29, 2024 | 一個修補程式版本,包括 client 和 server logging 的 improvements,以及各種 bug fixes。 |
| 3.0.0 | October 9, 2024 | 一個主要版本,包含 improvements 和 bug fixes,包括對 Android Native targets 的支援。有關破壞性變更的更多資訊,請參閱 遷移指南 。 undefined |
| 3.0.0-rc-2 | October 2, 2024 | 一個主要 release candidate,包含各種帶有破壞性變更、bug fixes 和 features 的 improvements,例如針對 XML 的 multiplatform support。 |
| 3.0.0-rc-1 | September 9, 2024 | 一個主要 release candidate,包含 significant improvements 和 bug fixes。此更新增強了 backward compatibility 並具有 extended |
| 3.0.0-beta-2 | July 15, 2024 | 一個主要 pre-release version,包含各種 improvements 和 bug fixes,包括 SSE support improvements 和適用於 Kotlin/Wasm 的 Ktor client。 |
| 2.3.12 | June 20, 2024 | 一個修補程式版本,包括 Ktor Core 和 Ktor Server 中的 bug fixes,以及 Netty 和 OpenAPI 的 version updates。 |
| 2.3.11 | May 9, 2024 | 一個修補程式版本,包括一個用於將 socket timeout 應用於 Test Client 的 engine 的 bug fix。 |
| 2.3.10 | April 8, 2024 | 一個修補程式版本,包括 CallLogging 和 SSE server plugins 的各種 bug fixes,improved Android client logging 等。 |
| 2.3.9 | March 4, 2024 | 一個修補程式版本,包括 ContentNegotiation client plugin 的一個 bug fix,以及對透過 HTTP 傳送 secure cookies 的支援。 |
| 2.3.8 | January 31, 2024 | 一個修補程式版本,包括 URLBuilder、CORS 和 WebSocket plugins 的各種 bug fixes。 |
| 2.3.7 | December 7, 2023 | 一個修補程式版本,包括 ContentNegotiation、WebSockets 中的 bug fixes,以及 Native Server 中的 memory usage。 |
| 3.0.0-beta-1 | November 23, 2023 | 一個主要 pre-release version,包含各種 improvements 和 bug fixes,包括 client 和 server SSE support。 |
| 2.3.6 | November 7, 2023 | 一個修補程式版本,包括對 2.3.5 中破壞性變更的 fix 以及各種其他 bug fixes。 |
| 2.3.5 | October 5, 2023 | 一個修補程式版本,包括 Darwin 和 Apache5 engine configurations 中的 fixes。 |
| 2.3.4 | August 31, 2023 | 一個修補程式版本,包括 HTTP Cookie header 中的 bug fix 和 NoTransformationFoundException error。 |
| 2.3.3 | August 1, 2023 | 一個修補程式版本,包括對 |
| 2.3.2 | June 28, 2023 | 一個修補程式版本,將 Kotlin version 升級到 |
| 2.3.1 | May 31, 2023 | 一個修補程式版本,包括 server configurations 的 improvements 以及各種 bug fixes。 |
| 2.3.0 | April 19, 2023 | 一個 feature release,增加了對 multiple configuration files、Routing 中的 regex patterns 等的 support。 |
| 2.2.4 | February 28, 2023 | 一個修補程式版本,包含 HTTP client、Routing 和 ContentNegotiation 中的各種 bug fixes。 |
| 2.2.3 | January 31, 2023 | 一個修補程式版本,包括針對 OAuth2 的 multiplatform functionality 以及各種 bug fixes。 |
| 2.2.2 | January 3, 2023 | 一個修補程式版本,包括對 |
| 2.2.1 | December 7, 2022 | 一個修補程式版本,用於解決 |
| 2.2.0 | December 7, 2022 | 一個 multiple feature release,包括 Swagger UI hosting、new plugins API、針對 Sessions 的 multiplatform support 等。欲了解更多資訊,請參閱 從 2.0.x 遷移到 2.2.x 指南。 undefined |
| 2.1.3 | October 26, 2022 | 一個修補程式版本,包含各種 bug fixes。 |
| 2.1.2 | September 29, 2022 | 一個修補程式版本,包括 Routing、Testing engine 和 Ktor client 中的 bug fixes。 |
| 2.1.1 | September 6, 2022 | 一個修補程式版本,包含 Ktor client 和 server 中的各種 bug fixes。 |
| 2.1.0 | August 11, 2022 | 一個次要版本,增加了對 YAML configuration 的 support 以及各種其他 improvements 和 bug fixes。 |
| 2.0.3 | June 28, 2022 | 一個修補程式版本,包含 bug fixes 並將 |
| 2.0.2 | May 27, 2022 | 一個修補程式版本,包含各種 improvements、bug fixes 和 dependencies version upgrades。 |
| 2.0.1 | April 28, 2022 | 一個修補程式版本,包含各種 bug fixes 並將 Kotlin version 更新到 |
| 2.0.0 | April 11, 2022 | 一個主要版本,帶有 updated API docs 和各種 new features。有關破壞性變更以及如何從 遷移指南 。 undefined |
| 1.6.8 | March 15, 2022 | 一個修補程式版本,包含 dependencies version upgrades。 |
