Jesse Wilson
3972e124df
Prepare next development version.
2019-07-10 11:32:07 -04:00
Jesse Wilson
1854a7b82d
Prepare for release 4.0.1.
parent-4.0.1
2019-07-10 11:31:52 -04:00
Jesse Wilson
7883ac9dac
Merge pull request #5278 from square/jwilson.0710.okhttp401
...
Cherry-pick changes for OkHttp 4.0.1
2019-07-10 09:28:08 -04:00
Yuri Schimke
2bf6737639
Java internal compatibility e.g. HttpHeaders.hasBody ( #5251 )
2019-07-10 09:18:40 -04:00
Jake Wharton
a890681e43
Tolerate null-hostile lists in public API
2019-07-10 09:18:18 -04:00
Jesse Wilson
911c5bf5b2
Prepare for release 4.0.0.
parent-4.0.0
2019-06-26 19:30:33 -07:00
Jesse Wilson
fafcf4b822
Merge pull request #5242 from yschimke/prefer_jdk11
...
Prefer JDK 11 for tests
2019-06-26 18:28:22 -07:00
Yuri Schimke
c88f9a9ed3
Prefer JDK 11 for tests
2019-06-26 21:45:30 +01:00
Yuri Schimke
b7e6f4fc85
Fix conscrypt tests ( #5241 )
2019-06-26 19:59:04 +01:00
Yuri Schimke
d81ec0f23b
OkHttpClientTestRule check connectionCount instead of idle ( #5226 )
...
* OkHttpClientTestRule check connectionCount instead of idle
Clients should be clean after use, not just from idle connections.
* Abandon unclean clients
* Simplify logic
2019-06-25 22:34:51 -07:00
Jesse Wilson
d1b99e6925
Merge pull request #5239 from square/jakew/eleven/2019-06-25
...
Run error-prone on JDK 11
2019-06-26 00:20:28 -04:00
Jesse Wilson
24c05751d8
Merge pull request #5238 from square/jakew/eight/2019-06-25
...
Target Java 8 bytecode for Java and Kotlin
2019-06-26 00:13:55 -04:00
Jake Wharton
4607fe8768
Run error-prone on JDK 11
...
JDK 12+ is where it currently is unsupported.
2019-06-25 22:56:36 -04:00
Jake Wharton
0bdd6790f4
Target Java 8 bytecode for Java and Kotlin
2019-06-25 21:09:33 -04:00
Yuri Schimke
321791908a
Allow nullable on Util.close ( #5224 )
...
Enforce null check in java with any mutable nullable closable
2019-06-25 07:24:40 +01:00
Yuri Schimke
b16b63fa4a
Enable additional passing tests for conscrypt ( #5227 )
...
* Testing conscrypt
* Revert circleci
2019-06-24 19:27:27 -07:00
Jesse Wilson
abe49cf435
Merge pull request #5235 from square/jwilson.0624.coc
...
Import Square's Open Source Code of Conduct
2019-06-24 19:13:03 -07:00
Jesse Wilson
644a104570
Merge pull request #5233 from adrw/patch-1
...
Add favicon to docs site
2019-06-24 19:03:50 -07:00
Jesse Wilson
2bb4572ed6
Merge pull request #5234 from square/jwilson.0624.suppress_tests
...
Suppress AllMainsTest.
2019-06-24 19:03:31 -07: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
510b911aea
Prepare next development version.
2019-06-24 16:44:26 -07:00
Jesse Wilson
bad333c0a3
Prepare for release 4.0.0-RC3.
parent-4.0.0-RC3
2019-06-24 16:44:19 -07:00
Jesse Wilson
eb7a0839ab
Suppress AllMainsTest.
...
It won't work in CI
2019-06-24 14:28:12 -07:00
Andrew (Paradi) Alexander
823abec95d
Add favicon to docs site
2019-06-24 12:13:37 -04:00
Yuri Schimke
26949cf478
Fix samples and add test ( #5228 )
...
* Fix samples
* support different paths
* Simplify
2019-06-24 05:59:42 -07:00
Jesse Wilson
0dd201b669
Merge pull request #5229 from square/jwilson.0622.revise_guide
...
Revise the upgrading guide for OkHttp 4.x.
2019-06-22 21:52:47 -04: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
ab72e81808
Retain binary-compatibility in okhttp3.internal.HttpMethod ( #5218 )
...
These methods are used by some popular 3rd party SDKs.
2019-06-22 07:14:59 +01:00
Jesse Wilson
980053f17d
Merge pull request #5220 from square/jwilson.0621.api_4x
...
Move the API docs from /okhttp/api to /okhttp/4.x
2019-06-21 23:52:55 -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
8a66890c0f
Prepare next development version.
2019-06-21 10:01:47 -04:00
Jesse Wilson
8603e2d20e
Prepare for release 4.0.0-RC2.
parent-4.0.0-RC2
2019-06-21 10:01:40 -04:00
Jesse Wilson
244ca86b08
Merge pull request #5215 from square/fix-response-status-code-compatibility
...
Allow users to set status code 0 in Response to maintain backward compatibility in OkHttp4.0
2019-06-21 09:21:13 -04:00
Jesse Wilson
fc58adcaf1
Merge pull request #5216 from square/fix-mockwebserver-takeRequest
...
Change return type of MockWebServer#takeRequest(...) to nullable to maintain backward compatibility in OkHttp4.0
2019-06-21 09:20:36 -04:00
Masaru Nomura
966dd3e3bb
Change return type of MockWebServer#takeRequest(...) to nullable to maintain backward compatibility in OkHttp4.0
...
Previously in OkHttp3, takeRequest(...) returns RecordedRequest?.
ref. [takeRequest(timeout: Long, unit: TimeUnit) in 3.14.2](https://github.com/square/okhttp/blob/parent-3.14.2/mockwebserver/src/main/java/okhttp3/mockwebserver/MockWebServer.java#L308 )
2019-06-21 01:16:02 -04:00
Jesse Wilson
65a47ed458
Merge pull request #5189 from square/jwilson.0614.uncaught_exceptions
...
Make OkHttpClientTestRule more powerful.
2019-06-21 00:55:19 -04:00
Masaru Nomura
2e76e0426b
Allow users to set status code 0 in Response to maintain backward compatibility in OkHttp4.0
...
Previously in OkHttp3, status code == 0 was acceptable.
ref. https://github.com/square/okhttp/blob/parent-3.14.2/okhttp/src/main/java/okhttp3/Response.java#L453
2019-06-21 00:12:38 -04:00
Jesse Wilson
a56f483cd2
Use cash-market as the font
2019-06-21 00:06:02 -04:00
Jesse Wilson
32da66a2c7
Merge pull request #5214 from square/jwilson.0620.website_fixes
...
Improve OkHttp documentation.
2019-06-21 00:05:23 -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
Yuri Schimke
b731c71de9
Kotlin 1.3.40 upgrade ( #5210 )
2019-06-20 19:44:13 +01:00
Jesse Wilson
34159f4353
Point the readme at the new documentation site
2019-06-20 00:19:11 -04:00
Jesse Wilson
fc04b86c96
Merge pull request #5205 from square/jwilson.0619.mkdocs_tweaks
...
Tweak the MkDocs build
2019-06-20 00:02:47 -04:00
Jesse Wilson
70cd67c75d
Tweak the MkDocs build
...
Retain the 3.x docs by doing a dirty MkDocs build
Build more Dokka projects
2019-06-20 00:01:47 -04:00
Jesse Wilson
13ff2b9157
Merge pull request #5202 from ajalt/aj/mkdocs
...
Use MkDocs to generate website
2019-06-19 21:52:38 -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
a333842882
Merge pull request #5201 from square/yschimke-patch-1
...
Bump alpn versions
2019-06-19 08:35:14 -04:00
Yuri Schimke
e5199c4737
Bump alpn versions
2019-06-19 13:05:11 +01:00
Jesse Wilson
f6dc2a047e
Merge pull request #5192 from square/yschimke-patch-1
...
Remove reference to legacy okio
2019-06-16 14:10:19 -04:00
Yuri Schimke
4711e6f6aa
Remove reference to legacy okio
2019-06-16 16:11:25 +01:00