File tree Expand file tree Collapse file tree 10 files changed +38
-12
lines changed
okhttp-logging-interceptor Expand file tree Collapse file tree 10 files changed +38
-12
lines changed Original file line number Diff line number Diff line change 11Change Log
22==========
33
4+ ## Version 4.9.0
5+
6+ _ 2020-09-11_
7+
8+ ** With this release, ` okhttp-tls ` no longer depends on Bouncy Castle and doesn't install the
9+ Bouncy Castle security provider.** If you still need it, you can do it yourself:
10+
11+ ```
12+ Security.addProvider(BouncyCastleProvider())
13+ ```
14+
15+ You will also need to configure this dependency:
16+
17+ ```
18+ dependencies {
19+ implementation "org.bouncycastle:bcprov-jdk15on:1.65"
20+ }
21+ ```
22+
23+ * Upgrade: [ Kotlin 1.4.10] [ kotlin_1_4_10 ] . We now use Kotlin 1.4.x [ functional
24+ interfaces] [ fun_interface ] for ` Authenticator ` , ` Interceptor ` , and others.
25+ * Upgrade: Build with Conscrypt 2.5.1.
26+
27+
428## Version 4.8.1
529
630_ 2020-08-06_
@@ -469,9 +493,11 @@ _2019-06-03_
469493 [bom]: https://docs.gradle.org/6.2/userguide/platforms.html#sub:bom_import
470494 [bouncy_castle_releases]: https://www.bouncycastle.org/releasenotes.html
471495 [dev_server]: https://github.com/square/okhttp/blob/482f88300f78c3419b04379fc26c3683c10d6a9d/samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt
496+ [fun_interface]: https://kotlinlang.org/docs/reference/fun-interfaces.html
472497 [iana_websocket]: https://www.iana.org/assignments/websocket/websocket.txt
473498 [jetty_8_252]: https://webtide.com/jetty-alpn-java-8u252/
474499 [kotlin_1_3_71]: https://github.com/JetBrains/kotlin/releases/tag/v1.3.71
500+ [kotlin_1_4_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.10
475501 [legacy_interceptor]: https://gist.github.com/swankjesse/80135f4e03629527e723ab3bcf64be0b
476502 [okhttp4_blog_post]: https://cashapp.github.io/2019-06-26/okhttp-4-goes-kotlin
477503 [okio_2_6_0]: https://square.github.io/okio/changelog/#version-260
Original file line number Diff line number Diff line change @@ -99,10 +99,10 @@ Releases
9999
100100Our [ change log] [ changelog ] has release history.
101101
102- The latest release is available on [ Maven Central] ( https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/4.8.1 /jar ) .
102+ The latest release is available on [ Maven Central] ( https://search.maven.org/artifact/com.squareup.okhttp3/okhttp/4.9.0 /jar ) .
103103
104104``` kotlin
105- implementation(" com.squareup.okhttp3:okhttp:4.8.1 " )
105+ implementation(" com.squareup.okhttp3:okhttp:4.9.0 " )
106106```
107107
108108Snapshot builds are [ available] [ snap ] . [ R8 and ProGuard] [ r8_proguard ] rules are available.
@@ -113,10 +113,10 @@ MockWebServer
113113
114114OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
115115
116- The latest release is available on [ Maven Central] ( https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.8.1 /jar ) .
116+ The latest release is available on [ Maven Central] ( https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.9.0 /jar ) .
117117
118118``` kotlin
119- testImplementation(" com.squareup.okhttp3:mockwebserver:4.8.1 " )
119+ testImplementation(" com.squareup.okhttp3:mockwebserver:4.9.0 " )
120120```
121121
122122License
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ ext.publishedArtifactId = { project ->
8989allprojects {
9090 group = ' com.squareup.okhttp3'
9191 project. ext. artifactId = rootProject. ext. publishedArtifactId(project)
92- version = ' 4.9.0-SNAPSHOT '
92+ version = ' 4.9.0'
9393
9494 repositories {
9595 mavenCentral()
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ server.setDispatcher(dispatcher);
142142### Download
143143
144144``` kotlin
145- testImplementation(" com.squareup.okhttp3:mockwebserver:4.8.1 " )
145+ testImplementation(" com.squareup.okhttp3:mockwebserver:4.9.0 " )
146146```
147147
148148### License
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ OkHttpClient client = new OkHttpClient.Builder()
1414```
1515
1616``` kotlin
17- implementation(" com.squareup.okhttp3:okhttp-brotli:4.8.1 " )
17+ implementation(" com.squareup.okhttp3:okhttp-brotli:4.9.0 " )
1818```
1919
2020 [ 1 ] : https://github.com/google/brotli
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
77### Download
88
99``` kotlin
10- testImplementation(" com.squareup.okhttp3:okhttp-dnsoverhttps:4.8.1 " )
10+ testImplementation(" com.squareup.okhttp3:okhttp-dnsoverhttps:4.9.0 " )
1111```
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Download
3737--------
3838
3939``` kotlin
40- implementation(" com.squareup.okhttp3:logging-interceptor:4.8.1 " )
40+ implementation(" com.squareup.okhttp3:logging-interceptor:4.9.0 " )
4141```
4242
4343
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
77### Download
88
99``` kotlin
10- testImplementation(" com.squareup.okhttp3:okhttp-sse:4.8.1 " )
10+ testImplementation(" com.squareup.okhttp3:okhttp-sse:4.9.0 " )
1111```
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ Download
227227--------
228228
229229``` kotlin
230- implementation(" com.squareup.okhttp3:okhttp-tls:4.8.1 " )
230+ implementation(" com.squareup.okhttp3:okhttp-tls:4.9.0 " )
231231```
232232
233233 [ held_certificate ] : http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav
66### Download
77
88``` kotlin
9- testImplementation(" com.squareup.okhttp3:okhttp-urlconnection:4.8.1 " )
9+ testImplementation(" com.squareup.okhttp3:okhttp-urlconnection:4.9.0 " )
1010```
You can’t perform that action at this time.
0 commit comments