OkHttp v2.0.0 Release Notes

  • 🚀 This release commits to a stable 2.0 API. Read the 2.0.0-RC1 changes for advice ⬆️ on upgrading from 1.x to 2.x.

    2014-06-21

    • API Change: Use IOException in Callback.onFailure(). This is a source-incompatible change, and is different from OkHttp 2.0.0-RC2 which used Throwable.
    • Fix: Fixed a caching bug where we weren't storing rewritten request headers like Accept-Encoding.
    • Fix: Fixed bugs in handling the SPDY window size. This was stalling certain large downloads
    • Update the language level to Java 7. (OkHttp requires Android 2.3+ or Java 7+.)