---
title: "io.ktor:ktor-client-core 3.0.0 Breaking Changes"
description: "What each io.ktor:ktor-client-core release removed, renamed or changed: 34 breaking changes in 6 versions on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/io.ktor:ktor-client-core
last_updated: 2026-12-04
---

# 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

Latest version `3.6.2`. 

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 17 breaking changes in 4 versions.

## io.ktor:ktor-client-core 3.0.0 breaking changes

io.ktor:ktor-client-core 3.0.0, released October 9, 2024: 2 breaking changes.

- **Removed** `MockEngine`  

The ability to set the dispatcher on MockEngine is removed, so code that sets it must change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0)
- **Behavior changed** `allowOrigin`  

The allowOrigin method now enables Origin Header validation, which can reject requests that previously passed. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0)

## io.ktor:ktor-client-core 3.0.0-rc-2 breaking changes

io.ktor:ktor-client-core 3.0.0-rc-2, released October 9, 2024: 3 breaking changes.

- **Removed**  

The empty io.ktor:ktor Maven artifact is no longer published, so builds depending on it must change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-rc-2)
- **Removed** `SessionSerializer`  

Custom session serializers are no longer supported, so code providing one must change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-rc-2)
- **Signature changed**  

Options using java.time in the Websockets plugin were replaced, so code using them must change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-rc-2)

## io.ktor:ktor-client-core 3.0.0-beta-2 breaking changes

io.ktor:ktor-client-core 3.0.0-beta-2, released October 9, 2024: 5 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](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-2)
- **Renamed** `CallLogging`  

The CallLogging package name was misspelled and has been corrected, so imports must change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-2)
- **Renamed** `HttpCalValidatorConfig`  

The class name was misspelled and has been corrected, so code referencing the old name must change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-2)
- **Default changed**  

The default session serializer now uses kotlinx-serializaion, so existing session data may be read differently. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-2)
- **Signature changed** `BearerTokens`  

The refreshToken property of BearerTokens is now nullable, so code using it as non-null must handle null. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-2)

## io.ktor:ktor-client-core 3.0.0-beta-1 breaking changes

io.ktor:ktor-client-core 3.0.0-beta-1, released October 9, 2024: 7 breaking changes.

- **Removed**  

Previously deprecated APIs were removed, so code still using them must move to their replacements. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)
- **Behavior changed**  

LDAP Auth now returns a generic Principal instead of UserIdPrincipal, so code that expects UserIdPrincipal must change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)
- **Behavior changed**  

Multipart data is no longer written to a temporary file, which changes how request data is handled. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)
- **Behavior changed**  

Logger names change to start with io.ktor, which can affect logging configuration that matches logger names. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)
- **Behavior changed**  

The Webjars plugin now includes caching headers and ETag by default, changing responses. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)
- **Behavior changed**  

Decompressed responses and requests now unset the Content-Encoding header. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)
- **Behavior changed**  

renderSetCookieHeader no longer ignores maxAge = 0, so generated Set-Cookie headers change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)

## io.ktor:ktor-client-core 2.0.0 breaking changes

io.ktor:ktor-client-core 2.0.0, released April 8, 2022: 12 breaking changes.

- **Removed** `after`  

The after hook was removed from the new plugins API. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Removed** `ApplicationReceiveRequest`  

ApplicationReceiveRequest has been removed. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Removed** `before`  

The before hook was removed from the new plugins API. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Removed** `headerSizeHint`  

The headerSizeHint option has been removed. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Renamed** `(X)ForwardedHeader`  

The (X)ForwardedHeader plugin was converted to the new API and renamed, so references must be updated. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Renamed** `io.ktor.resources.serialisation`  

The package was renamed to use the serialization spelling, so imports must be updated. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Behavior changed**  

The charset=UTF-8 part is now added to the Content-Type header, which can change header comparisons. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Behavior changed**  

The Java client now applies the request timeout rather than the socket timeout. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Default changed**  

Text and form content now default to UTF-8 instead of the previous charset. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Default changed**  

Response validation is now disabled by default; enable it explicitly if you relied on it. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## io.ktor:ktor-client-core 2.0.0-beta-1 breaking changes

io.ktor:ktor-client-core 2.0.0-beta-1, released April 8, 2022: 5 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](https://github.com/ktorio/ktor/releases/tag/2.0.0-beta-1)
- **Renamed** `io.ktor.serializaion.gson`  

The package name for the gson serializer was changed in 2.0, so imports must be updated. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0-beta-1)
- **Renamed** `Ios`  

The Ios client engine was renamed to a more generic name covering all Apple operating systems. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0-beta-1)
- **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](https://github.com/ktorio/ktor/releases/tag/2.0.0-beta-1)
- **Behavior changed** `URLBuilder`  

Default values are now set in the build() function rather than earlier, which can change the resulting URL. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0-beta-1)

## Related packages

- [io.ktor:ktor-client-cio](https://since.dev/packages/maven/io.ktor:ktor-client-cio.md)
- [io.ktor:ktor-server-content-negotiation-jvm](https://since.dev/packages/maven/io.ktor:ktor-server-content-negotiation-jvm.md)
- [io.ktor:ktor-server-core-jvm](https://since.dev/packages/maven/io.ktor:ktor-server-core-jvm.md)
- [io.ktor:ktor-server-netty](https://since.dev/packages/maven/io.ktor:ktor-server-netty.md)
- [io.ktor:ktor-server-netty-jvm](https://since.dev/packages/maven/io.ktor:ktor-server-netty-jvm.md)
- [io.ktor:ktor-server-sessions](https://since.dev/packages/maven/io.ktor:ktor-server-sessions.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
