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 com.squareup.okhttp3:okhttp from 5.0.0-alpha.11 to 5.0.0-alpha.12 #4523

Conversation

dependabot[bot]
Copy link
Contributor

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

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps com.squareup.okhttp3:okhttp from 5.0.0-alpha.11 to 5.0.0-alpha.12.

Changelog

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

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.

  • Fix: Don't fail the call when the response code is ‘HTTP 102 Processing’ or ‘HTTP 103 Early Hints’.

  • Fix: Honor interceptors' changes to connect and read timeouts.

  • Fix: Recover gracefully when a cached response is corrupted on disk.

... (truncated)

Commits
  • 4c82a6f Prepare for release 5.0.0-alpha.12.
  • f131fae Change SSE to use the OkHttp public API only (#8141)
  • 6ba49ad Upgrade Kotlin to 1.9.21, Okio to 3.7.0 (#8140)
  • 3afe55c Update dependency de.mannodermaus.gradle.plugins:android-junit5 to v1.10.0.0 ...
  • 7d17ec1 Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.23.3 (#8...
  • c71af6a Don't infinite loop on self-terminating compressed websocket messages (#8136)
  • 0fea184 Update README.md (#8132)
  • 2bed258 Testing with ALPN Override (#8081)
  • cf023af Update the IntelliJ PNG resource file (#8124)
  • 3f6f661 Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.23.2 (#8...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 5.0.0-alpha.11 to 5.0.0-alpha.12.
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](square/okhttp@jesse-5.0.0-alpha.11...parent-5.0.0-alpha.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependency-upgrade A dependency upgrade java Pull requests that update Java code labels Jan 1, 2024
@dependabot dependabot bot added this to the 1.12.x milestone Jan 1, 2024
@marcingrzejszczak
Copy link
Contributor

Why are we using alpha? @shakuzen @jonatan-ivanov ?

@shakuzen
Copy link
Member

Why are we using alpha?

It was the result of using latest.release with lockfiles and not noticing the version in the lockfiles. I think we should be able to safely downgrade to 4.x, but I didn't do that at the time of migrating to TOML out of an abundance of caution on trying to not change multiple things at the same time. I've opened #4580 to downgrade finally.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 19, 2024

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/gradle/1.12.x/com.squareup.okhttp3-okhttp-5.0.0-alpha.12 branch January 19, 2024 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency-upgrade A dependency upgrade java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants