1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-23 06:42:24 +03:00
Commit Graph

61 Commits

Author SHA1 Message Date
Yuri Schimke
62bc276667 Update R8 link in docs (#7053) 2022-02-08 08:03:16 +00:00
Andre_601
5b8c10a2c0 Remove external link icon (#7063) 2022-02-08 07:57:03 +00:00
Jesse Wilson
4b52e7a131 More docsite changes, split the 4.x changelog 2022-02-06 12:23:37 -05:00
Jesse Wilson
a8e0f46488 More deploy_website fixes 2022-02-06 11:58:16 -05:00
Jesse Wilson
805470e1e6 Fixup some things with the updated website 2022-02-06 11:35:36 -05:00
Goooler
a15cad8560 Migrate cashapp.github.io (#7059) 2022-02-06 14:55:54 +00:00
Andre_601
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
Egor Andreevich
20d2fa4ffa Update docs to reference S01 Sonatype host (#6971) 2021-12-23 10:56:33 -05:00
Jesse Wilson
99452beb39 Get GitHub actions to do publishing (#6949) 2021-12-03 09:39:39 -05:00
Brian Odisho
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
Jesse Wilson
4ebc5f644c Fix regressions introduced by converting URLS to HTTPS (#6654) 2021-04-28 09:07:05 -04:00
Goooler
7f4b97e8a4 Update docs to use https (#6642) 2021-04-22 08:30:57 +01:00
Jesse Wilson
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
Yuri Schimke
d805a6101a Graal provider docs (#6298) 2020-10-02 11:17:56 -04:00
Manish Sharma
2fd0da8bc4 Update concurrency.md (#6290) 2020-09-30 12:01:02 -04:00
Andre_601
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
Thomas Wirth
1589741a90 Fix Caching documentation. (#6247) 2020-09-04 07:27:54 -04:00
Lavong Soysavanh
dbb2c346e7 Update https.md (#6234)
fix link
2020-08-23 16:24:04 -04:00
Jesse Wilson
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
Jesse Wilson
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
Yuri Schimke
e5c8461dbf Clarify Interceptor timeout docs (#6102) 2020-06-01 07:56:32 +01:00
Yuri Schimke
dd4cb0298a Simplify Android debug logging docs (#6097) 2020-05-29 07:57:58 +01:00
Jesse Wilson
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
Jesse Wilson
ef7c5f358e Prepare for release 4.7.0. 2020-05-17 13:52:53 -04:00
Yuri Schimke
8e8863b92f Caching Docs [draft] (#6009) 2020-05-07 07:03:15 +01:00
Jesse Wilson
0deadd5611 Prepare for release 4.6.0. 2020-04-29 00:52:51 -04:00
Yuri Schimke
1c061be1c7 Document 4.x requirements (#5897) 2020-03-26 05:40:20 +00:00
Jesse Wilson
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
Jesse Wilson
ed974c2113 Update changelog for 3.12.10 2020-03-01 09:04:14 -05:00
Jesse Wilson
1256f1371b OkHttp 3.14.7 and 3.12.9 are released 2020-02-24 22:31:58 -05:00
Jesse Wilson
44124ba2a3 Prepare for release 4.4.0. 2020-02-17 17:51:22 -05:00
Yuri Schimke
6c9d741d4d Updated bug bounty (#5753)
* Updated bug bounty

* Fix the bugcrowd URL

* Fix the bugcrowd URL

* Restore the https:// in the bugcrowd URL

Co-authored-by: Jesse Wilson <jesse@swank.ca>
2020-01-25 14:52:57 -05:00
Jesse Wilson
e6cefb7a4d Switch to Gradle's Maven Publishing Plugin
This removes a bunch of low-value stuff from the pom.xml files:

 - name
 - description
 - licence distribution ('repo')
 - developers clause
 - test dependencies

I don't think any of this will be missed, and it shrinks the pom.xml
file to the minimal set of useful stuff.

This also causes us to publish a gradle .module file. This is the
motivation for this change. It'll allow us to ship a Gradle platform,
which is a more capable than a Maven BOM.
2020-01-19 21:44:55 -05:00
Jesse Wilson
82f773376e Add HTTP/2 and TLSv1.3 columns to our security providers doc 2020-01-19 14:32:35 -05:00
Yuri Schimke
17fc242fb9 Security Providers Documentation 2020-01-13 00:22:31 +00:00
Jesse Wilson
03fcdb8607 Update the changelog for 3.12.8 and 3.14.6 2020-01-12 07:28:50 -05:00
Jesse Wilson
fd0919cfa4 OkHttp 4.3.1 is released 2020-01-07 13:44:16 -05:00
Jesse Wilson
6661e1489b Update the changelog for OkHttp 3.12.7 and 3.14.5 2020-01-03 18:22:27 -05:00
Jesse Wilson
a815093721 Document debug logging.
Also refine the formatting of TaskRunner logging.

Before:

    [2019-12-30 16:43:19] Q1 starting: OkHttp ConnectionPool
    [2019-12-30 16:43:19] Q1 scheduled after 300 s: OkHttp ConnectionPool
    [2019-12-30 16:43:19] Q1 finished in 94 µs: OkHttp ConnectionPool
    [2019-12-30 16:43:19] Q359 scheduled after 0 µs: OkHttp www.youtube.com applyAndAckSettings
    [2019-12-30 16:43:19] Q359 starting: OkHttp www.youtube.com applyAndAckSettings
    [2019-12-30 16:43:19] Q361 schedule canceled (queue is shutdown): OkHttp www.youtube.com onSettings
    [2019-12-30 16:43:19] Q359 finished in 382 µs: OkHttp www.youtube.com applyAndAckSettings
    [2019-12-30 16:43:20] Q1 scheduled after 0 µs: OkHttp ConnectionPool
    [2019-12-30 16:43:20] Q365 scheduled after 0 µs: OkHttp android-developers.googleblog.com applyAndAckSettings
    [2019-12-30 16:43:20] Q1 starting: OkHttp ConnectionPool
    [2019-12-30 16:43:20] Q365 starting: OkHttp android-developers.googleblog.com applyAndAckSettings
    [2019-12-30 16:43:20] Q1 scheduled after 300 s: OkHttp ConnectionPool
    [2019-12-30 16:43:20] Q1 finished in 151 µs: OkHttp ConnectionPool

After:

    [2019-12-30 16:43:19] Q10001 starting              : OkHttp ConnectionPool
    [2019-12-30 16:43:19] Q10001 run again after 300 s : OkHttp ConnectionPool
    [2019-12-30 16:43:19] Q10001 finished run in  94 µs: OkHttp ConnectionPool
    [2019-12-30 16:43:19] Q10359 scheduled after   0 µs: OkHttp www.youtube.com applyAndAckSettings
    [2019-12-30 16:43:19] Q10359 starting              : OkHttp www.youtube.com applyAndAckSettings
    [2019-12-30 16:43:19] Q10361 schedule canceled (queue is shutdown): OkHttp www.youtube.com onSettings
    [2019-12-30 16:43:19] Q10359 finished run in 382 µs: OkHttp www.youtube.com applyAndAckSettings
    [2019-12-30 16:43:20] Q10001 scheduled after   0 µs: OkHttp ConnectionPool
    [2019-12-30 16:43:20] Q10365 scheduled after   0 µs: OkHttp android-developers.googleblog.com applyAndAckSettings
    [2019-12-30 16:43:20] Q10001 starting              : OkHttp ConnectionPool
    [2019-12-30 16:43:20] Q10365 starting              : OkHttp android-developers.googleblog.com applyAndAckSettings
    [2019-12-30 16:43:20] Q10001 run again after 300 s : OkHttp ConnectionPool
    [2019-12-30 16:43:20] Q10001 finished run in 151 µs: OkHttp ConnectionPool
2019-12-31 14:21:05 -05:00
Giovanni Longatto Nazario Marques
e642cb8876 Fixing example 2019-12-13 00:11:44 +00:00
Jesse Wilson
abee17d93f Don't use HTML entities in Markdown docs.
Closes: https://github.com/square/okhttp/issues/5593
2019-11-17 20:37:16 -05:00
Jesse Wilson
ebf3b91eb0 Deduplicate URL in Markdown 2019-10-25 22:41:43 -04:00
Jesse Wilson
a9194dd3cd Link R8 and ProGuard info from the docs site 2019-10-25 21:48:24 -04:00
Stefan M
01a3b2fca2 Add link to okio proguard rules (#5541)
* Add link to okio proguard rules

* Move R8/ProGuard info to website
2019-10-25 21:40:17 -04:00
Jesse Wilson
6db03d4f30 Update changelog for 3.12.6, 3.14.4 2019-09-29 15:53:31 -04:00
Jesse Wilson
7c802961af Add Kotlin listings for OkHttp recipes doc 2019-09-28 14:00:26 -04:00
Jesse Wilson
b2ad6e1691 Update changelog for 3.14.3 and 3.12.5 2019-09-10 16:56:51 -04:00
Jesse Wilson
69e6522466 OkHttp 3.12.4 is released 2019-09-05 00:05:15 -04:00
Jesse Wilson
93dbbcaef8 Divide up our changelog by major version
The current doc is just so long.

This also sorts older versions by version number instead of release date.
2019-09-03 23:19:07 -04:00
Jesse Wilson
e40915bf77 Merge pull request #5362 from square/jwilson.0813.releasing
Include prerequisites in the releasing guide.
2019-08-21 16:36:37 -04:00