5.5.0From commit messages
parent-5.5.0
Added 5
- Dns2, the new OkHttp DNS API with support for DNS message reading and writing, HTTPS DNS records, and Dns.lookup on DnsOverHttps.
- ECH (Encrypted Client Hello) support including service metadata in Route, configureTlsExtensions API integration, Android ECH support, and EchAwareDns.
- RFC 1008 (QUERY Method) support.
- CachingTransport for DNS caching with in-memory caching in DnsOverHttps and AndroidDns, public DnsCache API, and cache eviction.
- FakeNetwork for testing that allows completely faking out the network and TLS.
Changed 1
- Update to Okio 3.18 and support Kotlin Multiplatform in applyJavaModules.
Fixed 4
- Don't crash route selection when the system proxy selector throws.
- Reject malformed DNS messages that have infinite loops.
- read HTTPS mandatory SvcParamKeys as 16-bit values and read DNS RDLENGTH as an unsigned 16-bit value.
- Flush HTTP/1 request bodies before detachTimeout and handle unsupported AliasMode records, ECH Retry, and conscrypt provider changes.