Sourced from okhttp's changelog.
Version 4.9.1
2021-01-30
- Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads concurrently close an SSL socket. This would have appeared in crash logs as
NullPointerException: bio == null.Version 4.9.0
2020-09-11
With this release,
okhttp-tlsno longer depends on Bouncy Castle and doesn't install the Bouncy Castle security provider. If you still need it, you can do it yourself:Security.addProvider(BouncyCastleProvider())You will also need to configure this dependency:
dependencies { implementation "org.bouncycastle:bcprov-jdk15on:1.65" }
- Upgrade: [Kotlin 1.4.10][kotlin_1_4_10]. We now use Kotlin 1.4.x [functional interfaces][fun_interface] for
Authenticator,Interceptor, and others.- Upgrade: Build with Conscrypt 2.5.1.
Version 4.8.1
2020-08-06
- Fix: Don't crash in
HeldCertificate.Builderwhen creating certificates on older versions of Android, including Android 6. We were using a feature ofSimpleDateFormatthat wasn't available in those versions!Version 4.8.0
2020-07-11
- New: Change
HeldCertificate.Builderto use its own ASN.1 certificate encoder. This is part of our effort to remove the okhttp-tls module's dependency on Bouncy Castle. We think Bouncy Castle is great! But it's a large dependency (6.5 MiB) and its security provider feature impacts VM-wide behavior.
... (truncated)
63dcd95 Prepare for release 4.9.1.d2e28ab Silently ignore 'bio == null' NullPointerExceptions (#6534)cbeaf8f Prepare for release 4.9.0.8fd74a7 Conscrypt 2.5.1 Upgrade (#6263)2bd749d Kotlin 1.4.10 Upgrade (#6264)0164696 Fix build on windows (#6257)e4c3b28 Fix HttpUrl documentation (#6259)8c2f383 Document interceptor throwing modes (#6235)a76c40a Kotlin 1.4 dependency upgrade and language features (#5947)1589741 Fix Caching documentation. (#6247)