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
On this page
Latest version 3.6.2, released November 28, 2026.
Packages on Maven Central run on Java. Java end of life dates.
io.ktor:ktor-server-netty 3.0.0 breaking changes
- Removed
MockEngine
The ability to set a dispatcher on MockEngine is removed, so code setting it will break. github.com - Behavior changed
allowOrigin
Calling allowOrigin now enables Origin header validation, which may reject requests that previously passed. github.com - Behavior changed
FileCacheStorage
FileCacheStorage replaces the weak MD5 algorithm, so existing cached file names may change. github.com
io.ktor:ktor-server-netty 3.0.0-rc-2 breaking changes
- Removed
SessionSerializer
Custom session serializers are no longer supported, so code providing one must change. github.com - Signature changed
Websockets plugin options that used java.time types are replaced, so code using them must change. github.com
io.ktor:ktor-server-netty 3.0.0-beta-2 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 - Renamed
CallLogging
The CallLogging package name was misspelled and has been changed, so imports must be updated. github.com - Renamed
HttpCalValidatorConfig
The class name was misspelled and has been renamed, so references must be updated. github.com - Default changed
The default session serializer now uses kotlinx-serialization, so stored sessions in the old format may not load. github.com - Signature changed
BearerTokens.refreshToken
The refreshToken property is nullable, so code using it as non-null must handle null. github.com
io.ktor:ktor-server-netty 3.0.0-beta-1 breaking changes
- Removed
Previously deprecated APIs are removed, so code still calling them will break. github.com - Behavior changed
Logger names change, so log filters that match the old names may stop working. github.com - Behavior changed
Multipart data is no longer written to a temporary file, which changes how request data is stored. github.com - Behavior changed
LDAP Auth now returns a generic Principal instead of UserIdPrincipal, so code expecting UserIdPrincipal must change. github.com - Default changed
Webjars
Webjars responses now include caching headers and ETag by default. github.com
io.ktor:ktor-server-netty 2.0.0 breaking changes
- Removed
after
The after function was removed from the new plugins API, so code using it must be changed. github.com - Removed
ApplicationReceiveRequest
ApplicationReceiveRequest was removed, so code using it must be changed. github.com - Removed
before
The before function was removed from the new plugins API, so code using it must be changed. github.com - Removed
ExperimentalTime
The ExperimentalTime usage was dropped, so code depending on it must be changed. github.com - Removed
headerSizeHint
The headerSizeHint option was removed and code setting it must be updated. github.com - Renamed
Some CORS configuration names were changed, so code using the old names must be updated. github.com - 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 - Renamed
io.ktor.resources.serialisation
The package io.ktor.resources.serialisation was renamed to io.ktor.resources.serialization. Imports must be updated. github.com - Behavior changed
The Java client now applies the request timeout instead of the socket timeout, which can change timeout behavior. github.com - Behavior changed
ContentNegotiation
When no registrations match, ContentNegotiation now keeps the original content type. github.com
And 3 more in this version. Sign up to see every change
io.ktor:ktor-server-netty 2.0.0-beta-1 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 - 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 - 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 - Behavior changed
ContentNegotiation
The body transformation check was removed from ContentNegotiation, which can change how bodies are handled. github.com - Behavior changed
DefaultRequest
Default request values are now applied before the request builder runs, which can change the final request. github.com - Behavior changed
URLBuilder
URLBuilder default values are now set in the build() function, which can change the resulting URL. github.com
Related packages
- io.ktor:ktor-client-cio
- io.ktor:ktor-client-core
- io.ktor:ktor-server-content-negotiation-jvm
- io.ktor:ktor-server-core-jvm
- 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.