io.ktor:ktor-client-core breaking changes
io.ktor:ktor-client-core 3.0.0 (October 9, 2024) is its newest release with breaking changes, 2 of them. The first: Removed MockEngine. Every breaking API change we have recorded in io.ktor:ktor-client-core on Maven Central: 34 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.6.2.
Packages on Maven Central run on Java. Java end of life dates.
io.ktor:ktor-client-core 3.0.0 breaking changes
- Removed
MockEngine
The ability to set the dispatcher on MockEngine is removed, so code that sets it must change. github.com - Behavior changed
allowOrigin
The allowOrigin method now enables Origin Header validation, which can reject requests that previously passed. github.com
io.ktor:ktor-client-core 3.0.0-rc-2 breaking changes
- Removed
The empty io.ktor:ktor Maven artifact is no longer published, so builds depending on it must change. github.com - Removed
SessionSerializer
Custom session serializers are no longer supported, so code providing one must change. github.com - Signature changed
Options using java.time in the Websockets plugin were replaced, so code using them must change. github.com
io.ktor:ktor-client-core 3.0.0-beta-2 breaking changes
- Removed
io.ktor.network.tls.TLSException
TLSException changed to internal visibility, so code outside the module can no longer use it. github.com - Renamed
CallLogging
The CallLogging package name was misspelled and has been corrected, so imports must change. github.com - Renamed
HttpCalValidatorConfig
The class name was misspelled and has been corrected, so code referencing the old name must change. github.com - Default changed
The default session serializer now uses kotlinx-serializaion, so existing session data may be read differently. github.com - Signature changed
BearerTokens
The refreshToken property of BearerTokens is now nullable, so code using it as non-null must handle null. github.com
io.ktor:ktor-client-core 3.0.0-beta-1 breaking changes
- Removed
Previously deprecated APIs were removed, so code still using them must move to their replacements. github.com - Behavior changed
LDAP Auth now returns a generic Principal instead of UserIdPrincipal, so code that expects UserIdPrincipal must change. github.com - Behavior changed
Multipart data is no longer written to a temporary file, which changes how request data is handled. github.com - Behavior changed
Logger names change to start with io.ktor, which can affect logging configuration that matches logger names. github.com - Behavior changed
The Webjars plugin now includes caching headers and ETag by default, changing responses. github.com - Behavior changed
Decompressed responses and requests now unset the Content-Encoding header. github.com - Behavior changed
renderSetCookieHeader no longer ignores maxAge = 0, so generated Set-Cookie headers change. github.com
io.ktor:ktor-client-core 2.0.0 breaking changes
- Removed
after
The after hook was removed from the new plugins API. github.com - Removed
ApplicationReceiveRequest
ApplicationReceiveRequest has been removed. github.com - Removed
before
The before hook was removed from the new plugins API. github.com - Removed
headerSizeHint
The headerSizeHint option has been removed. github.com - Renamed
(X)ForwardedHeader
The (X)ForwardedHeader plugin was converted to the new API and renamed, so references must be updated. github.com - Renamed
io.ktor.resources.serialisation
The package was renamed to use the serialization spelling, so imports must be updated. github.com - Behavior changed
The charset=UTF-8 part is now added to the Content-Type header, which can change header comparisons. github.com - Behavior changed
The Java client now applies the request timeout rather than the socket timeout. github.com - Default changed
Text and form content now default to UTF-8 instead of the previous charset. github.com - Default changed
Response validation is now disabled by default; enable it explicitly if you relied on it. github.com
And 2 more in this version. Sign up to see every change
io.ktor:ktor-client-core 2.0.0-beta-1 breaking changes
- Removed
client.get
The client.get operator is gone because it conflicted with get(URL). Call the get function with a URL instead. github.com - Renamed
io.ktor.serializaion.gson
The package name for the gson serializer was changed in 2.0, so imports must be updated. github.com - Renamed
Ios
The Ios client engine was renamed to a more generic name covering all Apple operating systems. github.com - Behavior changed
AttributeKey
Attribute keys are now identified by their instance rather than their name, so code must reuse the same key object. github.com - Behavior changed
URLBuilder
Default values are now set in the build() function rather than earlier, which can change the resulting URL. github.com
Related packages
- io.ktor:ktor-client-cio
- io.ktor:ktor-server-content-negotiation-jvm
- io.ktor:ktor-server-core-jvm
- io.ktor:ktor-server-netty
- io.ktor:ktor-server-netty-jvm
- io.ktor:ktor-server-sessions
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.