Update ktor to v3.4.1 #6

Merged
raphdf201 merged 1 commit from renovate/ktor into master 2026-03-23 08:35:18 -04:00
Collaborator

This PR contains the following updates:

Package Type Update Change
io.ktor.plugin plugin patch 3.4.03.4.1
io.ktor:ktor-server-test-host dependencies patch 3.4.03.4.1
io.ktor:ktor-server-config-yaml dependencies patch 3.4.03.4.1
io.ktor:ktor-server-netty dependencies patch 3.4.03.4.1
io.ktor:ktor-server-forwarded-header dependencies patch 3.4.03.4.1
io.ktor:ktor-server-websockets dependencies patch 3.4.03.4.1
io.ktor:ktor-server-core dependencies patch 3.4.03.4.1

Release Notes

ktorio/ktor (io.ktor:ktor-server-test-host)

v3.4.1

Compare Source

Published 3 March 2026

Improvements
  • KTOR-9382 HttpProtocolVersion.parse: fast path for common versions
  • KTOR-9381 GMTDate: reduce allocations
  • KTOR-8971 Support "operationId" in Kdoc for OpenAPI spec. gen.
  • KTOR-9333 WebSockets: Infinite spin and potential OOM vulnerabilities in the Inflater.inflateFully method
  • KTOR-5616 Ktor always adds by default an Accept-Charset header
  • KTOR-9291 OpenAPI: handle atypical route functions
  • KTOR-9293 OpenAPI describe needs defaults
  • KTOR-9304 OpenAPI: Order of path parameters is not preserved in the spec
  • KTOR-9353 Routing: TailcardSelector missing toString(), which clutters the logs
Bugfixes
  • KTOR-9281 OpenApi code inference misses lambda argument bodies
  • KTOR-9273 OpenAPI static content path appears in resulting model
  • KTOR-9004 OpenAPI: No respective formats detected for serializable types like UUID or Instant
  • KTOR-9305 OpenAPI: "No mapping for symbol: VAR FOR_LOOP_VARIABLE" error with codeInferenceEnabled=true
  • KTOR-9279 OpenAPI: UnsupportedOperationException for a function with a reified type parameter codeInferenceEnabled = true
  • KTOR-9289 OpenAPI: Resource routes are missing inferred and comment-based documentation
  • KTOR-9330 OpenAPI: Cannot override kotlinx.serialization module
  • KTOR-9320 OpenAPI: jsonSchema() does not unwrap Kotlin value classes (inline classes)
  • KTOR-9352 Authentication: Creating JWT verifier fails for JWK with kty=EC and alg=null
  • KTOR-9344 Flow invariant error happens after update to Ktor 3.4.0
  • KTOR-9362 testApplication: Race condition in timeout coroutine when response is streaming
  • KTOR-9274 Curl: Undefined symbol errors when linking on Linux since 3.4.0
  • KTOR-8782 NodeJS CIO: "Module 'os' could not be imported" error on resolving WORKING_DIRECTORY_PATH with es2015 target
  • KTOR-9348 String.decodeBase64String fails to decode when the input has no padding since 3.4.0
  • KTOR-9318 CIO engine rejects valid certificates with unsupported signature algorithms
  • KTOR-9331 Curl: Segfaults when working with WebSockets
  • KTOR-9334 Coroutines in route handlers are dispatched with Dispatchers.Unconfined since 3.2.0
  • KTOR-9339 StreamResetException is not propagated to the caller of StreamRequestBody.writeTo since 3.4.0
  • KTOR-9329 HTMX: "on" attributes extension not working
  • KTOR-9316 WasmJS bad get and set implementations for Uint8Array and ArrayLike
  • KTOR-9272 JSON schema inference does not recognize unsigned types
  • KTOR-9211 SendCountExceedException when request is sent twice with maxRetries = 0 since 3.3.2
  • KTOR-9285 RateLimit: Milliseconds in the Retry-After header are truncated
  • KTOR-7512 JWT: Docs for validate method claim that it's optional, but it isn't
  • KTOR-9269 Incorrect dependency declaration in swagger / openapi
  • KTOR-9372 Frame.Text.readText() causes infinite loop and 100% CPU on Kotlin/Native when WebSocket frame data is malformed or connection drops unexpectedly

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | io.ktor.plugin | plugin | patch | `3.4.0` → `3.4.1` | | [io.ktor:ktor-server-test-host](https://github.com/ktorio/ktor) | dependencies | patch | `3.4.0` → `3.4.1` | | [io.ktor:ktor-server-config-yaml](https://github.com/ktorio/ktor) | dependencies | patch | `3.4.0` → `3.4.1` | | [io.ktor:ktor-server-netty](https://github.com/ktorio/ktor) | dependencies | patch | `3.4.0` → `3.4.1` | | [io.ktor:ktor-server-forwarded-header](https://github.com/ktorio/ktor) | dependencies | patch | `3.4.0` → `3.4.1` | | [io.ktor:ktor-server-websockets](https://github.com/ktorio/ktor) | dependencies | patch | `3.4.0` → `3.4.1` | | [io.ktor:ktor-server-core](https://github.com/ktorio/ktor) | dependencies | patch | `3.4.0` → `3.4.1` | --- ### Release Notes <details> <summary>ktorio/ktor (io.ktor:ktor-server-test-host)</summary> ### [`v3.4.1`](https://github.com/ktorio/ktor/blob/HEAD/CHANGELOG.md#341) [Compare Source](https://github.com/ktorio/ktor/compare/3.4.0...3.4.1) > Published 3 March 2026 ##### Improvements - [KTOR-9382](https://youtrack.jetbrains.com/issue/KTOR-9382) HttpProtocolVersion.parse: fast path for common versions - [KTOR-9381](https://youtrack.jetbrains.com/issue/KTOR-9381) GMTDate: reduce allocations - [KTOR-8971](https://youtrack.jetbrains.com/issue/KTOR-8971) Support "operationId" in Kdoc for OpenAPI spec. gen. - [KTOR-9333](https://youtrack.jetbrains.com/issue/KTOR-9333) WebSockets: Infinite spin and potential OOM vulnerabilities in the Inflater.inflateFully method - [KTOR-5616](https://youtrack.jetbrains.com/issue/KTOR-5616) Ktor always adds by default an Accept-Charset header - [KTOR-9291](https://youtrack.jetbrains.com/issue/KTOR-9291) OpenAPI: handle atypical route functions - [KTOR-9293](https://youtrack.jetbrains.com/issue/KTOR-9293) OpenAPI describe needs defaults - [KTOR-9304](https://youtrack.jetbrains.com/issue/KTOR-9304) OpenAPI: Order of path parameters is not preserved in the spec - [KTOR-9353](https://youtrack.jetbrains.com/issue/KTOR-9353) Routing: TailcardSelector missing toString(), which clutters the logs ##### Bugfixes - [KTOR-9281](https://youtrack.jetbrains.com/issue/KTOR-9281) OpenApi code inference misses lambda argument bodies - [KTOR-9273](https://youtrack.jetbrains.com/issue/KTOR-9273) OpenAPI static content path appears in resulting model - [KTOR-9004](https://youtrack.jetbrains.com/issue/KTOR-9004) OpenAPI: No respective formats detected for serializable types like UUID or Instant - [KTOR-9305](https://youtrack.jetbrains.com/issue/KTOR-9305) OpenAPI: "No mapping for symbol: VAR FOR\_LOOP\_VARIABLE" error with codeInferenceEnabled=true - [KTOR-9279](https://youtrack.jetbrains.com/issue/KTOR-9279) OpenAPI: UnsupportedOperationException for a function with a reified type parameter codeInferenceEnabled = true - [KTOR-9289](https://youtrack.jetbrains.com/issue/KTOR-9289) OpenAPI: Resource routes are missing inferred and comment-based documentation - [KTOR-9330](https://youtrack.jetbrains.com/issue/KTOR-9330) OpenAPI: Cannot override kotlinx.serialization module - [KTOR-9320](https://youtrack.jetbrains.com/issue/KTOR-9320) OpenAPI: jsonSchema<T>() does not unwrap Kotlin value classes (inline classes) - [KTOR-9352](https://youtrack.jetbrains.com/issue/KTOR-9352) Authentication: Creating JWT verifier fails for JWK with `kty=EC` and `alg=null` - [KTOR-9344](https://youtrack.jetbrains.com/issue/KTOR-9344) Flow invariant error happens after update to Ktor 3.4.0 [![](https://img.shields.io/badge/\[Impactful%20change\]-orange?style=flat-square)](#) - [KTOR-9362](https://youtrack.jetbrains.com/issue/KTOR-9362) testApplication: Race condition in timeout coroutine when response is streaming - [KTOR-9274](https://youtrack.jetbrains.com/issue/KTOR-9274) Curl: Undefined symbol errors when linking on Linux since 3.4.0 - [KTOR-8782](https://youtrack.jetbrains.com/issue/KTOR-8782) NodeJS CIO: "Module 'os' could not be imported" error on resolving WORKING\_DIRECTORY\_PATH with es2015 target - [KTOR-9348](https://youtrack.jetbrains.com/issue/KTOR-9348) String.decodeBase64String fails to decode when the input has no padding since 3.4.0 - [KTOR-9318](https://youtrack.jetbrains.com/issue/KTOR-9318) CIO engine rejects valid certificates with unsupported signature algorithms - [KTOR-9331](https://youtrack.jetbrains.com/issue/KTOR-9331) Curl: Segfaults when working with WebSockets - [KTOR-9334](https://youtrack.jetbrains.com/issue/KTOR-9334) Coroutines in route handlers are dispatched with Dispatchers.Unconfined since 3.2.0 - [KTOR-9339](https://youtrack.jetbrains.com/issue/KTOR-9339) StreamResetException is not propagated to the caller of StreamRequestBody.writeTo since 3.4.0 [![](https://img.shields.io/badge/\[Regression%20fix\]-green?style=flat-square)](#) - [KTOR-9329](https://youtrack.jetbrains.com/issue/KTOR-9329) HTMX: "on" attributes extension not working - [KTOR-9316](https://youtrack.jetbrains.com/issue/KTOR-9316) WasmJS bad get and set implementations for Uint8Array and ArrayLike - [KTOR-9272](https://youtrack.jetbrains.com/issue/KTOR-9272) JSON schema inference does not recognize unsigned types - [KTOR-9211](https://youtrack.jetbrains.com/issue/KTOR-9211) SendCountExceedException when request is sent twice with maxRetries = 0 since 3.3.2 - [KTOR-9285](https://youtrack.jetbrains.com/issue/KTOR-9285) RateLimit: Milliseconds in the Retry-After header are truncated - [KTOR-7512](https://youtrack.jetbrains.com/issue/KTOR-7512) JWT: Docs for `validate` method claim that it's optional, but it isn't - [KTOR-9269](https://youtrack.jetbrains.com/issue/KTOR-9269) Incorrect dependency declaration in swagger / openapi - [KTOR-9372](https://youtrack.jetbrains.com/issue/KTOR-9372) Frame.Text.readText() causes infinite loop and 100% CPU on Kotlin/Native when WebSocket frame data is malformed or connection drops unexpectedly </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Update ktor to v3.4.1
Some checks failed
Build project / build (push) Failing after 1m34s
043a2caca5
renovateBot force-pushed renovate/ktor from 043a2caca5
Some checks failed
Build project / build (push) Failing after 1m34s
to a2faba3f3a
All checks were successful
Build project / build (push) Successful in 2m38s
2026-03-19 09:00:15 -04:00
Compare
raphdf201 merged commit a2faba3f3a into master 2026-03-23 08:35:18 -04:00
raphdf201 deleted branch renovate/ktor 2026-03-23 08:35:18 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
raphdf201/chat!6
No description provided.