dcampogiani / ktmp

Kotlin Multi Platform experiments
6 stars 1 forks source link

build(deps): bump ktorVer from 1.6.8 to 2.1.0 #156

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps ktorVer from 1.6.8 to 2.1.0. Updates ktor-client-core from 1.6.8 to 2.1.0

Release notes

Sourced from ktor-client-core's releases.

2.0.3

Published 28 June 2022

  • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
  • Validate that the body of an incoming request is received completely (KTOR-4379)
  • UrlBuilder escapes fragment parameters (KTOR-4412)
  • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
  • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
  • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
  • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
  • CIO: Websockets request doesn't include query parameters (KTOR-4390)
  • Ignore SIGPIPE for server sockets (KTOR-4474)
  • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
  • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
  • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
  • Non-decipherable exception "No result transformation found" (KTOR-4287)
  • Unable to set the Content-Type header in a request (KTOR-620)
  • Update kotlinx.coroutines to 1.6.2 (KTOR-4451)
  • Support the HttpTimeout capability in the DelegatingTestClientEngine (KTOR-4436)
  • Limit the number of parallel running requests in Netty (KTOR-4575)
  • Resources plugin fails to process parameters of type UShort (KTOR-4424)
  • Resources plugin doesn't respect default values for Enum (KTOR-4411)
  • Invalid request line produced by CIO engine for URL with parameters and without path (KTOR-4347)
  • call.receiveText() tries to parse body as JSON when the ContentNegotiation plugin is installed (KTOR-4426)
  • Ignore ByteReadChannel as receive type in ContentNegotiation (KTOR-4511)
  • Setting body to TextContent leads to NPE when the ContentNegotiation plugin is installed (KTOR-4383)
  • submitFormWithBinaryData call leads to NPE when the ContentNegotiation plugin is installed (KTOR-4269)
  • ResponseConverter NPE when returning ByteArray with the ContentNegotiation plugin (KTOR-4399)

2.0.2

Published 27 May 2022

  • [iOS] Prevent HttpClient from persisting cookies across requests (KTOR-3748)
  • Web feedback from "Creating HTTP APIs", https://ktor.io/docs/creating-http-apis.html (KTOR-4380)
  • When returning a String, content negotiation is ignored (KTOR-662)
  • HttpResponse.bodyAsChannel should not be converted by ContentNegotiation (KTOR-4341)
  • Strings are not decoded when received as application/json (KTOR-385)
  • Document how to enable/disable HTTP/2 for different client engines (KTOR-4340)
  • Revert Dokka to 1.6.10 due to Publication Freeze (KTOR-4290)
  • Document a new memory model in KMM tutorial (KTOR-4354)
  • Make client docs less JVM-centric (KTOR-4351)
  • Darwin engine: Client connection is closed after each request (KTOR-4145)
  • Ios: NullPointerException when query parameters contain cyrillic symbols in values (KTOR-1858)
  • A native application with the Darwin engine doesn't make a request (KTOR-3900)
  • Darwin and Kotlin/JS: "List has more than one element" error when header like Content-type is duplicated in a response (KTOR-4105)
  • Invalid response without error (KTOR-369)
  • Invalid HTTP version should fail (KTOR-380)
  • The colon after the host parameter requires a port (KTOR-382)
  • Kotlin/Native: testApplication's client sometimes fails to receive ByteArray response from a route (KTOR-4197)
  • "Application started" is never printed (KTOR-4319)

... (truncated)

Changelog

Sourced from ktor-client-core's changelog.

2.1.0

Published 11 August 2022

  • Add YAML Configuration Format Support (KTOR-3572)
  • Allow overriding HSTS settings per host (KTOR-4578)
  • CORS: Pattern matching for origin (KTOR-316)
  • Darwin: Allow setting custom NSURLSession (KTOR-583)
  • Support setting caching options on call (KTOR-457)
  • Revert default behavior of string encoding for ContentNegotiation and JsonPlugin (KTOR-4739)
  • Make Content-Length header validation optional (KTOR-4655)
  • Client resources plugin miss builders for PATCH method (KTOR-4658)
  • The awaitSuspend method wakes up early in closed ByteChannelSequential (KTOR-4597)
  • HttpCache plugin does not support max-stale directive (KTOR-4610)
  • Incoming request body validation (KTOR-503)
  • Client does not support sending or receiving json null value (KTOR-745)
  • Jetty: Content Length exception when body size is greater than 4096 bytes (KTOR-4622)
  • Darwin: configureRequest doesn't actually configure a NSMutableURLRequest when HTTP request is made (KTOR-4719)
  • OAuth2: Allow sending extra parameters for authorization and access token requests (KTOR-2128)
  • Java engine: Allow configuring HTTP version (KTOR-4609)
  • ContentEncoding: body<ByteArray>() receives truncated array (KTOR-4653)
  • Support configuring Netty codec limits via application config (KTOR-4636)
  • [OkHttp] StreamRequestBody should override isOneShot or allow multiple reads of request body (KTOR-4637)
  • OverridingClassLoader fails to delegate to parent for resources (KTOR-4004)
  • OkHttp and iOS: request with only-if-cache directive in Cache-Control header fails with 504 when match is stale (KTOR-4127)
  • Allow Pebble to use Accepted Language header for built-in i18n support (KTOR-4593)
  • Test engine can't handle concurrent requests (KTOR-4572)
  • Parameters of cloned UrlBuilder affect parameters of an original builder (KTOR-4573)
  • Reified type causes ApplicationCall.receive() throw UnsupportedOperationException (KTOR-3715)
  • ApplicationConfig lacks the ability to export a part of the config to a third-party library (KTOR-4416)
  • Path parameter doesn't get encoded in type safe requests (KTOR-3953)
  • Update Kotlin to 1.7.0 (KTOR-4450)
  • Bump jteVersion from 2.0.3 to 2.1.2 (KTOR-4648)

2.0.3

Published 28 June 2022

  • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
  • Validate that the body of an incoming request is received completely (KTOR-4379)
  • UrlBuilder escapes fragment parameters (KTOR-4412)
  • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
  • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
  • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
  • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
  • CIO: Websockets request doesn't include query parameters (KTOR-4390)
  • Ignore SIGPIPE for server sockets (KTOR-4474)
  • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
  • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
  • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
  • Non-decipherable exception "No result transformation found" (KTOR-4287)
  • Unable to set the Content-Type header in a request (KTOR-620)

... (truncated)

Commits


Updates ktor-client-json from 1.6.8 to 2.1.0

Release notes

Sourced from ktor-client-json's releases.

2.0.3

Published 28 June 2022

  • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
  • Validate that the body of an incoming request is received completely (KTOR-4379)
  • UrlBuilder escapes fragment parameters (KTOR-4412)
  • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
  • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
  • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
  • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
  • CIO: Websockets request doesn't include query parameters (KTOR-4390)
  • Ignore SIGPIPE for server sockets (KTOR-4474)
  • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
  • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
  • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
  • Non-decipherable exception "No result transformation found" (KTOR-4287)
  • Unable to set the Content-Type header in a request (KTOR-620)
  • Update kotlinx.coroutines to 1.6.2 (KTOR-4451)
  • Support the HttpTimeout capability in the DelegatingTestClientEngine (KTOR-4436)
  • Limit the number of parallel running requests in Netty (KTOR-4575)
  • Resources plugin fails to process parameters of type UShort (KTOR-4424)
  • Resources plugin doesn't respect default values for Enum (KTOR-4411)
  • Invalid request line produced by CIO engine for URL with parameters and without path (KTOR-4347)
  • call.receiveText() tries to parse body as JSON when the ContentNegotiation plugin is installed (KTOR-4426)
  • Ignore ByteReadChannel as receive type in ContentNegotiation (KTOR-4511)
  • Setting body to TextContent leads to NPE when the ContentNegotiation plugin is installed (KTOR-4383)
  • submitFormWithBinaryData call leads to NPE when the ContentNegotiation plugin is installed (KTOR-4269)
  • ResponseConverter NPE when returning ByteArray with the ContentNegotiation plugin (KTOR-4399)

2.0.2

Published 27 May 2022

  • [iOS] Prevent HttpClient from persisting cookies across requests (KTOR-3748)
  • Web feedback from "Creating HTTP APIs", https://ktor.io/docs/creating-http-apis.html (KTOR-4380)
  • When returning a String, content negotiation is ignored (KTOR-662)
  • HttpResponse.bodyAsChannel should not be converted by ContentNegotiation (KTOR-4341)
  • Strings are not decoded when received as application/json (KTOR-385)
  • Document how to enable/disable HTTP/2 for different client engines (KTOR-4340)
  • Revert Dokka to 1.6.10 due to Publication Freeze (KTOR-4290)
  • Document a new memory model in KMM tutorial (KTOR-4354)
  • Make client docs less JVM-centric (KTOR-4351)
  • Darwin engine: Client connection is closed after each request (KTOR-4145)
  • Ios: NullPointerException when query parameters contain cyrillic symbols in values (KTOR-1858)
  • A native application with the Darwin engine doesn't make a request (KTOR-3900)
  • Darwin and Kotlin/JS: "List has more than one element" error when header like Content-type is duplicated in a response (KTOR-4105)
  • Invalid response without error (KTOR-369)
  • Invalid HTTP version should fail (KTOR-380)
  • The colon after the host parameter requires a port (KTOR-382)
  • Kotlin/Native: testApplication's client sometimes fails to receive ByteArray response from a route (KTOR-4197)
  • "Application started" is never printed (KTOR-4319)

... (truncated)

Changelog

Sourced from ktor-client-json's changelog.

2.1.0

Published 11 August 2022

  • Add YAML Configuration Format Support (KTOR-3572)
  • Allow overriding HSTS settings per host (KTOR-4578)
  • CORS: Pattern matching for origin (KTOR-316)
  • Darwin: Allow setting custom NSURLSession (KTOR-583)
  • Support setting caching options on call (KTOR-457)
  • Revert default behavior of string encoding for ContentNegotiation and JsonPlugin (KTOR-4739)
  • Make Content-Length header validation optional (KTOR-4655)
  • Client resources plugin miss builders for PATCH method (KTOR-4658)
  • The awaitSuspend method wakes up early in closed ByteChannelSequential (KTOR-4597)
  • HttpCache plugin does not support max-stale directive (KTOR-4610)
  • Incoming request body validation (KTOR-503)
  • Client does not support sending or receiving json null value (KTOR-745)
  • Jetty: Content Length exception when body size is greater than 4096 bytes (KTOR-4622)
  • Darwin: configureRequest doesn't actually configure a NSMutableURLRequest when HTTP request is made (KTOR-4719)
  • OAuth2: Allow sending extra parameters for authorization and access token requests (KTOR-2128)
  • Java engine: Allow configuring HTTP version (KTOR-4609)
  • ContentEncoding: body<ByteArray>() receives truncated array (KTOR-4653)
  • Support configuring Netty codec limits via application config (KTOR-4636)
  • [OkHttp] StreamRequestBody should override isOneShot or allow multiple reads of request body (KTOR-4637)
  • OverridingClassLoader fails to delegate to parent for resources (KTOR-4004)
  • OkHttp and iOS: request with only-if-cache directive in Cache-Control header fails with 504 when match is stale (KTOR-4127)
  • Allow Pebble to use Accepted Language header for built-in i18n support (KTOR-4593)
  • Test engine can't handle concurrent requests (KTOR-4572)
  • Parameters of cloned UrlBuilder affect parameters of an original builder (KTOR-4573)
  • Reified type causes ApplicationCall.receive() throw UnsupportedOperationException (KTOR-3715)
  • ApplicationConfig lacks the ability to export a part of the config to a third-party library (KTOR-4416)
  • Path parameter doesn't get encoded in type safe requests (KTOR-3953)
  • Update Kotlin to 1.7.0 (KTOR-4450)
  • Bump jteVersion from 2.0.3 to 2.1.2 (KTOR-4648)

2.0.3

Published 28 June 2022

  • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
  • Validate that the body of an incoming request is received completely (KTOR-4379)
  • UrlBuilder escapes fragment parameters (KTOR-4412)
  • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
  • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
  • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
  • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
  • CIO: Websockets request doesn't include query parameters (KTOR-4390)
  • Ignore SIGPIPE for server sockets (KTOR-4474)
  • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
  • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
  • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
  • Non-decipherable exception "No result transformation found" (KTOR-4287)
  • Unable to set the Content-Type header in a request (KTOR-620)

... (truncated)

Commits


Updates ktor-client-logging from 1.6.8 to 2.1.0

Release notes

Sourced from ktor-client-logging's releases.

2.0.3

Published 28 June 2022

  • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
  • Validate that the body of an incoming request is received completely (KTOR-4379)
  • UrlBuilder escapes fragment parameters (KTOR-4412)
  • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
  • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
  • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
  • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
  • CIO: Websockets request doesn't include query parameters (KTOR-4390)
  • Ignore SIGPIPE for server sockets (KTOR-4474)
  • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
  • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
  • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
  • Non-decipherable exception "No result transformation found" (KTOR-4287)
  • Unable to set the Content-Type header in a request (KTOR-620)
  • Update kotlinx.coroutines to 1.6.2 (KTOR-4451)
  • Support the HttpTimeout capability in the DelegatingTestClientEngine (KTOR-4436)
  • Limit the number of parallel running requests in Netty (KTOR-4575)
  • Resources plugin fails to process parameters of type UShort (KTOR-4424)
  • Resources plugin doesn't respect default values for Enum (KTOR-4411)
  • Invalid request line produced by CIO engine for URL with parameters and without path (KTOR-4347)
  • call.receiveText() tries to parse body as JSON when the ContentNegotiation plugin is installed (KTOR-4426)
  • Ignore ByteReadChannel as receive type in ContentNegotiation (KTOR-4511)
  • Setting body to TextContent leads to NPE when the ContentNegotiation plugin is installed (KTOR-4383)
  • submitFormWithBinaryData call leads to NPE when the ContentNegotiation plugin is installed (KTOR-4269)
  • ResponseConverter NPE when returning ByteArray with the ContentNegotiation plugin (KTOR-4399)

2.0.2

Published 27 May 2022

  • [iOS] Prevent HttpClient from persisting cookies across requests (KTOR-3748)
  • Web feedback from "Creating HTTP APIs", https://ktor.io/docs/creating-http-apis.html (KTOR-4380)
  • When returning a String, content negotiation is ignored (KTOR-662)
  • HttpResponse.bodyAsChannel should not be converted by ContentNegotiation (KTOR-4341)
  • Strings are not decoded when received as application/json (KTOR-385)
  • Document how to enable/disable HTTP/2 for different client engines (KTOR-4340)
  • Revert Dokka to 1.6.10 due to Publication Freeze (KTOR-4290)
  • Document a new memory model in KMM tutorial (KTOR-4354)
  • Make client docs less JVM-centric (KTOR-4351)
  • Darwin engine: Client connection is closed after each request (KTOR-4145)
  • Ios: NullPointerException when query parameters contain cyrillic symbols in values (KTOR-1858)
  • A native application with the Darwin engine doesn't make a request (KTOR-3900)
  • Darwin and Kotlin/JS: "List has more than one element" error when header like Content-type is duplicated in a response (KTOR-4105)
  • Invalid response without error (KTOR-369)
  • Invalid HTTP version should fail (KTOR-380)
  • The colon after the host parameter requires a port (KTOR-382)
  • Kotlin/Native: testApplication's client sometimes fails to receive ByteArray response from a route (KTOR-4197)
  • "Application started" is never printed (KTOR-4319)

... (truncated)

Changelog

Sourced from ktor-client-logging's changelog.

2.1.0

Published 11 August 2022

  • Add YAML Configuration Format Support (KTOR-3572)
  • Allow overriding HSTS settings per host (KTOR-4578)
  • CORS: Pattern matching for origin (KTOR-316)
  • Darwin: Allow setting custom NSURLSession (KTOR-583)
  • Support setting caching options on call (KTOR-457)
  • Revert default behavior of string encoding for ContentNegotiation and JsonPlugin (KTOR-4739)
  • Make Content-Length header validation optional (KTOR-4655)
  • Client resources plugin miss builders for PATCH method (KTOR-4658)
  • The awaitSuspend method wakes up early in closed ByteChannelSequential (KTOR-4597)
  • HttpCache plugin does not support max-stale directive (KTOR-4610)
  • Incoming request body validation (KTOR-503)
  • Client does not support sending or receiving json null value (KTOR-745)
  • Jetty: Content Length exception when body size is greater than 4096 bytes (KTOR-4622)
  • Darwin: configureRequest doesn't actually configure a NSMutableURLRequest when HTTP request is made (KTOR-4719)
  • OAuth2: Allow sending extra parameters for authorization and access token requests (KTOR-2128)
  • Java engine: Allow configuring HTTP version (KTOR-4609)
  • ContentEncoding: body<ByteArray>() receives truncated array (KTOR-4653)
  • Support configuring Netty codec limits via application config (KTOR-4636)
  • [OkHttp] StreamRequestBody should override isOneShot or allow multiple reads of request body (KTOR-4637)
  • OverridingClassLoader fails to delegate to parent for resources (KTOR-4004)
  • OkHttp and iOS: request with only-if-cache directive in Cache-Control header fails with 504 when match is stale (KTOR-4127)
  • Allow Pebble to use Accepted Language header for built-in i18n support (KTOR-4593)
  • Test engine can't handle concurrent requests (KTOR-4572)
  • Parameters of cloned UrlBuilder affect parameters of an original builder (KTOR-4573)
  • Reified type causes ApplicationCall.receive() throw UnsupportedOperationException (KTOR-3715)
  • ApplicationConfig lacks the ability to export a part of the config to a third-party library (KTOR-4416)
  • Path parameter doesn't get encoded in type safe requests (KTOR-3953)
  • Update Kotlin to 1.7.0 (KTOR-4450)
  • Bump jteVersion from 2.0.3 to 2.1.2 (KTOR-4648)

2.0.3

Published 28 June 2022

  • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
  • Validate that the body of an incoming request is received completely (KTOR-4379)
  • UrlBuilder escapes fragment parameters (KTOR-4412)
  • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
  • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
  • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
  • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
  • CIO: Websockets request doesn't include query parameters (KTOR-4390)
  • Ignore SIGPIPE for server sockets (KTOR-4474)
  • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
  • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
  • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
  • Non-decipherable exception "No result transformation found" (KTOR-4287)
  • Unable to set the Content-Type header in a request (KTOR-620)

... (truncated)

Commits


Updates ktor-client-serialization from 1.6.8 to 2.1.0

Release notes

Sourced from ktor-client-serialization's releases.

2.0.3

Published 28 June 2022

  • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
  • Validate that the body of an incoming request is received completely (KTOR-4379)
  • UrlBuilder escapes fragment parameters (KTOR-4412)
  • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
  • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
  • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
  • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
  • CIO: Websockets request doesn't include query parameters (KTOR-4390)
  • Ignore SIGPIPE for server sockets (KTOR-4474)
  • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
  • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
  • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
  • Non-decipherable exception "No result transformation found" (KTOR-4287)
  • Unable to set the Content-Type header in a request (KTOR-620)
  • Update kotlinx.coroutines to 1.6.2 (KTOR-4451)
  • Support the HttpTimeout capability in the DelegatingTestClientEngine (KTOR-4436)
  • Limit the number of parallel running requests in Netty (KTOR-4575)
  • Resources plugin fails to process parameters of type UShort (KTOR-4424)
  • Resources plugin doesn't respect default values for Enum (KTOR-4411)
  • Invalid request line produced by CIO engine for URL with parameters and without path (KTOR-4347)
  • call.receiveText() tries to parse body as JSON when the ContentNegotiation plugin is installed (KTOR-4426)
  • Ignore ByteReadChannel as receive type in ContentNegotiation (KTOR-4511)
  • Setting body to TextContent leads to NPE when the ContentNegotiation plugin is installed (KTOR-4383)
  • submitFormWithBinaryData call leads to NPE when the ContentNegotiation plugin is installed (KTOR-4269)
  • ResponseConverter NPE when returning ByteArray with the ContentNegotiation plugin (KTOR-4399)

2.0.2

Published 27 May 2022

  • [iOS] Prevent HttpClient from persisting cookies across requests (KTOR-3748)
  • Web feedback from "Creating HTTP APIs", https://ktor.io/docs/creating-http-apis.html (KTOR-4380)
  • When returning a String, content negotiation is ignored (KTOR-662)
  • HttpResponse.bodyAsChannel should not be converted by ContentNegotiation (KTOR-4341)
  • Strings are not decoded when received as application/json (KTOR-385)
  • Document how to enable/disable HTTP/2 for different client engines (KTOR-4340)
  • Revert Dokka to 1.6.10 due to Publication Freeze (KTOR-4290)
  • Document a new memory model in KMM tutorial (KTOR-4354)
  • Make client docs less JVM-centric (KTOR-4351)
  • Darwin engine: Client connection is closed after each request (KTOR-4145)
  • Ios: NullPointerException when query parameters contain cyrillic symbols in values (KTOR-1858)
  • A native application with the Darwin engine doesn't make a request (KTOR-3900)
  • Darwin and Kotlin/JS: "List has more than one element" error when header like Content-type is duplicated in a response (KTOR-4105)
  • Invalid response without error (KTOR-369)
  • Invalid HTTP version should fail (KTOR-380)
  • The colon after the host parameter requires a port (KTOR-382)
  • Kotlin/Native: testApplication's client sometimes fails to receive ByteArray response from a route (KTOR-4197)
  • "Application started" is never printed (KTOR-4319)

... (truncated)

Changelog

Sourced from ktor-client-serialization's changelog.

2.1.0

Published 11 August 2022

  • Add YAML Configuration Format Support (KTOR-3572)
  • Allow overriding HSTS settings per host (KTOR-4578)
  • CORS: Pattern matching for origin (KTOR-316)
  • Darwin: Allow setting custom NSURLSession (KTOR-583)
  • Support setting caching options on call (KTOR-457)
  • Revert default behavior of string encoding for ContentNegotiation and JsonPlugin (KTOR-4739)
  • Make Content-Length header validation optional (KTOR-4655)
  • Client resources plugin miss builders for PATCH method (KTOR-4658)
  • The awaitSuspend method wakes up early in closed ByteChannelSequential (KTOR-4597)
  • HttpCache plugin does not support max-stale directive (KTOR-4610)
  • Incoming request body validation (KTOR-503)
  • Client does not support sending or receiving json null value (KTOR-745)
  • Jetty: Content Length exception when body size is greater than 4096 bytes (KTOR-4622)
  • Darwin: configureRequest doesn't actually configure a NSMutableURLRequest when HTTP request is made (KTOR-4719)
  • OAuth2: Allow sending extra parameters for authorization and access token requests (KTOR-2128)
  • Java engine: Allow configuring HTTP version (KTOR-4609)
  • ContentEncoding: body<ByteArray>() receives truncated array (KTOR-4653)
  • Support configuring Netty codec limits via application config (KTOR-4636)
  • [OkHttp] StreamRequestBody should override isOneShot or allow multiple reads of request body (KTOR-4637)
  • OverridingClassLoader fails to delegate to parent for resources (KTOR-4004)
  • OkHttp and iOS: request with only-if-cache directive in Cache-Control header fails with 504 when match is stale (KTOR-4127)
  • Allow Pebble to use Accepted Language header for built-in i18n support (KTOR-4593)
  • Test engine can't handle concurrent requests (KTOR-4572)
  • Parameters of cloned UrlBuilder affect parameters of an original builder (KTOR-4573)
  • Reified type causes ApplicationCall.receive() throw UnsupportedOperationException (KTOR-3715)
  • ApplicationConfig lacks the ability to export a part of the config to a third-party library (KTOR-4416)
  • Path parameter doesn't get encoded in type safe requests (KTOR-3953)
  • Update Kotlin to 1.7.0 (KTOR-4450)
  • Bump jteVersion from 2.0.3 to 2.1.2 (KTOR-4648)

2.0.3

Published 28 June 2022

  • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
  • Validate that the body of an incoming request is received completely (KTOR-4379)
  • UrlBuilder escapes fragment parameters (KTOR-4412)
  • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
  • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
  • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
  • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
  • CIO: Websockets request doesn't include query parameters (KTOR-4390)
  • Ignore SIGPIPE for server sockets (KTOR-4474)
  • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
  • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
  • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
  • Non-decipherable exception "No result transformation found" (KTOR-4287)
  • Unable to set the Content-Type header in a request (KTOR-620)

... (truncated)

Commits


Updates ktor-client-android from 1.6.8 to 2.1.0

Release notes

Sourced from ktor-client-android's releases.

2.0.3

Published 28 June 2022

  • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
  • Validate that the body of an incoming request is received completely (KTOR-4379)
  • UrlBuilder escapes fragment parameters (KTOR-4412)
  • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
  • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
  • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
  • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
  • CIO: Websockets request doesn't include query parameters (KTOR-4390)
  • Ignore SIGPIPE for server sockets (KTOR-4474)
  • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
  • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
  • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
  • Non-decipherable exception "No result transformation found" (KTOR-4287)
  • Unable to set the Content-Type header in a request (KTOR-620)
  • Update kotlinx.coroutines to 1.6.2 (KTOR-4451)
  • Support the HttpTimeout capability in the DelegatingTestClientEngine (KTOR-4436)
  • Limit the number of parallel running requests in Netty (KTOR-4575)
  • Resources plugin fails to process parameters of type UShort (KTOR-4424)
  • Resources plugin doesn't respect default values for Enum (KTOR-4411)
  • Invalid request line produced by CIO engine for URL with parameters and without path (KTOR-4347)
  • call.receiveText() tries to parse body as JSON when the ContentNegotiation plugin is installed (KTOR-4426)
  • Ignore ByteReadChannel as receive type in ContentNegotiation (KTOR-4511)
  • Setting body to TextContent leads to NPE when the ContentNegotiation plugin is installed (KTOR-4383)
  • submitFormWithBinaryData call leads to NPE when the ContentNegotiation plugin is installed (KTOR-4269)
  • ResponseConverter NPE when returning ByteArray with the ContentNegotiation plugin (KTOR-4399)

2.0.2

Published 27 May 2022

  • [iOS] Prevent HttpClient from persisting cookies across requests (KTOR-3748)
  • Web feedback from "Creating HTTP APIs", https://ktor.io/docs/creating-http-apis.html (KTOR-4380)
  • When returning a String, content negotiation is ignored (KTOR-662)
  • HttpResponse.bodyAsChannel should not be converted by ContentNegotiation (KTOR-4341)
  • Strings are not decoded when received as application/json (KTOR-385)
  • Document how to enable/disable HTTP/2 for different client engines (KTOR-4340)
  • Revert Dokka to 1.6.10 due to Publication Freeze (KTOR-4290)
  • Document a new memory model in KMM tutorial (KTOR-4354)
  • Make client docs less JVM-centric (KTOR-4351)
  • Darwin engine: Client connection is closed after each request (KTOR-4145)
  • Ios: NullPointerException when query parameters contain cyrillic symbols in values (KTOR-1858)
  • A native application with the Darwin engine doesn't make a request (KTOR-3900)
  • Darwin and Kotlin/JS: "List has more than one element" error when header like Content-type is duplicated in a response (KTOR-4105)
  • Invalid response without error (KTOR-369)
  • Invalid HTTP version should fail (KTOR-380)
  • The colon after the host parameter requires a port (KTOR-382)
  • Kotlin/Native: testApplication's client sometimes fails to receive ByteArray response from a route (KTOR-4197)
  • "Application started" is never printed (KTOR-4319)

... (truncated)

Changelog

Sourced from ktor-client-android's changelog.

2.1.0

Published 11 August 2022

  • Add YAML Configuration Format Support (KTOR-3572)
  • Allow overriding HSTS settings per host (KTOR-4578)
  • CORS: Pattern matching for origin (KTOR-316)
  • Darwin: Allow setting custom NSURLSession (KTOR-583)
  • Support setting caching options on call (KTOR-457)
  • Revert default behavior of string encoding for ContentNegotiation and JsonPlugin (KTOR-4739)
  • Make Content-Length header validation optional (KTOR-4655)
  • Client resources plugin miss builders for PATCH method (KTOR-4658)
  • The awaitSuspend method wakes up early in closed ByteChannelSequential (KTOR-4597)
  • HttpCache plugin does not support max-stale directive (KTOR-4610)
  • Incoming request body validation (KTOR-503)
  • Client does not support sending or receiving json null value (KTOR-745)
  • Jetty: Content Length exception when body size is greater than 4096 bytes (KTOR-4622)
  • Darwin: configureRequest doesn't actually configure a NSMutableURLRequest when HTTP request is made (KTOR-4719)
  • OAuth2: Allow sending extra parameters for authorization and access token requests (KTOR-2128)
  • Java engine: Allow configuring HTTP version (KTOR-4609)
  • ContentEncoding: body<ByteArray>() receives truncated array (KTOR-4653)
  • Support configuring Netty codec limits via application config (KTOR-4636)
  • [OkHttp] StreamRequestBody should override isOneShot or allow multiple reads of request body (KTOR-4637)
  • OverridingClassLoader fails to delegate to parent for resources (KTOR-4004)
  • OkHttp and iOS: request with only-if-cache directive in Cache-Control heade... _Description has been truncated_
dependabot[bot] commented 2 years ago

Superseded by #161.