okhttp icon indicating copy to clipboard operation
okhttp copied to clipboard

OkHttp 5 blockers

Open yschimke opened this issue 2 years ago • 6 comments

  • [ ] HttpUrl multiplatform (@swankjesse )
  • [ ] Suspend JS support
  • [ ] Status Code fixes https://github.com/square/okhttp/issues/2257
  • [ ] MockWebServer immutable
  • [ ] MockWebserver natively support duplex
  • [ ] Cancel listeners for Interceptors https://github.com/square/okhttp/issues/7164
  • [x] Update cipher suites
  • [ ] Loom

yschimke avatar Jul 03 '22 09:07 yschimke

@swankjesse is Loom support in or out? https://github.com/square/okhttp/issues/6385

Even just confirming it's supported, if not a distinct TaskRunner.Backend?

yschimke avatar Jul 03 '22 09:07 yschimke

I think Loom is out only because I don't expect it'll need API changes.

swankjesse avatar Jul 10 '22 11:07 swankjesse

I do think we'll need a new module with JDK 19+ dependencies, and probably change the implementation, potentially changes, maybe minor API changes, to TaskRunner.

yschimke avatar Jul 10 '22 17:07 yschimke

Going to mark https://github.com/square/okhttp/pull/7393 as done based on confirmation of current set against Chrome.

yschimke avatar Aug 08 '22 09:08 yschimke

@swankjesse Adding back Loom as I think https://github.com/square/okhttp/pull/7367 showed we need to remove wait()/notify() and use Conditions instead in okhttp and okio.

yschimke avatar Aug 08 '22 09:08 yschimke

Also for KMP, I'm looking at using okcurl as a cross platform CLI buildable with all of graal, native, js. https://github.com/square/okhttp/pull/7416

yschimke avatar Aug 08 '22 09:08 yschimke

HttpUrl supported, but without IDN.

yschimke avatar Jan 03 '23 05:01 yschimke

Suspend JS support is likely just the current example shown for ktor https://github.com/square/okhttp/pull/7326/files#diff-772553bc9e67a5b9842ab416490ff3fd80a8e7bd878ac641a9c0d644bce96492

Response will be read as part of the suspending executeAsync method.

yschimke avatar Jan 03 '23 05:01 yschimke

Is there any news on when we can expect OkHttp 5 to be released?

justinadkins avatar May 18 '23 14:05 justinadkins

https://github.com/square/okhttp/issues/5874 (HTTP 1.1 Upgrades) would be great to be included. It might not be a release blocker, though.

gesellix avatar May 18 '23 15:05 gesellix

I suspect https://github.com/square/okhttp/issues/7164 could be a 5.1 feature if not in 5.0

yschimke avatar May 21 '23 09:05 yschimke