Skip to content

【WIP】Bump com.squareup.okhttp3:okhttp from 3.12.13 to 4.12.0#194

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/com.squareup.okhttp3-okhttp-4.12.0
Closed

【WIP】Bump com.squareup.okhttp3:okhttp from 3.12.13 to 4.12.0#194
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/com.squareup.okhttp3-okhttp-4.12.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2024

Bumps com.squareup.okhttp3:okhttp from 3.12.13 to 4.12.0.

Changelog

Sourced from com.squareup.okhttp3:okhttp's changelog.

Change Log

Version 4.x

See 4.x Change log for the stable version changelogs.

Version 5.0.0-alpha.12

2023-12-17

We took too long to cut this release and there's a lot of changes in it. We've been busy.

Although this release is labeled alpha, the only unstable thing in it is our new APIs. This release has many critical bug fixes and is safe to run in production. We're eager to stabilize our new APIs so we can get out of alpha.

  • New: Support Java 21's virtual threads (‘OpenJDK Project Loom’). We changed OkHttp's internals to use Lock and Condition instead of synchronized for best resource utilization.

  • New: Switch our Internationalized Domain Name (IDN) implementation to [UTS #46 Nontransitional Processing][uts46]. With this fix, the ß code point no longer maps to ss. OkHttp now embeds its own IDN mapping table in the library.

  • New: Prefer the client's configured precedence order for TLS cipher suites. (OkHttp used to prefer the JDK’s precedence order.) This change may cause your HTTP calls to negotiate a different cipher suite than before! OkHttp's defaults cipher suites are selected for good security and performance.

  • New: ConnectionListener publishes events for connects, disconnects, and use of pooled connections.

  • Fix: Immediately update the connection's flow control window instead of waiting for the receiving stream to process it.

    This change may increase OkHttp's memory use for applications that make many concurrent HTTP calls and that can receive data faster than they can process it. Previously, OkHttp limited HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB of unacknowledged data per stream and no per-connection limit.

  • Fix: Don't close a Deflater while we're still using it to compress a web socket message. We had a severe bug where web sockets were closed on the wrong thread, which caused NullPointerException crashes in Deflater.

  • Fix: Don't crash after a web socket fails its connection upgrade. We incorrectly released the web socket's connections back to the pool before their resources were cleaned up.

  • Fix: Don't infinite loop when a received web socket message has self-terminating compressed data.

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@codecov-commenter
Copy link

codecov-commenter commented Apr 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.70%. Comparing base (00569d4) to head (271b856).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #194      +/-   ##
============================================
- Coverage     88.43%   87.70%   -0.73%     
+ Complexity      413      412       -1     
============================================
  Files            27       27              
  Lines          1098     1098              
  Branches        165      165              
============================================
- Hits            971      963       -8     
- Misses           83       91       +8     
  Partials         44       44              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 3.12.13 to 4.12.0.
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](square/okhttp@parent-3.12.13...parent-4.12.0)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/maven/com.squareup.okhttp3-okhttp-4.12.0 branch from 66bc8ab to 271b856 Compare April 1, 2024 08:37
@yndu13 yndu13 changed the title Bump com.squareup.okhttp3:okhttp from 3.12.13 to 4.12.0 【WIP】Bump com.squareup.okhttp3:okhttp from 3.12.13 to 4.12.0 Apr 2, 2024
@JohnNiang
Copy link

Hi @yndu13 , is there any block of merging this PR?

I thought this PR could close #170.

@renwairen
Copy link

Merge soon.

@DevDengChao
Copy link

Any progress ?

@yndu13 yndu13 closed this Dec 5, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 5, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/maven/com.squareup.okhttp3-okhttp-4.12.0 branch December 5, 2025 09:22
@DevDengChao
Copy link

Feat: Upgrade the OkHttp version #243 merged.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants