mirror of
https://github.com/square/okhttp.git
synced 2025-08-07 12:42:57 +03:00
Prepare for release 4.0.0.
This commit is contained in:
26
CHANGELOG.md
26
CHANGELOG.md
@@ -1,6 +1,17 @@
|
|||||||
Change Log
|
Change Log
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
## Version 4.0.0
|
||||||
|
|
||||||
|
_2019-06-26_
|
||||||
|
|
||||||
|
**This release upgrades OkHttp to Kotlin.** We tried our best to make fast and safe to upgrade
|
||||||
|
from OkHttp 3.x. We wrote an [upgrade guide][upgrading_to_okhttp_4] to help with the migration and a
|
||||||
|
[blog post][okhttp4_blog_post] to explain it.
|
||||||
|
|
||||||
|
* Fix: Target Java 8 bytecode for Java and Kotlin.
|
||||||
|
|
||||||
|
|
||||||
## Version 4.0.0-RC3
|
## Version 4.0.0-RC3
|
||||||
|
|
||||||
_2019-06-24_
|
_2019-06-24_
|
||||||
@@ -26,11 +37,7 @@ _2019-06-21_
|
|||||||
|
|
||||||
_2019-06-03_
|
_2019-06-03_
|
||||||
|
|
||||||
**OkHttp 4 upgrades OkHttp to Kotlin.** This is the first stable preview of OkHttp 4. Use it to find
|
* First stable preview of OkHttp 4.
|
||||||
bugs or performance regressions before the final 4.0.0 release.
|
|
||||||
|
|
||||||
We tried our best to make it fast and safe to upgrade from OkHttp 3.x.
|
|
||||||
[We even wrote a guide][upgrading_to_okhttp_4] to help you with it!
|
|
||||||
|
|
||||||
|
|
||||||
## Version 3.14.2
|
## Version 3.14.2
|
||||||
@@ -1794,7 +1801,7 @@ Initial release.
|
|||||||
|
|
||||||
[brick]: https://noncombatant.org/2015/05/01/about-http-public-key-pinning/
|
[brick]: https://noncombatant.org/2015/05/01/about-http-public-key-pinning/
|
||||||
[webdav]: https://tools.ietf.org/html/rfc4918
|
[webdav]: https://tools.ietf.org/html/rfc4918
|
||||||
[major_versions]: http://jakewharton.com/java-interoperability-policy-for-major-version-updates/
|
[major_versions]: https://jakewharton.com/java-interoperability-policy-for-major-version-updates/
|
||||||
[nginx_959]: https://trac.nginx.org/nginx/ticket/959
|
[nginx_959]: https://trac.nginx.org/nginx/ticket/959
|
||||||
[okhttp_idling_resource]: https://github.com/JakeWharton/okhttp-idling-resource
|
[okhttp_idling_resource]: https://github.com/JakeWharton/okhttp-idling-resource
|
||||||
[bom]: https://en.wikipedia.org/wiki/Byte_order_mark
|
[bom]: https://en.wikipedia.org/wiki/Byte_order_mark
|
||||||
@@ -1808,7 +1815,8 @@ Initial release.
|
|||||||
[require_android_5]: https://medium.com/square-corner-blog/okhttp-3-13-requires-android-5-818bb78d07ce
|
[require_android_5]: https://medium.com/square-corner-blog/okhttp-3-13-requires-android-5-818bb78d07ce
|
||||||
[obsolete_apache_client]: https://gist.github.com/swankjesse/09721f72039e3a46cf50f94323deb82d
|
[obsolete_apache_client]: https://gist.github.com/swankjesse/09721f72039e3a46cf50f94323deb82d
|
||||||
[obsolete_url_factory]: https://gist.github.com/swankjesse/dd91c0a8854e1559b00f5fc9c7bfae70
|
[obsolete_url_factory]: https://gist.github.com/swankjesse/dd91c0a8854e1559b00f5fc9c7bfae70
|
||||||
[tls_configuration_history]: http://square.github.io/okhttp/tls_configuration_history/
|
[tls_configuration_history]: https://square.github.io/okhttp/tls_configuration_history/
|
||||||
[grpc_http2]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
|
[grpc_http2]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
|
||||||
[upgrading_to_okhttp_4]: http://square.github.io/okhttp/upgrading_to_okhttp_4/
|
[upgrading_to_okhttp_4]: https://square.github.io/okhttp/upgrading_to_okhttp_4/
|
||||||
[interceptors]: http://square.github.io/okhttp/interceptors/
|
[interceptors]: https://square.github.io/okhttp/interceptors/
|
||||||
|
[okhttp4_blog_post]: https://cashapp.github.io/2019-06-26/okhttp-4-goes-kotlin
|
||||||
|
@@ -100,7 +100,7 @@ Releases
|
|||||||
Our [change log][changelog] has release history.
|
Our [change log][changelog] has release history.
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
implementation("com.squareup.okhttp3:okhttp:3.14.2")
|
implementation("com.squareup.okhttp3:okhttp:4.0.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
Snapshot builds are [available][snap].
|
Snapshot builds are [available][snap].
|
||||||
@@ -120,7 +120,7 @@ MockWebServer
|
|||||||
OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
|
OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:mockwebserver:3.14.2")
|
testImplementation("com.squareup.okhttp3:mockwebserver:4.0.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
|
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
|
||||||
|
|
||||||
GROUP=com.squareup.okhttp3
|
GROUP=com.squareup.okhttp3
|
||||||
VERSION_NAME=4.0.0-SNAPSHOT
|
VERSION_NAME=4.0.0
|
||||||
|
|
||||||
POM_URL=https://github.com/square/okhttp
|
POM_URL=https://github.com/square/okhttp
|
||||||
POM_SCM_URL=https://github.com/square/okhttp
|
POM_SCM_URL=https://github.com/square/okhttp
|
||||||
|
@@ -142,7 +142,7 @@ server.setDispatcher(dispatcher);
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:mockwebserver:3.14.2")
|
testImplementation("com.squareup.okhttp3:mockwebserver:4.0.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
@@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:3.14.2")
|
testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:4.0.0")
|
||||||
```
|
```
|
||||||
|
@@ -37,7 +37,7 @@ Download
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
implementation("com.squareup.okhttp3:logging-interceptor:3.14.2")
|
implementation("com.squareup.okhttp3:logging-interceptor:4.0.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@@ -7,5 +7,5 @@ API is not considered stable and may change at any time.
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:okhttp-sse:3.14.2")
|
testImplementation("com.squareup.okhttp3:okhttp-sse:4.0.0")
|
||||||
```
|
```
|
||||||
|
@@ -227,7 +227,7 @@ Download
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
implementation("com.squareup.okhttp3:okhttp-tls:3.14.2")
|
implementation("com.squareup.okhttp3:okhttp-tls:4.0.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
[held_certificate]: http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/
|
[held_certificate]: http://square.github.io/okhttp/4.x/okhttp-tls/okhttp3.tls/-held-certificate/
|
||||||
|
@@ -6,5 +6,5 @@ This module integrates OkHttp with `Authenticator` and `CookieHandler` from `jav
|
|||||||
### Download
|
### Download
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:3.14.2")
|
testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.0.0")
|
||||||
```
|
```
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
Samples
|
Samples
|
||||||
=======
|
=======
|
||||||
|
Reference in New Issue
Block a user