android-async-http v1.4.8 Release Notes

Release Date: 2015-07-17 // almost 9 years ago
  • Complete list of commits included is here https://github.com/loopj/android-async-http/commits/1.4.8
    List of closed issues is here https://github.com/loopj/android-async-http/issues?milestone=7&state=closed

    • New constructor for BinaryHttpResponseHandler which takes Looper as argument (thanks to @ScottFrank)
    • SaxAsyncHttpResponseHandler can be now provided with custom charset, instead of just using default one
    • Library LogCat tags now use shorter form (forced through Lint checks), appendix "ResponseHandler" shortened to "RH"
    • Updated documentation on RequestHandle.cancel(boolean) and returning correct response according to handle state
    • SaxAsyncHttpResponseHandler onFailure(int, Header[], byte[], Throwable) used wrong fallback to onSuccess(int, Header[], T), fixed to onFailure(int, Header[], T), where T extends SAX DefaultHandler
    • Regression fix on onProgress(int,int) documentation
    • Sample application now can be built with LeakCanary, use i.e. gradle :sample:installWithLeakCanaryDebug to use it
    • Updated RequestParams documentation on handling arrays, sets and maps, along with new RequestParamsDebug sample
    • Added BlackholeHttpResponseHandler implementation, which discards all response contents and silents all various log messages (see #416)
    • Added LogInterface, it's default implementation and interface option to disable/enable logging library-wide and set logging verbosity
    • Added option to TAG RequestHandle and cancel all requests matching specified TAG through AsyncHttpClient.cancelRequestsByTAG(Object TAG)
    • Removed deprecated getTimeout() replaced by getConnectTimeout() and getResponseTimeout() respectively
    • Removed deprecated clearBasicAuth() replaced by clearCredentialsProvider()