---
title: "io.ktor:ktor-server-netty 3.0.0 Breaking Changes"
description: "What each io.ktor:ktor-server-netty 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-server-netty
last_updated: 2026-12-04
---

# io.ktor:ktor-server-netty breaking changes

io.ktor:ktor-server-netty 3.0.0 (October 9, 2024) is its newest release with breaking changes, 3 of them. The first: Removed MockEngine. Every breaking API change we have recorded in io.ktor:ktor-server-netty 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`, released November 28, 2026. 

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): 15 breaking changes in 4 versions.

## io.ktor:ktor-server-netty 3.0.0 breaking changes

io.ktor:ktor-server-netty 3.0.0, released October 9, 2024: 3 breaking changes.

- **Removed** `MockEngine`  

The ability to set a dispatcher on MockEngine is removed, so code setting it will break. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0)
- **Behavior changed** `allowOrigin`  

Calling allowOrigin now enables Origin header validation, which may reject requests that previously passed. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0)
- **Behavior changed** `FileCacheStorage`  

FileCacheStorage replaces the weak MD5 algorithm, so existing cached file names may change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0)

## io.ktor:ktor-server-netty 3.0.0-rc-2 breaking changes

io.ktor:ktor-server-netty 3.0.0-rc-2, released October 9, 2024: 2 breaking changes.

- **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**  

Websockets plugin options that used java.time types are replaced, so code using them must change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-rc-2)

## io.ktor:ktor-server-netty 3.0.0-beta-2 breaking changes

io.ktor:ktor-server-netty 3.0.0-beta-2, released October 9, 2024: 5 breaking changes.

- **Removed** `io.ktor.network.tls.TLSException`  

TLSException now has internal visibility, so code outside the library 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 changed, so imports must be updated. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-2)
- **Renamed** `HttpCalValidatorConfig`  

The class name was misspelled and has been renamed, so references must be updated. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-2)
- **Default changed**  

The default session serializer now uses kotlinx-serialization, so stored sessions in the old format may not load. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-2)
- **Signature changed** `BearerTokens.refreshToken`  

The refreshToken property is 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-server-netty 3.0.0-beta-1 breaking changes

io.ktor:ktor-server-netty 3.0.0-beta-1, released October 9, 2024: 5 breaking changes.

- **Removed**  

Previously deprecated APIs are removed, so code still calling them will break. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)
- **Behavior changed**  

Logger names change, so log filters that match the old names may stop working. [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 stored. [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 expecting UserIdPrincipal must change. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)
- **Default changed** `Webjars`  

Webjars responses now include caching headers and ETag by default. [github.com](https://github.com/ktorio/ktor/releases/tag/3.0.0-beta-1)

## io.ktor:ktor-server-netty 2.0.0 breaking changes

io.ktor:ktor-server-netty 2.0.0, released April 8, 2022: 13 breaking changes.

- **Removed** `after`  

The after function was removed from the new plugins API, so code using it must be changed. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Removed** `ApplicationReceiveRequest`  

ApplicationReceiveRequest was removed, so code using it must be changed. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Removed** `before`  

The before function was removed from the new plugins API, so code using it must be changed. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Removed** `ExperimentalTime`  

The ExperimentalTime usage was dropped, so code depending on it must be changed. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Removed** `headerSizeHint`  

The headerSizeHint option was removed and code setting it must be updated. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Renamed**  

Some CORS configuration names were changed, so code using the old names must be updated. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Renamed**  

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

The package io.ktor.resources.serialisation was renamed to io.ktor.resources.serialization. Imports must be updated. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Behavior changed**  

The Java client now applies the request timeout instead of the socket timeout, which can change timeout behavior. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)
- **Behavior changed** `ContentNegotiation`  

When no registrations match, ContentNegotiation now keeps the original content type. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0)

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

## io.ktor:ktor-server-netty 2.0.0-beta-1 breaking changes

io.ktor:ktor-server-netty 2.0.0-beta-1, released April 8, 2022: 6 breaking changes.

- **Removed** `client.get`  

The client.get operator was removed because it was ambiguous with get(URL). Code using client.get must be changed to an explicit request call. [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. Code referencing the old name must be updated. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0-beta-1)
- **Behavior changed** `AttributeKey`  

AttributeKey instances are compared by identity instead of by name, so code that relies on matching keys by name may behave differently. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0-beta-1)
- **Behavior changed** `ContentNegotiation`  

The body transformation check was removed from ContentNegotiation, which can change how bodies are handled. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0-beta-1)
- **Behavior changed** `DefaultRequest`  

Default request values are now applied before the request builder runs, which can change the final request. [github.com](https://github.com/ktorio/ktor/releases/tag/2.0.0-beta-1)
- **Behavior changed** `URLBuilder`  

URLBuilder default values are now set in the build() function, 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-client-core](https://since.dev/packages/maven/io.ktor:ktor-client-core.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-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.
