Nova
Nova copied to clipboard
Bump ktor from 2.3.12 to 3.0.0
Bumps ktor
from 2.3.12 to 3.0.0.
Updates io.ktor:ktor-client-cio-jvm
from 2.3.12 to 3.0.0
Release notes
Sourced from io.ktor:ktor-client-cio-jvm's releases.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (KTOR-7255)
- ConnectionUtilsNative leaks descriptors on error (KTOR-6977)
- withTimeout doesn't cancel socket connection on native (KTOR-5289)
- MockEngine: the ability to set dispatcher is removed (KTOR-6417)
Improvements
- Misleading
readBytes
method name (KTOR-6596)- Remove reflection utils used only on JVM target from common source set (KTOR-7540)
- Weak security algorithm (MD5) in FileCacheStorage (KTOR-6589)
- Missing constants for AcceptEncoding (KTOR-6412)
- Add
respondFile
overload withPath
parameters (KTOR-7202)- MalformedInputException confusingly is a Throwable but not an Exception (KTOR-7316)
- CSRF: The allowOrigin method enables the Origin Header validation (KTOR-6695)
- Auth: Drop marker interface requirements (KTOR-7323)
- Routing: Support accessing the request body in RouteSelector (KTOR-7084)
- Make Cookie class Serializable (KTOR-6258)
- Make the internal Route.swaggerUI method public (KTOR-6491)
- Ktor clients and servers should use Dispatchers.IO.limitedParallelism(...) wherever possible (KTOR-6462)
Features
- Support androidNative targets (KTOR-7289)
- Provide the API that simplifies disabling CORS for testing purposes (KTOR-3329)
- Add support for mingw to ktor-network in order to make server and client work on windows (KTOR-4080)
3.0.0-rc-2
Published 2 October 2024
Bugfixes
- Sessions: custom SessionSerializer is no longer supported (KTOR-7442)
- Multipart/form-data: Request timeout when receiving FileItem with 3.0.0-rc-1 (KTOR-7484)
- MultiPartData.readPart does not return null when stream ends (KTOR-7500)
- Multipart/form-data: Form limit applied for binary and file items (KTOR-7356)
... (truncated)
Changelog
Sourced from io.ktor:ktor-client-cio-jvm's changelog.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (KTOR-7255)
- ConnectionUtilsNative leaks descriptors on error (KTOR-6977)
- withTimeout doesn't cancel socket connection on native (KTOR-5289)
- MockEngine: the ability to set dispatcher is removed (KTOR-6417)
Improvements
- Misleading
readBytes
method name (KTOR-6596)- Remove reflection utils used only on JVM target from common source set (KTOR-7540)
- Weak security algorithm (MD5) in FileCacheStorage (KTOR-6589)
- Missing constants for AcceptEncoding (KTOR-6412)
- Add
respondFile
overload withPath
parameters (KTOR-7202)- MalformedInputException confusingly is a Throwable but not an Exception (KTOR-7316)
- CSRF: The allowOrigin method enables the Origin Header validation (KTOR-6695)
- Auth: Drop marker interface requirements (KTOR-7323)
- Routing: Support accessing the request body in RouteSelector (KTOR-7084)
- Make Cookie class Serializable (KTOR-6258)
- Make the internal Route.swaggerUI method public (KTOR-6491)
- Ktor clients and servers should use Dispatchers.IO.limitedParallelism(...) wherever possible (KTOR-6462)
Features
- Support androidNative targets (KTOR-7289)
- Provide the API that simplifies disabling CORS for testing purposes (KTOR-3329)
- Add support for mingw to ktor-network in order to make server and client work on windows (KTOR-4080)
3.0.0-rc-2
Published 2 October 2024
Bugfixes
- Sessions: custom SessionSerializer is no longer supported (KTOR-7442)
- Multipart/form-data: Request timeout when receiving FileItem with 3.0.0-rc-1 (KTOR-7484)
- MultiPartData.readPart does not return null when stream ends (KTOR-7500)
- Multipart/form-data: Form limit applied for binary and file items (KTOR-7356)
... (truncated)
Commits
6d55f8b
Add changelog for Ktor 3.0.0 (#4390)c2715b5
Update dependency io.mockk:mockk to v1.13.13 (#4385)eb4f0a5
Release 3.0.0 (#4383)02d1043
Update tomcat to v9.0.96 (#4378)89a3bbc
KTOR-6963 Fix darwin maxFrameSize option (#4374)1c98f87
Update dependency gg.jte:jte to v3.1.13 (#4382)4d5ca8c
KTOR-7548 Introduce Flow API for multi-part2b67b7b
Fix build error (#4380)9f663af
KTOR-7543 Fix a couple backwards compatibility issues in 3.0 (#4377)f64f733
Change version to 3.0.0-SNAPSHOT (#4376)- Additional commits viewable in compare view
Updates io.ktor:ktor-client-content-negotiation
from 2.3.12 to 3.0.0
Release notes
Sourced from io.ktor:ktor-client-content-negotiation's releases.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (KTOR-7255)
- ConnectionUtilsNative leaks descriptors on error (KTOR-6977)
- withTimeout doesn't cancel socket connection on native (KTOR-5289)
- MockEngine: the ability to set dispatcher is removed (KTOR-6417)
Improvements
- Misleading
readBytes
method name (KTOR-6596)- Remove reflection utils used only on JVM target from common source set (KTOR-7540)
- Weak security algorithm (MD5) in FileCacheStorage (KTOR-6589)
- Missing constants for AcceptEncoding (KTOR-6412)
- Add
respondFile
overload withPath
parameters (KTOR-7202)- MalformedInputException confusingly is a Throwable but not an Exception (KTOR-7316)
- CSRF: The allowOrigin method enables the Origin Header validation (KTOR-6695)
- Auth: Drop marker interface requirements (KTOR-7323)
- Routing: Support accessing the request body in RouteSelector (KTOR-7084)
- Make Cookie class Serializable (KTOR-6258)
- Make the internal Route.swaggerUI method public (KTOR-6491)
- Ktor clients and servers should use Dispatchers.IO.limitedParallelism(...) wherever possible (KTOR-6462)
Features
- Support androidNative targets (KTOR-7289)
- Provide the API that simplifies disabling CORS for testing purposes (KTOR-3329)
- Add support for mingw to ktor-network in order to make server and client work on windows (KTOR-4080)
3.0.0-rc-2
Published 2 October 2024
Bugfixes
- Sessions: custom SessionSerializer is no longer supported (KTOR-7442)
- Multipart/form-data: Request timeout when receiving FileItem with 3.0.0-rc-1 (KTOR-7484)
- MultiPartData.readPart does not return null when stream ends (KTOR-7500)
- Multipart/form-data: Form limit applied for binary and file items (KTOR-7356)
... (truncated)
Changelog
Sourced from io.ktor:ktor-client-content-negotiation's changelog.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (KTOR-7255)
- ConnectionUtilsNative leaks descriptors on error (KTOR-6977)
- withTimeout doesn't cancel socket connection on native (KTOR-5289)
- MockEngine: the ability to set dispatcher is removed (KTOR-6417)
Improvements
- Misleading
readBytes
method name (KTOR-6596)- Remove reflection utils used only on JVM target from common source set (KTOR-7540)
- Weak security algorithm (MD5) in FileCacheStorage (KTOR-6589)
- Missing constants for AcceptEncoding (KTOR-6412)
- Add
respondFile
overload withPath
parameters (KTOR-7202)- MalformedInputException confusingly is a Throwable but not an Exception (KTOR-7316)
- CSRF: The allowOrigin method enables the Origin Header validation (KTOR-6695)
- Auth: Drop marker interface requirements (KTOR-7323)
- Routing: Support accessing the request body in RouteSelector (KTOR-7084)
- Make Cookie class Serializable (KTOR-6258)
- Make the internal Route.swaggerUI method public (KTOR-6491)
- Ktor clients and servers should use Dispatchers.IO.limitedParallelism(...) wherever possible (KTOR-6462)
Features
- Support androidNative targets (KTOR-7289)
- Provide the API that simplifies disabling CORS for testing purposes (KTOR-3329)
- Add support for mingw to ktor-network in order to make server and client work on windows (KTOR-4080)
3.0.0-rc-2
Published 2 October 2024
Bugfixes
- Sessions: custom SessionSerializer is no longer supported (KTOR-7442)
- Multipart/form-data: Request timeout when receiving FileItem with 3.0.0-rc-1 (KTOR-7484)
- MultiPartData.readPart does not return null when stream ends (KTOR-7500)
- Multipart/form-data: Form limit applied for binary and file items (KTOR-7356)
... (truncated)
Commits
6d55f8b
Add changelog for Ktor 3.0.0 (#4390)c2715b5
Update dependency io.mockk:mockk to v1.13.13 (#4385)eb4f0a5
Release 3.0.0 (#4383)02d1043
Update tomcat to v9.0.96 (#4378)89a3bbc
KTOR-6963 Fix darwin maxFrameSize option (#4374)1c98f87
Update dependency gg.jte:jte to v3.1.13 (#4382)4d5ca8c
KTOR-7548 Introduce Flow API for multi-part2b67b7b
Fix build error (#4380)9f663af
KTOR-7543 Fix a couple backwards compatibility issues in 3.0 (#4377)f64f733
Change version to 3.0.0-SNAPSHOT (#4376)- Additional commits viewable in compare view
Updates io.ktor:ktor-client-core-jvm
from 2.3.12 to 3.0.0
Release notes
Sourced from io.ktor:ktor-client-core-jvm's releases.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (KTOR-7255)
- ConnectionUtilsNative leaks descriptors on error (KTOR-6977)
- withTimeout doesn't cancel socket connection on native (KTOR-5289)
- MockEngine: the ability to set dispatcher is removed (KTOR-6417)
Improvements
- Misleading
readBytes
method name (KTOR-6596)- Remove reflection utils used only on JVM target from common source set (KTOR-7540)
- Weak security algorithm (MD5) in FileCacheStorage (KTOR-6589)
- Missing constants for AcceptEncoding (KTOR-6412)
- Add
respondFile
overload withPath
parameters (KTOR-7202)- MalformedInputException confusingly is a Throwable but not an Exception (KTOR-7316)
- CSRF: The allowOrigin method enables the Origin Header validation (KTOR-6695)
- Auth: Drop marker interface requirements (KTOR-7323)
- Routing: Support accessing the request body in RouteSelector (KTOR-7084)
- Make Cookie class Serializable (KTOR-6258)
- Make the internal Route.swaggerUI method public (KTOR-6491)
- Ktor clients and servers should use Dispatchers.IO.limitedParallelism(...) wherever possible (KTOR-6462)
Features
- Support androidNative targets (KTOR-7289)
- Provide the API that simplifies disabling CORS for testing purposes (KTOR-3329)
- Add support for mingw to ktor-network in order to make server and client work on windows (KTOR-4080)
3.0.0-rc-2
Published 2 October 2024
Bugfixes
- Sessions: custom SessionSerializer is no longer supported (KTOR-7442)
- Multipart/form-data: Request timeout when receiving FileItem with 3.0.0-rc-1 (KTOR-7484)
- MultiPartData.readPart does not return null when stream ends (KTOR-7500)
- Multipart/form-data: Form limit applied for binary and file items (KTOR-7356)
... (truncated)
Changelog
Sourced from io.ktor:ktor-client-core-jvm's changelog.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (KTOR-7255)
- ConnectionUtilsNative leaks descriptors on error (KTOR-6977)
- withTimeout doesn't cancel socket connection on native (KTOR-5289)
- MockEngine: the ability to set dispatcher is removed (KTOR-6417)
Improvements
- Misleading
readBytes
method name (KTOR-6596)- Remove reflection utils used only on JVM target from common source set (KTOR-7540)
- Weak security algorithm (MD5) in FileCacheStorage (KTOR-6589)
- Missing constants for AcceptEncoding (KTOR-6412)
- Add
respondFile
overload withPath
parameters (KTOR-7202)- MalformedInputException confusingly is a Throwable but not an Exception (KTOR-7316)
- CSRF: The allowOrigin method enables the Origin Header validation (KTOR-6695)
- Auth: Drop marker interface requirements (KTOR-7323)
- Routing: Support accessing the request body in RouteSelector (KTOR-7084)
- Make Cookie class Serializable (KTOR-6258)
- Make the internal Route.swaggerUI method public (KTOR-6491)
- Ktor clients and servers should use Dispatchers.IO.limitedParallelism(...) wherever possible (KTOR-6462)
Features
- Support androidNative targets (KTOR-7289)
- Provide the API that simplifies disabling CORS for testing purposes (KTOR-3329)
- Add support for mingw to ktor-network in order to make server and client work on windows (KTOR-4080)
3.0.0-rc-2
Published 2 October 2024
Bugfixes
- Sessions: custom SessionSerializer is no longer supported (KTOR-7442)
- Multipart/form-data: Request timeout when receiving FileItem with 3.0.0-rc-1 (KTOR-7484)
- MultiPartData.readPart does not return null when stream ends (KTOR-7500)
- Multipart/form-data: Form limit applied for binary and file items (KTOR-7356)
... (truncated)
Commits
6d55f8b
Add changelog for Ktor 3.0.0 (#4390)c2715b5
Update dependency io.mockk:mockk to v1.13.13 (#4385)eb4f0a5
Release 3.0.0 (#4383)02d1043
Update tomcat to v9.0.96 (#4378)89a3bbc
KTOR-6963 Fix darwin maxFrameSize option (#4374)1c98f87
Update dependency gg.jte:jte to v3.1.13 (#4382)4d5ca8c
KTOR-7548 Introduce Flow API for multi-part2b67b7b
Fix build error (#4380)9f663af
KTOR-7543 Fix a couple backwards compatibility issues in 3.0 (#4377)f64f733
Change version to 3.0.0-SNAPSHOT (#4376)- Additional commits viewable in compare view
Updates io.ktor:ktor-serialization-gson-jvm
from 2.3.12 to 3.0.0
Release notes
Sourced from io.ktor:ktor-serialization-gson-jvm's releases.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (KTOR-7255)
- ConnectionUtilsNative leaks descriptors on error (KTOR-6977)
- withTimeout doesn't cancel socket connection on native (KTOR-5289)
- MockEngine: the ability to set dispatcher is removed (KTOR-6417)
Improvements
- Misleading
readBytes
method name (KTOR-6596)- Remove reflection utils used only on JVM target from common source set (KTOR-7540)
- Weak security algorithm (MD5) in FileCacheStorage (KTOR-6589)
- Missing constants for AcceptEncoding (KTOR-6412)
- Add
respondFile
overload withPath
parameters (KTOR-7202)- MalformedInputException confusingly is a Throwable but not an Exception (KTOR-7316)
- CSRF: The allowOrigin method enables the Origin Header validation (KTOR-6695)
- Auth: Drop marker interface requirements (KTOR-7323)
- Routing: Support accessing the request body in RouteSelector (KTOR-7084)
- Make Cookie class Serializable (KTOR-6258)
- Make the internal Route.swaggerUI method public (KTOR-6491)
- Ktor clients and servers should use Dispatchers.IO.limitedParallelism(...) wherever possible (KTOR-6462)
Features
- Support androidNative targets (KTOR-7289)
- Provide the API that simplifies disabling CORS for testing purposes (KTOR-3329)
- Add support for mingw to ktor-network in order to make server and client work on windows (KTOR-4080)
3.0.0-rc-2
Published 2 October 2024
Bugfixes
- Sessions: custom SessionSerializer is no longer supported (KTOR-7442)
- Multipart/form-data: Request timeout when receiving FileItem with 3.0.0-rc-1 (KTOR-7484)
- MultiPartData.readPart does not return null when stream ends (KTOR-7500)
- Multipart/form-data: Form limit applied for binary and file items (KTOR-7356)
... (truncated)
Changelog
Sourced from io.ktor:ktor-serialization-gson-jvm's changelog.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (KTOR-7255)
- ConnectionUtilsNative leaks descriptors on error (KTOR-6977)
- withTimeout doesn't cancel socket connection on native (KTOR-5289)
- MockEngine: the ability to set dispatcher is removed (KTOR-6417)
Improvements
- Misleading
readBytes
method name (KTOR-6596)- Remove reflection utils used only on JVM target from common source set (KTOR-7540)
- Weak security algorithm (MD5) in FileCacheStorage (KTOR-6589)
- Missing constants for AcceptEncoding (KTOR-6412)
- Add
respondFile
overload withPath
parameters (KTOR-7202)- MalformedInputException confusingly is a Throwable but not an Exception (KTOR-7316)
- CSRF: The allowOrigin method enables the Origin Header validation (KTOR-6695)
- Auth: Drop marker interface requirements (KTOR-7323)
- Routing: Support accessing the request body in RouteSelector (KTOR-7084)
- Make Cookie class Serializable (KTOR-6258)
- Make the internal Route.swaggerUI method public (KTOR-6491)
- Ktor clients and servers should use Dispatchers.IO.limitedParallelism(...) wherever possible (KTOR-6462)
Features
- Support androidNative targets (KTOR-7289)
- Provide the API that simplifies disabling CORS for testing purposes (KTOR-3329)
- Add support for mingw to ktor-network in order to make server and client work on windows (KTOR-4080)
3.0.0-rc-2
Published 2 October 2024
Bugfixes
- Sessions: custom SessionSerializer is no longer supported (KTOR-7442)
- Multipart/form-data: Request timeout when receiving FileItem with 3.0.0-rc-1 (KTOR-7484)
- MultiPartData.readPart does not return null when stream ends (KTOR-7500)
- Multipart/form-data: Form limit applied for binary and file items (KTOR-7356)
... (truncated)
Commits
6d55f8b
Add changelog for Ktor 3.0.0 (#4390)c2715b5
Update dependency io.mockk:mockk to v1.13.13 (#4385)eb4f0a5
Release 3.0.0 (#4383)02d1043
Update tomcat to v9.0.96 (#4378)89a3bbc
KTOR-6963 Fix darwin maxFrameSize option (#4374)1c98f87
Update dependency gg.jte:jte to v3.1.13 (#4382)4d5ca8c
KTOR-7548 Introduce Flow API for multi-part2b67b7b
Fix build error (#4380)9f663af
KTOR-7543 Fix a couple backwards compatibility issues in 3.0 (#4377)f64f733
Change version to 3.0.0-SNAPSHOT (#4376)- Additional commits viewable in compare view
Updates io.ktor:ktor-server-cio-jvm
from 2.3.12 to 3.0.0
Release notes
Sourced from io.ktor:ktor-server-cio-jvm's releases.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (KTOR-7255)
- ConnectionUtilsNative leaks descriptors on error (KTOR-6977)
- withTimeout doesn't cancel socket connection on native (KTOR-5289)
- MockEngine: the ability to set dispatcher is removed (KTOR-6417)
Improvements
- Misleading
readBytes
method name (KTOR-6596)- Remove reflection utils used only on JVM target from common source set (KTOR-7540)
- Weak security algorithm (MD5) in FileCacheStorage (KTOR-6589)
- Missing constants for AcceptEncoding (KTOR-6412)
- Add
respondFile
overload withPath
parameters (KTOR-7202)- MalformedInputException confusingly is a Throwable but not an Exception (KTOR-7316)
- CSRF: The allowOrigin method enables the Origin Header validation (KTOR-6695)
- Auth: Drop marker interface requirements (KTOR-7323)
- Routing: Support accessing the request body in RouteSelector (KTOR-7084)
- Make Cookie class Serializable (KTOR-6258)
- Make the internal Route.swaggerUI method public (KTOR-6491)
- Ktor clients and servers should use Dispatchers.IO.limitedParallelism(...) wherever possible (KTOR-6462)
Features
- Support androidNative targets (KTOR-7289)
- Provide the API that simplifies disabling CORS for testing purposes (KTOR-3329)
- Add support for mingw to ktor-network in order to make server and client work on windows (KTOR-4080)
3.0.0-rc-2
Published 2 October 2024
Bugfixes
- Sessions: custom SessionSerializer is no longer supported (KTOR-7442)
- Multipart/form-data: Request timeout when receiving FileItem with 3.0.0-rc-1 (KTOR-7484)
- MultiPartData.readPart does not return null when stream ends (KTOR-7500)
- Multipart/form-data: Form limit applied for binary and file items (KTOR-7356)
... (truncated)
Changelog
Sourced from io.ktor:ktor-server-cio-jvm's changelog.
3.0.0
Published 9 October 2024
Bugfixes
- Darwin: The
maxFrameSize
option has no effect (KTOR-6963)- KotlinReflectionInternalError (createClientPlugin) when running release APK on Android (KTOR-7479)
- Netty: UnsupportedOperationException is thrown when responding in CallSetup and CORS plugin is installed (KTOR-4433)
- MicrometerMetrics: Prometheus meter registry 1.13.0 generates configuration warning (KTOR-7035)
- Websockets/Auth: ProtocolException when requesting protected WebSockets endpoint (KTOR-7363)
- Data truncated in receiveParameters and receiveMultipart (KTOR-7201)
- The
pathSegments
returns empty strings for trailing slashes (KTOR-4402)- HttpRequestRetry: exponential delay doesn't work for delays <= 1 second (KTOR-7294)
- JS browser: "Error: HttpClientCall expected" on HTTP request when targeting es2015 (KTOR-6882)
- Incomplete write using io.ktor.util.cio.FileChannelsKt#writeChannel (KTOR-1618)
response.content.copyAndClose(targetFile.writeChannel())
sometimes loses some bytes (KTOR-3003)- ByteWriteChannel.flush is not Waiting Until Flushing the Internal Buffer to the Destination (KTOR-3102)
- CORS check fails when the Origin header has a value without trailing slash (KTOR-5936)
- Closing socket and selector leaks descriptor on native (Description%20has%20been%20truncated%0A" rel="nofollow" target="_blank" >