Skip to content

Commit ec25dde

Browse files
committed
Added CHANGELOG.md for changes in 1.4.4 and 1.4.5 versions
1 parent c4a4ccb commit ec25dde

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed

CHANGELOG.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# CHANGELOG
2+
----
3+
4+
## 1.4.5 (released 22.6.2014)
5+
6+
Complete list of commits included is here [https://github.com/loopj/android-async-http/commits/1.4.5](https://github.com/loopj/android-async-http/commits/1.4.5)
7+
List of closed issues is here [https://github.com/loopj/android-async-http/issues?milestone=2&state=closed](https://github.com/loopj/android-async-http/issues?milestone=2&state=closed)
8+
9+
- Support for circular and relative redirects
10+
- Added support for SAX parsing, see `SaxAsyncHttpResponseHandler`
11+
- Fixed Threading issue when used in Service or non-UI Thread context
12+
- Fixed GZIPInputStream issue when running in StrictMode
13+
- Removed unnecessary (ambiguous) callback methods (were deprecated in 1.4.4)
14+
- Added JsonStreamerEntity to allow up streaming JSON data
15+
- Added possibility to modify blacklisted/whitelisted exceptions (see `RetryHandler`)
16+
- Using `newCachedThreadPool()` as default ExecutorService in library, with option to change it via main interface
17+
- Added `ResponseHandlerInterface` to support completely custom implementations of response handlers
18+
- Added `onProgress(int,int)` callback, which is used for upstream progress logging (eg. Progressbar dialogs)
19+
- Fixed "division by zero" in default response handler
20+
- Added DataAsyncHttpResponseHandler, which has extra callback method which receives partially received data
21+
- Fixed problem with uploading more than 2 files (changes in SimpleMultipartEntity)
22+
- Fixed problem where on GarbageCollectors activity there was no callback received
23+
- Added warning for cases, where headers overwrite each other (between common headers and per-request headers)
24+
- Safely closing IO streams (both upstream and downstream)
25+
- Fixed PersistentCookieStore issue, where non-persistent cookies were stored and added option to delete stored cookie
26+
- Fixed networkOnMainThreadException when canceling requests (`AsyncHttpClient#cancel(boolean)`)
27+
- Removed default User-Agent definition from library
28+
- Fixed handling null URLs in default interface calls
29+
- Allowed to subclass AsyncHttpClient and simply provide custom AsyncHttpRequest object (`AsyncHttpClient#newAsyncHttpRequest`)
30+
- Changed project structure to be default Intellij IDEA structure (eg. library/src/main/java)
31+
- Catching UnsupportedEncodingException default Async and Text response handlers
32+
- Added strict Lint checking for both Library and Sample application
33+
- Added example implementations in Sample application
34+
- Requests threading (ThreadPool usage, 6 seconds delay on response)
35+
- Synchronous request (from Activity and IntentService)
36+
- SAX Parsing the response
37+
- Retry request sample
38+
- Handling 302 redirects
39+
- RangeResponse (working with partially received data)
40+
- Basic usage of GET, POST, PUT, DELETE
41+
- JSON response parsing
42+
- GZIP compressed communication
43+
- Binary handler (receives `byte[]` without parsing/converting)
44+
- File response handler (saving response directly into given File)
45+
- Self-signed CA sample (how to pin SSL certificate or add custom trust-chain for requests)
46+
- Persistent cookies store (persisting cookies between requests)
47+
- Post multi-part encoded Files (SimpleMultipartEntity)
48+
- Jackson JSON integration
49+
50+
## 1.4.4 (released 28.10.2013)
51+
52+
Complete list of commits included is here [https://github.com/loopj/android-async-http/commits/1.4.4](https://github.com/loopj/android-async-http/commits/1.4.4)
53+
List of closed issues is here [https://github.com/loopj/android-async-http/issues?milestone=1&state=closed](https://github.com/loopj/android-async-http/issues?milestone=1&state=closed)
54+
55+
- Added FileAsyncHttpResponseHandler for direct saving response into File instead of device memory
56+
- JsonHttpResponseHandler now parsing JSON in separate thread
57+
- Interface method to allow/deny handling of http redirects
58+
- Added method to delete previously set header (AsyncHttpClient.java)
59+
- Not creating new Thread if call initiated outside of UI Thread (broken, fixed in 1.4.5)
60+
- Support for changing response Charset (default still UTF-8)
61+
- Allow setting maximum retries count (AsyncHttpClient.java)
62+
- SimpleMultipartEntity now allows repeated usage (`HttpEntity.isRepeatable()`)
63+
- Added custom SSLSocketFactory to allow certificate pinning and accepting self-signed or untrusted SSL certificates
64+
- Callbacks to return HTTP status code and response Headers
65+
- Added support for unsetting Basic Auth params
66+
- Added support for non-standard HTTP and HTTPS ports (new constructors of `AsyncHttpClient`)
67+
- Allowed to change dynamically allowed content-types for BinaryHttpResponseHandler per-response-handler (was static previously)
68+
- Added support for setting proxy, optionally with authentication
69+
- `AsyncHttpClient#setProxy(String hostname, int port, String username, String password)`
70+
- Support for passing Maps, Sets and Lists via RequestParams
71+
- Properly chaining callback methods (onSuccess, onFailure, ...) in descendant order by number of function params
72+
- Fixed incorrect handling of URLs with spaces after redirect
73+
- now sanitizes spaces within URL both on-request and on-redirect
74+
- Added RequestHandle which can be used to cancel and/or check request status
75+
- Is returned for each call (`.post(...)`, `.get(...)`, `.head(...)`, `.put(...)`, etc..)
76+
- Added BaseJsonHttpResponseHandler to simplify integration with Jackson JSON, Gson and other JSON parsing libraries
77+
- Added Sample application to demonstrate functions and usage
78+
- Using [http://httpbin.org/](http://httpbin.org/) to test methods
79+
- Enforcing INTERNET permission
80+
- Support for Gradle buildscript
81+
- Support for Travis CI (Continuous Integration) testing
82+
- Dropped support for Eclipse ADT usage (obsolete)
83+
- Added HTTP HEAD method support
84+
- Releasing both AAR and JAR (+javadoc and sources) into Maven Central repository
85+
- Added tons of mising Javadoc for both classes and methods

0 commit comments

Comments
 (0)