~ubuntu-branches/ubuntu/lucid/commons-httpclient/lucid

« back to all changes in this revision

Viewing changes to RELEASE_NOTES.txt

  • Committer: Bazaar Package Importer
  • Author(s): Barry Hawkins
  • Date: 2005-11-25 13:12:23 UTC
  • Revision ID: james.westby@ubuntu.com-20051125131223-2g7eyo21pqgrohpo
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Release 2.0.2
 
2
-------------------
 
3
Changes since Release 2.0.1
 
4
 
 
5
 * ContentLengthInputStream no longer supports mark() & reset() methods. 
 
6
 
 
7
 * 21329 - Added input buffering to improve performance
 
8
 
 
9
Release 2.0.1
 
10
-------------------
 
11
Changes since Release 2.0
 
12
 
 
13
 * 30175 - Fixed StringIndexOutOfBoundsException in StatusLine
 
14
 
 
15
 * 29897 - Connection output buffer is set to a value not greater than 2k
 
16
 
 
17
 * 29549 - Split wire log into header and body parts
 
18
 
 
19
 * 29377 - Cookies with names containing blanks or starting with $ rejected by RFC2109
 
20
   spec only.
 
21
 
 
22
 * 29265 - HttpConnection.isOpen() no longer logs closed connections as stale.
 
23
 
 
24
 * 28728 - HttpUrl now accepts unescaped passwords
 
25
 
 
26
 * 28626 - Fixed ArrayIndexOutOfBoundsException in HttpStatus.getStatusText()
 
27
 
 
28
 * 27589 - Added MultiThreadedHttpConnectionManager shutdown() and shutdownAll().
 
29
 
 
30
 * HttpMethod#recycle() has been deprecated.
 
31
 
 
32
Release 2.0
 
33
-------------------
 
34
Changes since Release Candidate 3:
 
35
 
 
36
 * 26500 - Socket timeout is now correctly set on open connections
 
37
 
 
38
 * 26328 - Fixed getScheme() and getPort() returning wrong defaults for HttpsURL
 
39
 
 
40
 * 26139 - Fixed possible connection leak caused by lack of equals() and hashCode() on protocol
 
41
   socket factories
 
42
   
 
43
 * 26688 - Fixed the problem with HttpURL creating wrong authority String when user info is changed
 
44
 
 
45
Release 2.0 Release Candidate 3
 
46
-------------------
 
47
Changes since Release Candidate 2:
 
48
 
 
49
 * HTTP status line parser changed to be more robust when dealing with non-compliant 
 
50
   HTTP responses (leading blanks before 'HTTP' signature).
 
51
 
 
52
 * Fixed NPE in HttpMethodBase#responseBodyConsumed().
 
53
 
 
54
 * 24309 - Changed MultiThreadedHttpConnectionManager to move to a single connection 
 
55
   GC thread.  Fixed memory and thread leaks.
 
56
 
 
57
 * 24327 - Fixed a bug where HttpClient did not reset the 'force-close connection' 
 
58
   flag, when an HTTP method was automatically retried (for instance, when automatically 
 
59
   handling an authentication challenge).
 
60
 
 
61
 * 24352 - Fixed the bug causing basic authentication via NLTM Proxy to fail.
 
62
 
 
63
 * 25370  - Connections are now closed and released automatically when an unrecoverable 
 
64
   exception occurs in HttpMethodBase.processRequest().
 
65
 
 
66
 * 23866 - Fixed possible uncaught IllegalArgumentException in Cookie parsing.
 
67
 
 
68
 * 25264 - Added support for cookies with a domain attribute '.domain.com' issued by 
 
69
   host 'domain.com' in the browser compatibility mode. Even though the cookie violates 
 
70
   RFC 2109 it still gets accepted by mainstream browsers (tested with Mozilla Firebird and IE).
 
71
 
 
72
 * 24869 - Changed DigestScheme to only accept a challenge if all fields required 
 
73
   by RFC 2617 are present.
 
74
 
 
75
 * 24671 - Added ISO-8859-1 support for digest authentication passwords, and basic authentication 
 
76
   user names and passwords.
 
77
 
 
78
 * Javadoc enhancements.
 
79
 
 
80
Release 2.0 Release Candidate 2
 
81
-------------------
 
82
Changes since Release Candidate 1:
 
83
 
 
84
 * 23708 - Added try/catch blocks around calls to System.getProperty().
 
85
 
 
86
 * 23431 - Added support for disabling transfer-encoding and content-type headers in
 
87
   multi-part posts. 
 
88
 
 
89
 * 23663 - Changed HttpMethodBase to release its HttpConnection when a recoverable 
 
90
   exception occurs.
 
91
 
 
92
 * Javadoc enhancements.
 
93
 
 
94
 * 23284 - Fixed bug with URI.isIPv4address(). 
 
95
 
 
96
 * 22969 - PostMethod#setParameter fixed to correctly overwrite existing parameters. 
 
97
 
 
98
 * 22970 - Fixed bug with PostMethod#removeParameter return value. 
 
99
 
 
100
 * Improved compliance to RFC 2617
 
101
 
 
102
 * 22926 - Added support for digest auth MD5-sess. 
 
103
 
 
104
 * 22655 - Added support for stale digest nonce values. 
 
105
 
 
106
 * 22968 - HttpConnection.isResponseAvailable() made a little more robust, particularly when 
 
107
   used by HeadMethod. 
 
108
 
 
109
 * 22941 - Switched the order in which socket streams are closed: output stream closed first,
 
110
   followed by input stream. 
 
111
 
 
112
 * Added debugging for connection reclaiming. 
 
113
 
 
114
 * Removed JCE initialization code specific to the Sun's implementation. 
 
115
 
 
116
 * Fixed problem of Basic, Digest & NTLM authentication schemes under certain circumstances 
 
117
   leaking passwords in clear text to the DEBUG log. 
 
118
 
 
119
 * Fixed the problem with incorrect selection of the proxy authentication realm. 
 
120
 
 
121
 * Changed URI.normalize() to ignore relative path normalization. 
 
122
 
 
123
Release 2.0 Release Candidate 1
 
124
-------------------
 
125
Changes since Release 2.0 Beta 2:
 
126
 
 
127
 * Option to disable 'stale' connection check that may lead to a slight
 
128
   performance improvement at the cost of reduced reliability
 
129
 
 
130
 * Improved debug logging in multi-threaded connection manager
 
131
 
 
132
 * URI.normalize() no longer has an effect on relative URIs.
 
133
 
 
134
 * 21532 - Removed use of sun.* class in URI.java 
 
135
 
 
136
 * 20481 - Changed query param encoding to UTF-8.
 
137
 
 
138
 * 21378 - Multiple transfer encoding headers are now handled properly. Non chunked transfer 
 
139
   encodings are now handled correctly.
 
140
 
 
141
Release 2.0 Beta 2
 
142
-------------------
 
143
Changes since Release 2.0 Beta 1:
 
144
 
 
145
 * 20240 - Cookies with null path are no longer rejected in the
 
146
   browser compatibility mode.
 
147
 
 
148
 * 20481 - Query parameters set via HttpMethodBase.setQueryString(NameValuePair[])
 
149
   now correctly use 'application/x-www-form-urlencoded' encoding.
 
150
 
 
151
 * 20481 - POST method correctly applies 'application/x-www-form-urlencoded'
 
152
   encoding.
 
153
 
 
154
 * 20569 - Duplicate connection headers are now handled.
 
155
 
 
156
 * 20646 - Fixed NTLM proxy authentication via SSL. 
 
157
 
 
158
 * 20665 - Changed URI to correctly handle path resolution according to 
 
159
   http://www.apache.org/~fielding/uri/rev-2002/issues.html.  In 
 
160
   particular dot-segments are removed when not necessary.
 
161
 
 
162
 * 20938 - Connections are now closed when the request is missing a content 
 
163
   length and is not chunked.
 
164
 
 
165
 * 20942 - Requests with DIGEST authentication are now correctly handled 
 
166
   when redirected.
 
167
 
 
168
 * 21130 - DEFAULT_MAX_HOST_CONNECTIONS and DEFAULT_MAX_TOTAL_CONNECTIONS are
 
169
   now public in MultiThreadedHttpConnectionManager.
 
170
 
 
171
 * 21201 - URIs are now correctly rebuilt following a call to URI.normalize().
 
172
 
 
173
 * 21202 - WireLogInputStream.read(byte[]) now logs the correct number of bytes.
 
174
 
 
175
 * Fixed path parsing in RFC2109 cookie spec.
 
176
 
 
177
 * Fixed possible NPE when reading an empty response body.
 
178
 
 
179
 * The various to*Charset() methods of URIUtil have been deprecated.
 
180
 
 
181
Release 2.0 Beta 1
 
182
-------------------
 
183
Changes since Release 2.0 Alpha 3:
 
184
 
 
185
 * Changed HttpConnection to use socket timeout instead of busy 
 
186
   waiting while expecting input.
 
187
 
 
188
 * Added a getResponseContentLength() method to HttpMethod.
 
189
 
 
190
 * Changed HttpClient to accept correctly encoded URLs instead of 
 
191
   attempting to encode them within HttpClient.
 
192
 
 
193
 * 'Expect: 100-continue' logic factored out into an abstract 
 
194
   ExpectContinueMethod class
 
195
 
 
196
 * 'Expect: 100-Continue' handshake disabled per default, as it may not work 
 
197
   properly with older HTTP/1.0 servers or proxies.
 
198
 
 
199
 * Reengineered authentication code.  This includes a fix for 
 
200
   HttpClient continually attempting to authenticate to digest realms and 
 
201
   provides for better future extensibility.
 
202
 
 
203
 * Authenticator class deprecated
 
204
 
 
205
 * Improved user documentation and example code.
 
206
 
 
207
 * Added ability to differentiate between different hosts using the 
 
208
   same realm names.
 
209
 
 
210
 * Added support for specifying a virtual host name to use.
 
211
 
 
212
 * Fixed problem with half-closed connections causing a 
 
213
   HttpRecoverableException to be thrown when HttpClient attempts to read 
 
214
   from a socket.
 
215
 
 
216
 * Improved reliability with the HEAD method and servers that 
 
217
   incorrectly include a response body.
 
218
 
 
219
 * Improved support for connection keep-alive when communicating via a proxy
 
220
 
 
221
 * Added an override of HttpClient.executeMethod that lets the
 
222
   caller specify an HttpState object.
 
223
 
 
224
 * HttpConnectionManager is now a property of the HttpClient class, 
 
225
   not of the HttpState class
 
226
 
 
227
 * Added ability to specify the local address that HttpClient should 
 
228
   create connections from.
 
229
 
 
230
 
 
231
Release 2.0 Alpha 3
 
232
-------------------
 
233
Changes since Release 2.0 Alpha 2:
 
234
 
 
235
 * Abstract EntityEnclosingMethod class has been introduced to encapsulate
 
236
   common behaviour of all entity enclosing methods
 
237
 
 
238
 * "Expect: 100-continue" handshake support added for POST, PUT & multipart POST
 
239
 
 
240
 * Added support for chunked requests for POST and PUT.
 
241
 
 
242
 * Added support for 303 See Other redirections.
 
243
 
 
244
 * Changed input and output streams to use buffering to improve performance.
 
245
 
 
246
 * Improved handling of multivalue headers. Order is now preserved and 
 
247
   convenience methods have been added to access each value.
 
248
 
 
249
 * In non-strict mode each cookie sent with the request is put on a separate 
 
250
   request header. In strict mode all cookies are crammed into one request header, 
 
251
   as before.
 
252
 
 
253
 * ResponseInputStream class deprecated.
 
254
 
 
255
 * RequestOutputStream class deprecated.
 
256
 
 
257
 * Custom character set can be specified for all multipart classes. 
 
258
 
 
259
 * Custom content type can be specified for FilePart derived multipart classes.
 
260
 
 
261
 * The useDisk methods in GetMethod class deprecated.
 
262
 
 
263
 
 
264
Release 2.0 Alpha 2
 
265
------------------
 
266
Changes since Release 2.0 Alpha 1:
 
267
 
 
268
 * Mavenized builds.
 
269
 
 
270
 * Digest authentication.  NTLM authentication.
 
271
 
 
272
 * Multipart post.
 
273
 
 
274
 * Added a StatusLine class to manage the status line of a
 
275
   http response.
 
276
 
 
277
 * Added ability to cusomize SocketFactory for http and https. 
 
278
   New Protocol class to allow for more protocols than just http/s.
 
279
 
 
280
 * Removed the HttpMultiClient, added multi-thread support to 
 
281
   HttpClient.
 
282
 
 
283
 * Revamp the streaming policy.  Added AutoCloseInputStream,
 
284
   ChunkedInputStream, ChunkedOutputStream, ContentLengthInputStream,
 
285
   ResponseConsumedWatcher
 
286
 
 
287
 * Commons Logging.  Dependancy on the commons-logging.jar
 
288
 
 
289
 * Added httpclient.util package.  Move Base64 and URIUtil classs 
 
290
   into util.
 
291
 
 
292
 * Added a HttpURLConnection wrapper.  Allows for wrapping 
 
293
   HttpClient into the java standard library.  Partial support only.
 
294
 
 
295
 * Added httpclient.cookie package.  Complete overhaul of cookie
 
296
   handling.  Allows for user specified CookiePolicy and 
 
297
   various cookie specification classes.
 
298
  
 
299
 * Removed previously deprecated Cookie.createCookieHeader(String,
 
300
   String,boolean,Cookie[]) method (port number is required for
 
301
   future compatibility).
 
302
 
 
303
 * Also removed Cookie.createCookieHeader(String,String,Cookie[])
 
304
   method, which should have been deprecated (port number is
 
305
   required for future compatibility)
 
306
 
 
307
 * Renamed HttpMethod.followRedirects to getFollowRedirects,
 
308
   for consistency (and made the corresponding change to
 
309
   HttpMethodBase)
 
310