1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-14 07:22:20 +03:00
Commit Graph

4425 Commits

Author SHA1 Message Date
Jesse Wilson
3f305a6859 Publish a BOM for OkHttp 4.x.
https://docs.gradle.org/current/userguide/java_platform_plugin.html

This prevents downstream applications from pulling in different
versions of various OkHttp subprojects.
2020-01-20 23:42:49 -05:00
Jesse Wilson
36a408b6d6 Merge pull request #5736 from square/jwilson.0119.mpp
Switch to Gradle's Maven Publishing Plugin
2020-01-20 22:50:30 -05:00
Jesse Wilson
a692bd663b Merge pull request #5741 from yschimke/bouncycastlefixes
Fixes for bouncycastle tests
2020-01-20 22:46:55 -05:00
Yuri Schimke
005c39b592 Fixes for bouncycastle tests 2020-01-20 22:47:13 +00:00
Jake Wharton
bf4c70a0bc Merge pull request #5737 from chuchuva/patch-1
Fix typo
2020-01-19 23:20:14 -05:00
Pavel Chuchuva
f2f4df9745 Fix typo
Happy New Year!
2020-01-20 15:02:31 +11: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
593cfeb392 Merge pull request #5735 from yschimke/gradle_6_1
Gradle 6.1 upgrade
2020-01-19 14:43:38 -05:00
Jesse Wilson
cc9e126c0f Merge pull request #5729 from square/jwilson.0115.more_tls_notes
Add HTTP/2 and TLSv1.3 columns to our security providers doc
2020-01-19 14:43:00 -05:00
Yuri Schimke
034c9547b9 Gradle 6.1 2020-01-19 19:36:35 +00:00
Jesse Wilson
9316a4fbcc Merge pull request #5734 from yschimke/handle_weird_cert_names
Handle conscrypt cert names
2020-01-19 14:35:14 -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
acf11df496 Handle conscrypt cert names 2020-01-19 19:04:01 +00:00
Yuri Schimke
a68b83756b Handle Conscrypt decode behaviour (#5733)
* Handle Conscrypt decode behaviour

* Cleanup
2020-01-19 13:58:35 -05:00
Jesse Wilson
8511ee127f Merge pull request #5724 from yschimke/docsx
Security Providers Documentation
2020-01-15 16:06:04 -08:00
Jake Wharton
2f4053f494 Merge pull request #5728 from JLLeitschuh/patch-1
Official Gradle Wrapper Validation GitHub Action
2020-01-15 14:52:36 -05:00
Jonathan Leitschuh
440893ab89 Official Gradle Wrapper Validation GitHub Action
See: https://github.com/gradle/wrapper-validation-action
2020-01-15 14:43:04 -05:00
Yuri Schimke
17fc242fb9 Security Providers Documentation 2020-01-13 00:22:31 +00:00
Yuri Schimke
bcfa004b6a Reduce platform logging for each test (#5723) 2020-01-12 23:44:34 +00:00
Jesse Wilson
0dbea31ca1 Merge pull request #5721 from yschimke/alpn_range
Extend ALPN range to build 132
2020-01-12 18:28:11 -05:00
Yuri Schimke
a0b26361d4 Extend ALPN range to build 132 2020-01-12 22:25:20 +00:00
Jesse Wilson
5bfc8f6613 Merge pull request #5720 from square/jwilson.0112.google_style_embedded
Use Checkstyle's built-in Google style
2020-01-12 11:43:36 -05:00
Jesse Wilson
7c4c8c724d Use Checkstyle's built-in Google style
The boilerplate to set this up is unfortunate.
2020-01-12 07:55:57 -05: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
ff0dee1c34 Merge pull request #5718 from square/jwilson.0111.upgrade_deps
Upgrade Okio and some build dependencies
2020-01-11 23:32:27 -05:00
Jesse Wilson
c1d50e371f Upgrade Okio and some build dependencies
The new ktlint sorts imports which makes this diff large.

The new japicmp ignores 'final' modifier changes in final classes.

We adopt the Google style for checkstyle.xml.

Okio readByteString() now uses segments more aggressively, so we
need to mitigate that to avoid tracking those segments in a test.
2020-01-11 22:24:12 -05:00
Jesse Wilson
93efc26a15 Merge pull request #5703 from yschimke/cleaner_fix
Allow Handshake.toString() for debugging, even when CertificateCleaner will fail
2020-01-11 16:57:03 -05:00
Yuri Schimke
604e2705e7 Add bouncy castle platform for tests (#5695)
* Add basic bouncy castle test

* Remove other tests

* Activate platform for TLS tests
2020-01-11 10:29:17 -05:00
Jesse Wilson
04b4fbb6b5 Fix changelog markdown formatting.
The 10 in Android 10 was interpretted as a list item.
2020-01-07 13:47:41 -05:00
Jesse Wilson
fd0919cfa4 OkHttp 4.3.1 is released 2020-01-07 13:44:16 -05:00
Jesse Wilson
1e02ecdd44 Merge pull request #5707 from square/jwilson.0106.close_without_connect_
Fix a regression closing WebSockets before connect
2020-01-06 23:45:56 -05:00
Yuri Schimke
15339353c1 Set hostname on Android 5.0 (#5702)
* Set hostname on Android 5.0

Android 5.0 requires explicit call to set the hostname.

* Fix test

* Fix
2020-01-06 21:54:52 -05:00
Jesse Wilson
43996f34a3 Fix a regression closing WebSockets before connect
Closes: https://github.com/square/okhttp/issues/5705
2020-01-06 21:10:22 -05:00
Yuri Schimke
ff856abe91 Allow toString() for debugging, even when cert cleaner will fail 2020-01-06 06:43:30 +00:00
Yuri Schimke
b2168ceb73 Fixup samples (#5699) 2020-01-05 15:14:58 +00:00
Yuri Schimke
c0f0df0345 Fix missing import in Android Test (#5697) 2020-01-05 07:52:47 +00:00
Yuri Schimke
ed9af27531 Android 10 support for X509TrustManager (#5688) 2020-01-05 07:51:53 +00:00
Yuri Schimke
328be6e739 Reduce logging in MockWebServer (#5696) 2020-01-05 07:51:05 +00:00
Yuri Schimke
c7b7b6dcb1 Google Play assumption failures handled (#5692)
* Google Play assumption failures handled

* import fixes
2020-01-04 15:08:57 -05:00
Jesse Wilson
fb8fb0fd31 Merge pull request #5691 from yschimke/kitkat
Handle Android 5.0 socket type in tests
2020-01-04 14:47:21 -05:00
Jesse Wilson
84cfb57458 Merge pull request #5693 from yschimke/android_mockwebserver
Fix MockWebserver tests for Android 5.0
2020-01-04 14:35:26 -05:00
Yuri Schimke
f04e415515 Fix tests for Android 5.0 2020-01-04 11:07:00 +00:00
Yuri Schimke
0d82da6311 Handle Android 5.0 socket type in tests 2020-01-04 10:46:16 +00: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
51fa06cfa7 Warn about how TrustManagers are weird on Android (#5686) 2020-01-03 06:56:08 +00:00
Yuri Schimke
3e61ce3cf0 Test Android with Play provider (#5679) 2020-01-02 07:04:58 +00:00
Jesse Wilson
bb819709ec Merge pull request #5678 from square/jwilson.0101.deprecation_error_test
Confirm that deprecated symbols exist
2020-01-01 14:25:12 -05:00
Jesse Wilson
4edda8905c Confirm that deprecated symbols exist
Without this it's too easy to typo these and make migration more difficult
for users upgrading to OkHttp 4.x.
2020-01-01 12:35:18 -05:00
Yuri Schimke
f675c9ebf1 Android Test Readme (#5677)
* Android Test Readme

* less docs

* More logging

* Comments
2020-01-01 09:37:34 -05:00
Jesse Wilson
e87d8b7853 Prepare next development version. 2019-12-31 16:39:21 -05:00