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
Jesse Wilson
a1994dab34
Update the libraries that work with OkHttp ( #5366 )
...
* Update the libraries that work with OkHttp
This prunes a few that haven't been updated and appear obsolete.
* Update works_with_okhttp.md
2019-08-17 21:44:22 -04:00
Jesse Wilson
99b83a3b20
Include prerequisites in the releasing guide.
...
https://github.com/cashapp/barber/blob/master/docs/releasing.md
2019-08-13 11:14:59 -04:00
Jay Estrella
0b3193d08b
Update interceptor docs for response body behaviour ( #5310 )
2019-07-30 17:17:00 +01:00
Jesse Wilson
752fcd8218
Add a note on Java 8 to the upgrade guide
2019-07-02 11:24:39 -04:00
Jesse Wilson
eee8f6e5b9
Import Square's Open Source Code of Conduct
...
Source:
https://medium.com/square-corner-blog/open-source-code-of-conduct-e5c4dc56229e
2019-06-24 18:59:06 -07:00
Jesse Wilson
489c92400f
Revise the upgrading guide for OkHttp 4.x.
...
Also change the old OkHttp 3.x Javadoc to set the new docs as canonical.
https://publicobject.com/2017/02/14/canonical-urls-for-javadocs/
2019-06-22 21:30:06 -04:00
Jesse Wilson
50e4c422d2
Move the API docs from /okhttp/api to /okhttp/4.x
2019-06-21 23:23:46 -04:00
Jesse Wilson
a56f483cd2
Use cash-market as the font
2019-06-21 00:06:02 -04:00
Jesse Wilson
108fef3f6a
Improve OkHttp documentation.
...
Combine the marketing page (index.md) with the GitHub README.md.
Fix links pointing to 3.x documentation.
Use Markdown tables instead of HTML tables.
2019-06-20 23:39:27 -04:00
AJ
682db1252c
Use MkDocs to generate website
...
This PR sets up [MkDocs](https://squidfunk.github.io/mkdocs-material/ ) static site generation for both user documentation and API docs.
2019-06-19 18:14:21 -07:00
Jesse Wilson
b619fa6b4a
Move documentation images from the wiki into the main repo
...
Also address feedback from the initial documentation code review:
https://github.com/square/okhttp/pull/5171
2019-06-07 23:21:26 -04:00