Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

fix(deps): update ktor to v2.2.4 #82

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

fix(deps): update ktor to v2.2.4 #82

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 12, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.ktor:ktor-client-mock-js 2.0.3 -> 2.2.4 age adoption passing confidence
io.ktor:ktor-client-js 2.0.3 -> 2.2.4 age adoption passing confidence
io.ktor:ktor-client-mock-jvm 2.0.3 -> 2.2.4 age adoption passing confidence
io.ktor:ktor-client-okhttp 2.0.3 -> 2.2.4 age adoption passing confidence
io.ktor:ktor-client-jetty 2.0.3 -> 2.2.4 age adoption passing confidence
io.ktor:ktor-client-java 2.0.3 -> 2.2.4 age adoption passing confidence
io.ktor:ktor-client-cio 2.0.3 -> 2.2.4 age adoption passing confidence
io.ktor:ktor-client-apache 2.0.3 -> 2.2.4 age adoption passing confidence
io.ktor:ktor-client-core 2.0.3 -> 2.2.4 age adoption passing confidence

Release Notes

ktorio/ktor

v2.2.4

Compare Source

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)

v2.2.3

Compare Source

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)

v2.2.2

Compare Source

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)
  • Netty, HSTS: UnsupportedOperationException is thrown when the server responds before HSTS plugin (KTOR-5276)

v2.2.1

Compare Source

Published 7 December 2022

The critical error java.lang.NoClassDefFoundError: kotlinx/atomicfu/AtomicFU in the 2.2.0 release is fixed

v2.2.0

Compare Source

Published 7 December 2022

  • Intergate Swagger UI Hosting as Ktor Feature (KTOR-774)
  • New plugins API for client (KTOR-5161)
  • Rate-Limit Support on Server (KTOR-1196)
  • Make sessions plugin multiplatform (KTOR-4960)
  • Add the ability to access the route inside a route-scoped plugin (KTOR-5112)
  • Add a method that returns a list of child routes recursively (KTOR-581)
  • Support Default Value for missing Env Variables in YAML (KTOR-5283)
  • Netty: ApplicationStarted event is fired before the server starts accepting connections (KTOR-4259)
  • parseAuthorizationHeader throws ParseException on header value with multiple challenges (KTOR-5216)
  • ByteChannel exception: Got EOF but at least 1 byte were expected (KTOR-5252)
  • Application data in OAuth State parameter (KTOR-5225)
  • NativePRNGNonBlocking is not found, fallback to SHA1PRNG (KTOR-668)
  • Not calling call.respond() at server results in 404 for the client (KTOR-721)
  • Restoring thread context elements when directly resuming to parent is broken (KTOR-2644)
  • Out of the box ContentConverter for Protobuf (KTOR-763)
  • Darwin: response is never returned when usePreconfiguredSession is used (KTOR-5134)
  • List.merge() should have reversed priority (KTOR-5208)
  • Allow nested authentications to be combined using AND (KTOR-5021)
  • The swaggerUI plugin should be placed in the io.ktor.server.plugins.swagger package (KTOR-5192)
  • CORS Plugin should log reason for returning 403 Forbidden errors (KTOR-4236)
  • The default path to an OpenAPI specification doesn't work for the 'openAPI' plugin (KTOR-5193)
  • JWT: JWTPayloadHolder.getListClaim() throws NPE when specified claim is absent (KTOR-5098)
  • Logging: the plugin instantiates the default logger even when a custom one is provided (KTOR-5186)
  • Java client engine doesn't handle HttpTimeout.INFINITE_TIMEOUT_MS properly (KTOR-2814)
  • SessionTransportTransformerMessageAuthentication: Comparison of digests fails when there is a space in a value (KTOR-5168)
  • Support serving OpenAPI from resources (KTOR-5150)
  • Remove check for internal class in Select (KTOR-5035)
  • Persistent Client HttpCache (KTOR-2579)
  • Support native windows HTTP client (KTOR-735)
  • Add Server BearerAuthenticationProvider (KTOR-5118)
  • Merged config: "Property *.size not found" error when calling configList method on an array property (KTOR-5143)
  • "POSIX error 56: Socket is already connected" error when a socket is connection-mode on Darwin targets (KTOR-4877)
  • StatusPages can't handle errors in HTML template (KTOR-5107)
  • HttpRequestRetry: Memory leak of coroutines objects when using the plugin (KTOR-5099)
  • CallLogging and CallId: exceptions thrown in WriteChannelContent.writeTo are swallowed (KTOR-4954)
  • Temp files generated by multipart upload are not cleared in case of exception or cancellation (KTOR-5051)
  • Websockets, Darwin: trusting a certificate via handleChallenge doesn't work for Websockets connections (KTOR-5094)
  • Digest auth: Support returning any objects which implement Principal interface (KTOR-5059)
  • Add Debug Logging to Default Transformers (KTOR-4529)
  • No way getting client's source address from IP packet (KTOR-2501)
  • Add Env Variable to Change Log Level on Native Server (KTOR-4998)
  • Add Debug Logging for Ktor Plugins and Routing (KTOR-4510)
  • Add Debug Logging to ContentNegotiation (KTOR-4518)
  • Add Debug Logging to Routing (KTOR-4524)
  • Add Debug Logging to Auth Plugin (KTOR-4519)
  • Add Debug Logging to Status Pages Plugin (KTOR-4527)
  • Add Debug Logging to PartialContent Plugin (KTOR-4525)
  • Add Debug Logging to Sessions Plugin (KTOR-4526)
  • Add Debug Logging to Call Id (KTOR-4520)
  • Add Debug Logging to WebSockets Plugin (KTOR-4528)
  • Add Debug Logging to Double Receive Plugin (KTOR-4530)
  • Add Debug Logging to Compression Plugin (KTOR-4521)
  • Make certificate generation helpers more flexible (KTOR-5023)
  • Jackson converter: Support requests with Content-Length header (KTOR-4904)
  • Add a way to get a client's port (KTOR-430)
  • Retry and timeout client plugins don't work together (KTOR-4652)
  • Server Session - Switch to Kotlinx serialization (KTOR-2572)
  • ApplicationCall.respondRedirect should have overload for Url (KTOR-1538)
  • Make API to Use Configuration in Application Plugins (KTOR-4533)
  • Way to block use of TLS 1.0/1.1 when using Ktor/Netty (KTOR-4587)
  • testApplication: application initialization block isn't eagerly called (KTOR-4819)
  • testApplication: test server lifecycle management (KTOR-4773)
  • The beginning character of encodedPath field(Url class) is wrong when relative path (KTOR-621)
  • Unable to access userPrincipal of servletRequest in ktor-server-servlet (KTOR-4784)
  • When unable to get JWKS, JWTAuth swallows the underlying exception and only logs the last message (KTOR-636)
  • CIO Server generates wrong URL for OAuth URL provider using Locations (KTOR-2143)
  • Inconsistency among server engines when determining port/host of an incoming request (KTOR-4141)
  • Update Versions of Dependencies (KTOR-5293)

v2.1.3

Compare Source

Published 26 October 2022

  • JS: window.location.origin returns null when executed in iframe via srcdoc attribute (KTOR-4993)
  • SensitivityWatchEventModifier - Move the reflection call of this modifier out from the Ktor Core (KTOR-1647)
  • "java.lang.IllegalArgumentException: Failed requirement." in SelectorManagerSupport (KTOR-2914)
  • HOCON: CLI parameters don't override custom properties since 2.1.0 (KTOR-5000)
  • Websockets timeout doesn't cause a close of a connection (KTOR-3504)
  • DefaultHeaders: a header is duplicated in a StatusPages's handler (KTOR-4990)
  • Websockets: timeout doesn't cause closing of incoming and outgoing channels (KTOR-2430)
  • RFC 3986 recommendation for encoding URI is NOT followed (KTOR-993)
  • Cookies: Invalid encoding of cookies' values since 1.4.0 (KTOR-917)
  • ByteReadChannel is unable to read files with long lines (KTOR-2588)
  • WebSocketDeflateExtension configureProtocols always failed with stackOverflow (KTOR-4916)
  • Update Kotlin to 1.7.20 (KTOR-4963)
  • Netty HTTP/2: response headers contain ":status" header and that leads to IllegalHeaderNameException in the ConditionalHeaders plugin (KTOR-4943)
  • Maven: ktor-server-test-host-jvm causes dependency error starting from Ktor 2.0.3 (KTOR-4900)
  • Autoreloading: "Flow invariant is violated" error since Ktor 2.0.3 (KTOR-4926)
  • Autoreloading: ClassCastException when retrieving plugins in testApplication (KTOR-4729)
  • CIO engine has wrong doc for request timeout (KTOR-4941)
  • CIO: A request through a proxy server results in 403 from Cloudflare (KTOR-4925)

v2.1.2

Compare Source

Published 29 September 2022

  • HttpCacheEntry ignoring Request Cache-Control directives (KTOR-4894)
  • testApplication does not handle port and connectors (KTOR-4875)
  • Native: Wrong status code when requesting with DELETE method and body (KTOR-3566)
  • Default host address 0.0.0.0 isn't reachable on Windows (KTOR-4834)
  • TestApplicationEngine error handling is inconsistent with DefaultEnginePipeline, breaking clients (KTOR-4009)
  • Routing: Wrong content-type results in 400 Bad Request instead of 415 Unsupported Media type (KTOR-4849)

v2.1.1

Compare Source

Published 6 September 2022

  • CIO: responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4827)
  • Netty HTTP/2 not working (KTOR-578)
  • HTTP/2 push fails with Netty engine (KTOR-800)
  • HttpCookies: no space between cookie pairs (KTOR-3854)
  • Netty ALPN provider detection not working (KTOR-4712)
  • CIO: Connection reset by peer on MacOS (KTOR-2036)
  • CallLogging MDC with sessions: Application feature Sessions is not installed (KTOR-550)
  • Deprecate Public API with Atomicfu Declarations (KTOR-4774)
  • Deprecate receiveOrNull because it's confusing (KTOR-4772)
  • Server ContentNegotiation Plugin doesn't check ignoredTypes for Request Body (KTOR-4770)
  • IllegalArgumentException is thrown when UnixSocketAddress.path is accessed on JVM (JDK 16+) (KTOR-4695)
  • WebSocketDeflateExtension not following RFC (KTOR-4696)
  • The parseWebSocketExtensions function behaves incorrectly (KTOR-3189)
  • Receive non-Nullable Type Throws NPE in Case of Failure (KTOR-4771)
  • Darwin: Symbol not found: OBJC_CLASS$_NSURLSessionWebSocketMessage on iOS 12 (KTOR-4159)
  • Fix Merging Date Headers on the Client (KTOR-4782)
  • Replace exception in InputStreamAdapter and OutputStreamAdapter constructors with warning message If parking (KTOR-4736)
  • Clearing Session Cookie in Chrome 80+ with SameSite and Secure (KTOR-437)
  • The OutgoingContent.toByteArray() stalls when used in combination with a OutgoingContent.WriteChannelContent (KTOR-2126)
  • Missing Content-Type header in a request (KTOR-1407)
  • Crash when making requests from browser inside of web worker (KTOR-4715)
  • An error occurs when there is a binary such as protobuf in the response body of error (KTOR-1619)
  • CallLogging configured MDC entries are not passed to StatusPages exception handlers (KTOR-4193)
  • LocalFileContent incorrectly relies on the last modification time of a file to check its existence (KTOR-4707)
  • Sessions: WSS in combination with Secure cookies throws IllegalArgumentException (KTOR-4697)
  • Json request failure with configured form authentication (KTOR-678)

v2.1.0

Compare Source

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)

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the renovate label Aug 12, 2022
@renovate renovate bot changed the title fix(deps): update ktor to v2.1.0 fix(deps): update ktor to v2.1.1 Sep 6, 2022
@renovate renovate bot changed the title fix(deps): update ktor to v2.1.1 fix(deps): update ktor to v2.1.3 Nov 20, 2022
@renovate renovate bot changed the title fix(deps): update ktor to v2.1.3 fix(deps): update ktor to v2.2.4 Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants