Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ktor from 2.0.0-beta-1 to 2.2.4 #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 13, 2023

Bumps ktor from 2.0.0-beta-1 to 2.2.4.
Updates io.ktor:ktor-client-core from 2.0.0-beta-1 to 2.2.4

Release notes

Sourced from io.ktor:ktor-client-core's releases.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)

... (truncated)

Changelog

Sourced from io.ktor:ktor-client-core's changelog.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)
  • Gzip encoding: IllegalStateException: Expected 112, actual 113 (KTOR-5300)

... (truncated)

Commits
  • 0132c94 Add changelog for 2.2.4 release (#3422)
  • 589678d Release 2.2.4 (#3421)
  • 32c1888 KTOR-5466 Connect timeout is not respected when using the HttpRequestRetry pl...
  • c9327e7 KTOR-5591 Fix takeFrom(URL) method with underscore in host (#3417)
  • 5ba3db9 KTOR-5535 Use the longest successful routing trait on mismatch (#3416)
  • bee452e KTOR-5510 Fix isSent when content is ReadChannelContent (#3399)
  • fb161cd KTOR-5492 Fix broken JavaDoc for client and server Resources.kt (#3395)
  • 4431d95 KTOR-3799 Add charset only for text/* content types (#3370)
  • 9be89d7 KTOR-5448 Unmute legit SerializationException (#3393)
  • 5600a07 KTOR-5518 Fix Exception type for OkHttp channel adapter (#3394)
  • Additional commits viewable in compare view

Updates io.ktor:ktor-client-ios from 2.0.0-beta-1 to 2.2.4

Release notes

Sourced from io.ktor:ktor-client-ios's releases.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)

... (truncated)

Changelog

Sourced from io.ktor:ktor-client-ios's changelog.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)
  • Gzip encoding: IllegalStateException: Expected 112, actual 113 (KTOR-5300)

... (truncated)

Commits
  • 0132c94 Add changelog for 2.2.4 release (#3422)
  • 589678d Release 2.2.4 (#3421)
  • 32c1888 KTOR-5466 Connect timeout is not respected when using the HttpRequestRetry pl...
  • c9327e7 KTOR-5591 Fix takeFrom(URL) method with underscore in host (#3417)
  • 5ba3db9 KTOR-5535 Use the longest successful routing trait on mismatch (#3416)
  • bee452e KTOR-5510 Fix isSent when content is ReadChannelContent (#3399)
  • fb161cd KTOR-5492 Fix broken JavaDoc for client and server Resources.kt (#3395)
  • 4431d95 KTOR-3799 Add charset only for text/* content types (#3370)
  • 9be89d7 KTOR-5448 Unmute legit SerializationException (#3393)
  • 5600a07 KTOR-5518 Fix Exception type for OkHttp channel adapter (#3394)
  • Additional commits viewable in compare view

Updates io.ktor:ktor-client-logging from 2.0.0-beta-1 to 2.2.4

Release notes

Sourced from io.ktor:ktor-client-logging's releases.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)

... (truncated)

Changelog

Sourced from io.ktor:ktor-client-logging's changelog.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)
  • Gzip encoding: IllegalStateException: Expected 112, actual 113 (KTOR-5300)

... (truncated)

Commits
  • 0132c94 Add changelog for 2.2.4 release (#3422)
  • 589678d Release 2.2.4 (#3421)
  • 32c1888 KTOR-5466 Connect timeout is not respected when using the HttpRequestRetry pl...
  • c9327e7 KTOR-5591 Fix takeFrom(URL) method with underscore in host (#3417)
  • 5ba3db9 KTOR-5535 Use the longest successful routing trait on mismatch (#3416)
  • bee452e KTOR-5510 Fix isSent when content is ReadChannelContent (#3399)
  • fb161cd KTOR-5492 Fix broken JavaDoc for client and server Resources.kt (#3395)
  • 4431d95 KTOR-3799 Add charset only for text/* content types (#3370)
  • 9be89d7 KTOR-5448 Unmute legit SerializationException (#3393)
  • 5600a07 KTOR-5518 Fix Exception type for OkHttp channel adapter (#3394)
  • Additional commits viewable in compare view

Updates io.ktor:ktor-client-okhttp from 2.0.0-beta-1 to 2.2.4

Release notes

Sourced from io.ktor:ktor-client-okhttp's releases.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)

... (truncated)

Changelog

Sourced from io.ktor:ktor-client-okhttp's changelog.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)
  • Gzip encoding: IllegalStateException: Expected 112, actual 113 (KTOR-5300)

... (truncated)

Commits
  • 0132c94 Add changelog for 2.2.4 release (#3422)
  • 589678d Release 2.2.4 (#3421)
  • 32c1888 KTOR-5466 Connect timeout is not respected when using the HttpRequestRetry pl...
  • c9327e7 KTOR-5591 Fix takeFrom(URL) method with underscore in host (#3417)
  • 5ba3db9 KTOR-5535 Use the longest successful routing trait on mismatch (#3416)
  • bee452e KTOR-5510 Fix isSent when content is ReadChannelContent (#3399)
  • fb161cd KTOR-5492 Fix broken JavaDoc for client and server Resources.kt (#3395)
  • 4431d95 KTOR-3799 Add charset only for text/* content types (#3370)
  • 9be89d7 KTOR-5448 Unmute legit SerializationException (#3393)
  • 5600a07 KTOR-5518 Fix Exception type for OkHttp channel adapter (#3394)
  • Additional commits viewable in compare view

Updates io.ktor:ktor-serialization-kotlinx-json from 2.0.0-beta-1 to 2.2.4

Release notes

Sourced from io.ktor:ktor-serialization-kotlinx-json's releases.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)

... (truncated)

Changelog

Sourced from io.ktor:ktor-serialization-kotlinx-json's changelog.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAlive (KTOR-5370)
  • HOCON: CLI parameters don't override custom array properties since 2.1.0 (KTOR-5100)

2.2.2

Published 3 January 2023

Improvements

  • Resource annotation should be MetaSerializable (KTOR-5397)
  • The swaggerUI method is too restrictive and cannot be called inside a route (KTOR-5307)
  • Engine shutdown grace period and timeout are not configurable (KTOR-5359)
  • Allow specifying immutable in CacheControl (KTOR-3757)

Bugfixes

  • Server cannot be started with the Swagger plugin (KTOR-5308)
  • Regression in 2.2.1: Got EOF but at least 0 bytes were expected (5372)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • iOS unit test deadlocks with DarwinClientEngine (KTOR-5332)
  • Gzip encoding: IllegalStateException: Expected 112, actual 113 (KTOR-5300)

... (truncated)

Commits
  • 0132c94 Add changelog for 2.2.4 release (#3422)
  • 589678d Release 2.2.4 (#3421)
  • 32c1888 KTOR-5466 Connect timeout is not respected when using the HttpRequestRetry pl...
  • c9327e7 KTOR-5591 Fix takeFrom(URL) method with underscore in host (#3417)
  • 5ba3db9 KTOR-5535 Use the longest successful routing trait on mismatch (#3416)
  • bee452e KTOR-5510 Fix isSent when content is ReadChannelContent (#3399)
  • fb161cd KTOR-5492 Fix broken JavaDoc for client and server Resources.kt (#3395)
  • 4431d95 KTOR-3799 Add charset only for text/* content types (#3370)
  • 9be89d7 KTOR-5448 Unmute legit SerializationException (#3393)
  • 5600a07 KTOR-5518 Fix Exception type for OkHttp channel adapter (#3394)
  • Additional commits viewable in compare view

Updates io.ktor:ktor-client-content-negotiation from 2.0.0-beta-1 to 2.2.4

Release notes

Sourced from io.ktor:ktor-client-content-negotiation's releases.

2.2.4

Published 28 February 2023

Bugfixes

  • Connect timeout is not respected when using the HttpRequestRetry plugin (KTOR-5466)
  • URLs with underscore fail to parse correctly in HTTP client request (KTOR-5591)
  • Routing: Wrong content-type results in 405 instead of 415 status code with two routes (KTOR-5535)
  • Compressing the response will result in unexpected ERROR log output after processing in the StatusPages (KTOR-5510)
  • Javadoc for Resources.kt cannot be compiled (KTOR-5492)
  • ContentNegotiation: The "charset=UTF-8" part is added for the Content-Type header (KTOR-3799)
  • kotlinx.serialization.SerializationException is lost for the classes that have generic type parameters (KTOR-5448)
  • OkHttp: Cancelling while writing to ByteWriteChannel when overriding WriteChannelContent causes propagation of CancellationException to a caller (KTOR-5518)

2.2.3

Published 31 January 2023

Improvements

  • ContentNegotiation: "Skipping because the type is ignored" log message is unclear (KTOR-5479)
  • Make OAuth2 functionality multiplatform (KTOR-1144)
  • Log HTTP request time (KTOR-1250)
  • Add Client Plugins Trace Logging (KTOR-5264)

Bugfixes

  • FileStorage throws java.io.FileNotFoundException (File name too long) when request path is long (KTOR-5443)
  • HttpRequestRetry retries on FileNotFoundException thrown by FileStorage (KTOR-5444)
  • DropwizardMetricsPlugin logs status code incorrectly when is used together with StatusPages plugin (KTOR-5420)
  • Server ContentNegotiation no longer allows multiple decoders for one Content-Type (KTOR-5410)
  • Multipart File doesn't upload whole file, throws "Unexpected EOF: expected 4096 more bytes" for larger files (KTOR-3455)
  • Netty: Unable to set the tcpKeepAliveDescription has been truncated

Bumps `ktor` from 2.0.0-beta-1 to 2.2.4.

Updates `io.ktor:ktor-client-core` from 2.0.0-beta-1 to 2.2.4
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](ktorio/ktor@2.0.0-beta-1...2.2.4)

Updates `io.ktor:ktor-client-ios` from 2.0.0-beta-1 to 2.2.4
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](ktorio/ktor@2.0.0-beta-1...2.2.4)

Updates `io.ktor:ktor-client-logging` from 2.0.0-beta-1 to 2.2.4
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](ktorio/ktor@2.0.0-beta-1...2.2.4)

Updates `io.ktor:ktor-client-okhttp` from 2.0.0-beta-1 to 2.2.4
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](ktorio/ktor@2.0.0-beta-1...2.2.4)

Updates `io.ktor:ktor-serialization-kotlinx-json` from 2.0.0-beta-1 to 2.2.4
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](ktorio/ktor@2.0.0-beta-1...2.2.4)

Updates `io.ktor:ktor-client-content-negotiation` from 2.0.0-beta-1 to 2.2.4
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](ktorio/ktor@2.0.0-beta-1...2.2.4)

Updates `io.ktor:ktor-client-mock` from 2.0.0-beta-1 to 2.2.4
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](ktorio/ktor@2.0.0-beta-1...2.2.4)

---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.ktor:ktor-client-ios
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.ktor:ktor-client-logging
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.ktor:ktor-client-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.ktor:ktor-serialization-kotlinx-json
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.ktor:ktor-client-content-negotiation
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.ktor:ktor-client-mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from seljabali as a code owner March 13, 2023 19:01
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Development

Successfully merging this pull request may close these issues.

None yet

0 participants