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 作为参数,他可以使在子线程中回调而不是在主线程中