1.4.6
1.RequestParams 進行了序列化
2.修復了content-type作爲HttpEntity參數時丟失的問題
3.Added option to add File part with custom file name (overriding the real file name)
4.修復了JsonStreamEntity中not-escaped contents
5.將connect超時和response超時分開設置了
6.允許將Looper傳入到*HttpResponseHandler
7.修復了用了GZIP下載的進度錯誤
8.修復了在進行AsyncHttpClient.cancelRequest操作時ConcurrentModificationException
9.修復了在 TextHttpResponseHandler 和 JsonHttpResponseHandler 在解析response時處理數據的一些bug
10.Added warnings for not overriden calls in JsonHttpResponseHandler (and others)
11.Added more samples (eg. AsyncBackgroundThreadSample.java, ContentTypeForHttpEntitySample.java, PrePostProcessingSample.java)
12.Added option to pre- and post- process data in AsyncHttpRequest.java via subclass (see PrePostProcessingSample.java)
1.4.7
1.修復了從UI線程通過RequestHandle取消請求的Crash,NetworkOnMainThreadException
2.修復Url編碼錯誤,that was breaking whole URL, not just path and query parts
3.FileAsyncHttpResponseHandler 現在將檢查目標文件路徑是否可用或者可以被創建
4.修復了DataAsyncHttpResponseHandler 發送 cancel notification 而不是發送 progress notification
5.Added support for HTTP PATCH requests
6.修復了FileAsyncHttpResponseHandler 中嘗試創建一個已存在的目錄的Assert異常
7.在AsyncHttpClient中爲簡單的覆蓋ClientConnectionManager的配置提供一些方法
8.修改onProgress from (int,int) to (long,long)
9.將preemtive重新命名爲preemptive
10.在RequestParams爲put File array增加一些操作
11.RequestParams現在支持強制將Content-Type轉化成multipart/form-data,儘管沒有 files/streams成爲multiparted
12.Gradle added support for installing to local maven repository, through gradle installArchives task
13.在JsonHttpResponseHandler將支持 Json RFC5179
1.4.8
1.BinaryHttpResponseHandler 中新增構造函數允許Looper 作爲參數
2.SaxAsyncHttpResponseHandler 提供了一些常用的字符集,不再使用默認的一個
3.打印日誌時使用更簡短的標誌如 "ResponseHandler" 簡化成"RH"(爲了強行通過Lint 檢查)
4.更新了RequestHandle.cancel(boolean)處的文檔說明,並且按照handle state正確的返回 值
5.SaxAsyncHttpResponseHandler 中onFailure(int, Header[], byte[], Throwable) 被錯誤的寫成了onSuccess(int, Header[], T),修改成onFailure(int, Header[], T)(T SAX DefaultHandler)
6.修復在 onProgress(int,int) 處的文檔
7.Sample application now can be built with LeakCanary, use i.e. gradle :sample:installWithLeakCanaryDebug to use it
8.更新RequestParams 的文檔:handling arrays, sets and maps
9.增加BlackholeHttpResponseHandler 的實現,丟棄了所有的response內容和各種日誌
10.增加LogInterface,他是操作是否記錄日誌的默認實現
11.增加了TAG 標記RequestHandle ,可以根據TAG取消請求AsyncHttpClient.cancelRequestsByTAG(Object TAG)
12.用 getConnectTimeout() and getResponseTimeout() 替代getTimeout()
13.用clearCredentialsProvider()代替clearBasicAuth()
1.4.9
1.cz.msebera.android.httpclient代替org.apache.http
2.https://github.com/smarek/httpclient-android/
3.爲API23實現兼容性
4. FileAsyncHttpResponseHandler 增加構造函數有usePoolThread 作爲參數,他可以使在子線程中回調而不是在主線程中