Skip to content

fix(deps): update ktor monorepo to v3 (major) #3965

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

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.ktor:ktor-client-okhttp 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-darwin 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-mock 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-jetty 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-java 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-cio 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-apache 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-android 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-serialization-kotlinx-json 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-content-negotiation 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-logging 2.3.12 -> 3.0.0 age adoption passing confidence
io.ktor:ktor-client-core 2.3.12 -> 3.0.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

ktorio/ktor (io.ktor:ktor-client-okhttp)

v3.0.0

Compare Source

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 with Path 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)

Configuration

📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner October 14, 2024 08:09
@renovate renovate bot requested review from morganleroi and millotp and removed request for a team October 14, 2024 08:09
@algolia-bot
Copy link
Collaborator

algolia-bot commented Oct 14, 2024

✔️ Code generated!

Name Link
🪓 Triggered by a885b075d49e8ab9059874626e338b27448385a2
🍃 Generated commit c8aa4ff7d03b2e133aaa262a4db4ae6c877493b7
🌲 Generated branch generated/renovate/major-3-ktor-monorepo
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
javascript 1722
go 1682
php 1546
csharp 1275
java 1126
python 1015
ruby 792
swift 773

@renovate renovate bot force-pushed the renovate/major-3-ktor-monorepo branch from b735d25 to 7c8750c Compare October 14, 2024 10:49
@renovate renovate bot force-pushed the renovate/major-3-ktor-monorepo branch from 7c8750c to 61ea6ea Compare October 15, 2024 04:49
Copy link
Contributor Author

renovate bot commented Oct 15, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@millotp millotp merged commit 2467d85 into chore/renovateBaseBranch Oct 15, 2024
28 checks passed
@millotp millotp deleted the renovate/major-3-ktor-monorepo branch October 15, 2024 05:36
algolia-bot added a commit that referenced this pull request Oct 15, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pierre Millot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants