1
0
mirror of https://github.com/square/okhttp.git synced 2025-08-01 16:06:56 +03:00

83 Commits

Author SHA1 Message Date
58681d3e46 Fix r8_proguard.md link (#8946) 2025-07-19 08:07:23 +01:00
9ee3463b79 Add okhttp-spring-boot to works_with_okhttp.md (#8673) 2025-02-15 16:18:51 +00:00
e274b91f87 Prepare for release 5.0.0-alpha.13. 2024-04-17 09:25:31 -04:00
c056530682 Switch back to the kotlin JVM plugin (#8149)
* Switch back to the kotlin JVM plugin

This does a ton of file moves from jvmMain to main, and jvmTest to test.

* Don't use AnimalSniffer on okcurl

* Use assertk more (#8150)
2023-12-20 18:27:07 -05:00
4c82a6fb6a Prepare for release 5.0.0-alpha.12. 2023-12-17 09:42:59 -05:00
e33f0673cd Update changelog for OkHttp 4.12.0 2023-10-16 22:28:31 -04:00
2b8f713ae5 2023. Yikes. 2023-04-22 21:46:58 -04:00
7c976ace15 Update the changelog for 4.11 2023-04-22 21:43:42 -04:00
d7c3cedd67 Refine doc and comments about android test (#7694) 2023-02-14 10:26:50 +02:00
058ca4cff2 Automatically release when publishing (#7572) 2022-12-26 17:07:16 -05:00
05718b4d87 Use HTML for docs (#7548) 2022-12-24 10:16:30 +10:00
da8d7aae12 Run docs in CI (#7544) 2022-12-10 11:52:12 +00:00
c25ca86aff Fix release date of 4.10.0 (#7330) 2022-06-13 22:10:43 -04:00
e9a3ad3d94 4.10.0 is out 2022-06-12 10:09:53 -04:00
e2553e471b Add okhttp-system-keystore to the works with OkHttp list 2022-06-08 14:15:23 -04:00
9f72957747 Add Cronet transport repo to Works with OkHttp. (#7260) 2022-04-28 09:27:29 +01:00
8d48c20d9f Update works_with_okhttp.md (#7236)
add ScribeJava to "Works with OkHttp"
2022-04-13 07:36:52 -04:00
ad1165b7b4 Link to our signing key from our GitHub page (#7117) 2022-02-27 10:19:17 +00:00
46cacc9598 Add Failsafe to the "works with okhttp" page. (#7106) 2022-02-24 00:49:15 -05:00
c160080430 Prepare for release 5.0.0-alpha.5. 2022-02-21 09:47:49 -05:00
8a08fb2652 Don't leak a connection that's canceled before it connects (#7099)
We had a bug where calling ConnectPlan.cancel() before ConnectPlan.connectTcp()
would drop the cancel. This is because the rawSocket wasn't created yet to
cancel.

Also document fast fallback on our documentation site.
2022-02-20 22:33:59 -05:00
8e10db80d9 Fix Authenticate docs to include more kotlin (#7043) 2022-02-18 08:52:22 +00:00
62bc276667 Update R8 link in docs (#7053) 2022-02-08 08:03:16 +00:00
5b8c10a2c0 Remove external link icon (#7063) 2022-02-08 07:57:03 +00:00
4b52e7a131 More docsite changes, split the 4.x changelog 2022-02-06 12:23:37 -05:00
a8e0f46488 More deploy_website fixes 2022-02-06 11:58:16 -05:00
805470e1e6 Fixup some things with the updated website 2022-02-06 11:35:36 -05:00
a15cad8560 Migrate cashapp.github.io (#7059) 2022-02-06 14:55:54 +00:00
106c8d2d5c Improve OkHttp Docs (#6566)
* Improve OkHttp documentation

* Remove placeholder files

* remove site folder

* Create upgrading_to_okhttp_4.md

* Add redirects and fix paths

* add missing tls page to redirects

* Use custom SVG icons

* Update deploy_website.sh

* Push new changes.
2022-02-05 21:19:09 -05:00
20d2fa4ffa Update docs to reference S01 Sonatype host (#6971) 2021-12-23 10:56:33 -05:00
99452beb39 Get GitHub actions to do publishing (#6949) 2021-12-03 09:39:39 -05:00
3a6646dfd6 Fixed leading spaces for code blocks in recipes.md
Markdown coverts text with four leading spaces into a code block. Fenced code blocks in this file had four leading spaces in addition to the being wrapped with ```, because of this the code blocks weren't being rendered properly in the markdown preview.

Removing the two out of the four leading spaces fixed the issue.
2021-09-02 13:43:43 -04:00
4ebc5f644c Fix regressions introduced by converting URLS to HTTPS (#6654) 2021-04-28 09:07:05 -04:00
7f4b97e8a4 Update docs to use https (#6642) 2021-04-22 08:30:57 +01:00
edf477cb4e Update changelogs for 4.9.1 and 3.12.13
We cherry-picked fixes for the bio == null crash.
2021-01-30 14:46:39 -05:00
d805a6101a Graal provider docs (#6298) 2020-10-02 11:17:56 -04:00
2fd0da8bc4 Update concurrency.md (#6290) 2020-09-30 12:01:02 -04:00
c539482258 Update and improve recipes page in docs (#6270)
* Add PymdownX tabbed

* Update recipes.md

* fix invalid tab names

* Fix additional tabs and publish

* remove site directory
2020-09-15 12:28:35 -04:00
1589741a90 Fix Caching documentation. (#6247) 2020-09-04 07:27:54 -04:00
dbb2c346e7 Update https.md (#6234)
fix link
2020-08-23 16:24:04 -04:00
0e0f3a2d8d Push OkHttp 3.14.x into the sea. It is no longer supported. (#6179)
OkHttp 4.x is our only branch receiving security fixes, bug fixes, and
new features.

OkHttp 3.12.x gets security fixes only.
2020-07-11 11:04:10 +01:00
e90b33d686 Document common security issues on older Android devices (#6150)
This is ychimke's update, just moved to another file and copy-edited to cover
both Android and JVM handshakes.
2020-06-27 14:12:50 -04:00
e5c8461dbf Clarify Interceptor timeout docs (#6102) 2020-06-01 07:56:32 +01:00
dd4cb0298a Simplify Android debug logging docs (#6097) 2020-05-29 07:57:58 +01:00
bafad8c998 Use finer-grained locks in the connection pool
Previously we were locking the RealConnectionPool for all
connection-related state, including cancelation.

This changes the locks to be per-Connection, leaning heavily
on thread-confined fields in RealCall, Exchange, and
ExchangeFinder.
2020-05-24 23:20:40 -04:00
ef7c5f358e Prepare for release 4.7.0. 2020-05-17 13:52:53 -04:00
8e8863b92f Caching Docs [draft] (#6009) 2020-05-07 07:03:15 +01:00
0deadd5611 Prepare for release 4.6.0. 2020-04-29 00:52:51 -04:00
1c061be1c7 Document 4.x requirements (#5897) 2020-03-26 05:40:20 +00:00
f94be9ff69 Support 3.12.x through December 31, 2021
Our original expectations were that KitKat devices would age out in
2020. It's been a garbage year and this expectations no longer hold.
We're extending support an extra year.

We continue to support OkHttp 3.12.x because later releases are not
usable on older devices and JVMs.

OkHttp 3.14.x has no such reason to receive support, and we'll stop
updating it on June 30, 2020. Users of OkHttp 3.14.x should upgrade
to the 4.x series. Android apps should accept Kotlin libraries; it's
the platform's future. And JVM apps are less constrained by binary
size. Here's the size of OkHttp + transitive dependencies, and those
of alternatives:

 * OkHttp 4.4: 2.47 MiB including Kotlin stdlib (1.51 MiB)
 * Apache HTTP Client 5.0: 1.78 MiB including slf4j-api (0.04 MiB)
 * Jetty HTTP Client 9.4: 1.19 MiB
2020-03-24 13:24:10 -04:00