UNPKG

25 kBMarkdownView Raw
1# This HISTORY log is deprecated
2
3Please see [GitHub releases page](https://github.com/visionmedia/superagent/releases) for the current changelog.
4
5# 4.1.0 (2018-12-26)
6
7 * `.connect()` IP/DNS override option (Kornel)
8 * `.trustLocalhost()` option for allowing broken HTTPS on `localhost`
9 * `.abort()` used with promises rejects the promise.
10
11# 4.0.0 (2018-11-17)
12
13## Breaking changes
14
15* Node.js v4 has reached it's end of life, so we no longer support it. It's v6+ or later. We recommend Node.js 10.
16* We now use ES6 in the browser code, too.
17 * If you're using Browserify or Webpack to package code for Internet Explorer, you will also have to use Babel.
18 * The pre-built node_modules/superagent.js is still ES5-compatible.
19* `.end(…)` returns `undefined` instead of the request. If you need the request object after calling `.end()` (and you probably don't), save it in a variable and call `request.end(…)`. Consider not using `.end()` at all, and migrating to promises by calling `.then()` instead.
20* In Node, responses with unknown MIME type are buffered by default. To get old behavior, if you use custom _unbuffered_ parsers, add `.buffer(false)` to requests or set `superagent.buffer[yourMimeType] = false`.
21* Invalid uses of `.pipe()` throw.
22
23
24## Minor changes
25
26* Throw if `req.abort().end()` is called
27* Throw if using unsupported mix of send and field
28* Reject `.end()` promise on all error events (Kornel Lesiński)
29* Set `https.servername` from the `Host` header (Kornel Lesiński)
30* Leave backticks unencoded in query strings where possible (Ethan Resnick)
31* Update node-mime to 2.x (Alexey Kucherenko)
32* Allow default buffer settings based on response-type (shrey)
33* `response.buffered` is more accurate.
34
35# 3.8.3 (2018-04-29)
36
37* Add flags for 201 & 422 responses (Nikhil Fadnis)
38* Emit progress event while uploading Node `Buffer` via send method (Sergey Akhalkov)
39* Fixed setting correct cookies for redirects (Damien Clark)
40* Replace .catch with ['catch'] for IE9 Support (Miguel Stevens)
41
42# 3.8.2 (2017-12-09)
43
44* Fixed handling of exceptions thrown from callbacks
45* Stricter matching of `+json` MIME types.
46
47# 3.8.1 (2017-11-08)
48
49* Clear authorization header on cross-domain redirect
50
51# 3.8.0
52
53* Added support for "globally" defined headers and event handlers via `superagent.agent()`. It now remembers default settings for all its requests.
54* Added optional callback to `.retry()` (Alexander Murphy)
55* Unified auth args handling in node/browser (Edmundo Alvarez)
56* Fixed error handling in zlib pipes (Kornel)
57* Documented that 3xx status codes are errors (Mickey Reiss)
58
59# 3.7.0 (2017-10-17)
60
61* Limit maximum response size. Prevents zip bombs (Kornel)
62* Catch and pass along errors in `.ok()` callback (Jeremy Ruppel)
63* Fixed parsing of XHR headers without a newline (nsf)
64
65# 3.6.2 (2017-10-02)
66
67* Upgrade MIME type dependency to a newer, secure version
68* Recognize PDF MIME as binary
69* Fix for error in subsequent require() calls (Steven de Salas)
70
71# 3.6.0 (2017-08-20)
72
73* Support disabling TCP_NODELAY option ([#1240](https://github.com/visionmedia/superagent/issues/1240)) (xiamengyu)
74* Send payload in query string for GET and HEAD shorthand API (Peter Lyons)
75* Support passphrase with pfx certificate (Paul Westerdale (ABRS Limited))
76* Documentation improvements (Peter Lyons)
77* Fixed duplicated query string params ([#1200](https://github.com/visionmedia/superagent/issues/1200)) (Kornel)
78
79# 3.5.1 (2017-03-18)
80
81* Allow crossDomain errors to be retried ([#1194](https://github.com/visionmedia/superagent/issues/1194)) (Michael Olson)
82* Read responseType property from the correct object (Julien Dupouy)
83* Check for ownProperty before adding header (Lucas Vieira)
84
85# 3.5.0 (2017-02-23)
86
87* Add errno to distinguish between request timeout and body download timeout ([#1184](https://github.com/visionmedia/superagent/issues/1184)) (Kornel Lesiński)
88* Warn about bogus timeout options ([#1185](https://github.com/visionmedia/superagent/issues/1185)) (Kornel Lesiński)
89
90# 3.4.4 (2017-02-17)
91
92* Treat videos like images (Kornel Lesiński)
93* Avoid renaming module (Kornel Lesiński)
94
95# 3.4.3 (2017-02-14)
96
97* Fixed being able to define own parsers when their mime type starts with `text/` (Damien Clark)
98* `withCredentials(false)` (Andy Woods)
99* Use `formData.on` instead of `.once` (Kornel Lesiński)
100* Ignore `attach("file",null)` (Kornel Lesiński)
101
102# 3.4.1 (2017-01-29)
103
104* Allow `retry()` and `retry(0)` (Alexander Pope)
105* Allow optional body/data in DELETE requests (Alpha Shuro)
106* Fixed query string on retried requests (Kornel Lesiński)
107
108# 3.4.0 (2017-01-25)
109
110* New `.retry(n)` method and `err.retries` (Alexander Pope)
111* Docs for HTTPS request (Jun Wan Goh)
112
113# 3.3.1 (2016-12-17)
114
115* Fixed "double callback bug" warning on timeouts of gzipped responses
116
117# 3.3.0 (2016-12-14)
118
119* Added `.ok(callback)` that allows customizing which responses are errors (Kornel Lesiński)
120* Added `.responseType()` to Node version (Kornel Lesiński)
121* Added `.parse()` to browser version (jakepearson)
122* Fixed parse error when using `responseType('blob')` (Kornel Lesiński)
123
124# 3.2.0 (2016-12-11)
125
126* Added `.timeout({response:ms})`, which allows limiting maximum response time independently from total download time (Kornel Lesiński)
127* Added warnings when `.end()` is called more than once (Kornel Lesiński)
128* Added `response.links` to browser version (Lukas Eipert)
129* `btoa` is no longer required in IE9 (Kornel Lesiński)
130* Fixed `.sortQuery()` on URLs without query strings (Kornel Lesiński)
131* Refactored common response code into `ResponseBase` (Lukas Eipert)
132
133# 3.1.0 (2016-11-28)
134
135* Added `.sortQuery()` (vicanso)
136* Added support for arrays and bools in `.field()` (Kornel Lesiński)
137* Made `superagent.Request` subclassable without need to patch all static methods (Kornel Lesiński)
138
139# 3.0.0 (2016-11-19)
140
141* Dropped support for Node 0.x. Please upgrade to at least Node 4.
142* Dropped support for componentjs (Damien Caselli)
143* Removed deprecated `.part()`/`superagent.Part` APIs.
144* Removed unreliable `.body` property on internal response object used by unbuffered parsers.
145 Note: the normal `response.body` is unaffected.
146* Multiple `.send()` calls mixing `Buffer`/`Blob` and JSON data are not possible and will now throw instead of messing up the data.
147* Improved `.send()` data object type check (Fernando Mendes)
148* Added common prototype for Node and browser versions (Andreas Helmberger)
149* Added `http+unix:` schema to support Unix sockets (Yuki KAN)
150* Added full `attach` options parameter in the Node version (Lapo Luchini)
151* Added `pfx` TLS option with new `pfx()` method. (Reid Burke)
152* Internally changed `.on` to `.once` to prevent possible memory leaks (Matt Blair)
153* Made all errors reported as an event (Kornel Lesiński)
154
155# 2.3.0 (2016-09-20)
156
157* Enabled `.field()` to handle objects (Affan Shahid)
158* Added authentication with client certificates (terusus)
159* Added `.catch()` for more Promise-like interface (Maxim Samoilov, Kornel Lesiński)
160* Silenced errors from incomplete gzip streams for compatibility with web browsers (Kornel Lesiński)
161* Fixed `event.direction` in uploads (Kornel Lesiński)
162* Fixed returned value of overwritten response object's `on()` method (Juan Dopazo)
163
164# 2.2.0 (2016-08-13)
165
166* Added `timedout` property to node Request instance (Alexander Pope)
167* Unified `null` querystring values in node and browser environments. (George Chung)
168
169# 2.1.0 (2016-06-14)
170
171* Refactored async parsers. Now the `end` callback waits for async parsers to finish (Kornel Lesiński)
172* Errors thrown in `.end()` callback don't cause the callback to be called twice (Kornel Lesiński)
173* Added `headers` to `toJSON()` (Tao)
174
175# 2.0.0 (2016-05-29)
176
177
178## Breaking changes
179
180Breaking changes are in rarely used functionality, so we hope upgrade will be smooth for most users.
181
182* Browser: The `.parse()` method has been renamed to `.serialize()` for consistency with NodeJS version.
183* Browser: Query string keys without a value used to be parsed as `'undefined'`, now their value is `''` (empty string) (shura, Kornel Lesiński).
184* NodeJS: The `redirect` event is called after new query string and headers have been set and is allowed to override the request URL (Kornel Lesiński)
185* `.then()` returns a real `Promise`. Note that use of superagent with promises now requires a global `Promise` object.
186 If you target Internet Explorer or Node 0.10, you'll need `require('es6-promise').polyfill()` or similar.
187* Upgraded all dependencies (Peter Lyons)
188* Renamed properties documented as `@api private` to have `_prefixed` names (Kornel Lesiński)
189
190
191## Probably not breaking changes:
192
193* Extracted common functions to request-base (Peter Lyons)
194* Fixed race condition in pipe tests (Peter Lyons)
195* Handle `FormData` error events (scriptype)
196* Fixed wrong jsdoc of Request#attach (George Chung)
197* Updated and improved tests (Peter Lyons)
198* `request.head()` supports `.redirects(5)` call (Kornel Lesiński)
199* `response` event is also emitted when using `.pipe()`
200
201# 1.8.2 (2016-03-20)
202
203* Fixed handling of HTTP status 204 with content-encoding: gzip (Andrew Shelton)
204* Handling of FormData error events (scriptype)
205* Fixed parsing of `vnd+json` MIME types (Kornel Lesiński)
206* Aliased browser implementation of `.parse()` as `.serialize()` for forward compatibility
207
208# 1.8.1 (2016-03-14)
209
210* Fixed form-data incompatibility with IE9
211
212# 1.8.0 (2016-03-09)
213
214* Extracted common code into request-base class (Peter Lyons)
215 * It does not affect the public API, but please let us know if you notice any plugins/subclasses breaking!
216* Added option `{type:'auto'}` to `auth` method, which enables browser-native auth types (Jungle, Askar Yusupov)
217* Added `responseType()` to set XHR `responseType` (chris)
218* Switched to form-data for browserify-compatible `FormData` (Peter Lyons)
219* Added `statusCode` to error response when JSON response is malformed (mattdell)
220* Prevented TCP port conflicts in all tests (Peter Lyons)
221* Updated form-data dependency
222
223# 1.7.2 (2016-01-26)
224
225* Fix case-sensitivity of header fields introduced by [`a4ddd6a`](https://github.com/visionmedia/superagent/commit/a4ddd6a). (Edward J. Jinotti)
226* bump extend dependency, as former version did not contain any license information (Lukas Eipert)
227
228# 1.7.1 (2016-01-21)
229
230* Fixed a conflict with express when using npm 3.x (Glenn)
231* Fixed redirects after a multipart/form-data POST request (cyclist2)
232
233# 1.7.0 (2016-01-18)
234
235* When attaching files, read default filename from the `File` object (JD Isaacks)
236* Add `direction` property to `progress` events (Joseph Dykstra)
237* Update component-emitter & formidable (Kornel Lesiński)
238* Don't re-encode query string needlessly (Ruben Verborgh)
239* ensure querystring is appended when doing `stream.pipe(request)` (Keith Grennan)
240* change set header function, not call `this.request()` until call `this.end()` (vicanso)
241* Add no-op `withCredentials` to Node API (markdalgleish)
242* fix `delete` breaking on ie8 (kenjiokabe)
243* Don't let request error override responses (Clay Reimann)
244* Increased number of tests shared between node and client (Kornel Lesiński)
245
246# 1.6.0/1.6.1 (2015-12-09)
247
248* avoid misleading CORS error message
249* added 'progress' event on file/form upload in Node (Olivier Lalonde)
250* return raw response if the response parsing fails (Rei Colina)
251* parse content-types ending with `+json` as JSON (Eiryyy)
252* fix to avoid throwing errors on aborted requests (gjurgens)
253* retain cookies on redirect when hosts match (Tom Conroy)
254* added Bower manifest (Johnny Freeman)
255* upgrade to latest cookiejar (Andy Burke)
256
257# 1.5.0 (2015-11-30)
258
259* encode array values as `key=1&key=2&key=3` etc... (aalpern, Davis Kim)
260* avoid the error which is omitted from 'socket hang up'
261* faster JSON parsing, handling of zlib errors (jbellenger)
262* fix IE11 sends 'undefined' string if data was undefined (Vadim Goncharov)
263* alias `del()` method as `delete()` (Aaron Krause)
264* revert Request#parse since it was actually Response#parse
265
266# 1.4.0 (2015-09-14)
267
268* add Request#parse method to client library
269* add missing statusCode in client response
270* don't apply JSON heuristics if a valid parser is found
271* fix detection of root object for webworkers
272
273# 1.3.0 (2015-08-05)
274
275* fix incorrect content-length of data set to buffer
276* serialize request data takes into account charsets
277* add basic promise support via a `then` function
278
279# 1.2.0 (2015-04-13)
280
281* add progress events to downlodas
282* make usable in webworkers
283* add support for 308 redirects
284* update node-form-data dependency
285* update to work in react native
286* update node-mime dependency
287
288# 1.1.0 (2015-03-13)
289
290* Fix responseType checks without xhr2 and ie9 tests (rase-)
291* errors have .status and .response fields if applicable (defunctzombie)
292* fix end callback called before saving cookies (rase-)
293
294# 1.0.0 / 2015-03-08
295
296* All non-200 responses are treated as errors now. (The callback is called with an error when the response has a status < 200 or >= 300 now. In previous versions this would not have raised an error and the client would have to check the `res` object. See [#283](https://github.com/visionmedia/superagent/issues/283).
297* keep timeouts intact across redirects (hopkinsth)
298* handle falsy json values (themaarten)
299* fire response events in browser version (Schoonology)
300* getXHR exported in client version (KidsKilla)
301* remove arity check on `.end()` callbacks (defunctzombie)
302* avoid setting content-type for host objects (rexxars)
303* don't index array strings in querystring (travisjeffery)
304* fix pipe() with redirects (cyrilis)
305* add xhr2 file download (vstirbu)
306* set default response type to text/plain if not specified (warrenseine)
307
308# 0.21.0 / 2014-11-11
309
310* Trim text before parsing json (gjohnson)
311* Update tests to express 4 (gaastonsr)
312* Prevent double callback when error is thrown (pgn-vole)
313* Fix missing clearTimeout (nickdima)
314* Update debug (TooTallNate)
315
316# 0.20.0 / 2014-10-02
317
318* Add toJSON() to request and response instances. (yields)
319* Prevent HEAD requests from getting parsed. (gjohnson)
320* Update debug. (TooTallNate)
321
322# 0.19.1 / 2014-09-24
323
324* Fix basic auth issue when password is falsey value. (gjohnson)
325
326# 0.19.0 / 2014-09-24
327
328* Add unset() to browser. (shesek)
329* Prefer XHR over ActiveX. (omeid)
330* Catch parse errors. (jacwright)
331* Update qs dependency. (wercker)
332* Add use() to node. (Financial-Times)
333* Add response text to errors. (yields)
334* Don't send empty cookie headers. (undoZen)
335* Don't parse empty response bodies. (DveMac)
336* Use hostname when setting cookie host. (prasunsultania)
337
338# 0.18.2 / 2014-07-12
339
340* Handle parser errors. (kof)
341* Ensure not to use default parsers when there is a user defined one. (kof)
342
343# 0.18.1 / 2014-07-05
344
345* Upgrade cookiejar dependency (juanpin)
346* Support image mime types (nebulade)
347* Make .agent chainable (kof)
348* Upgrade debug (TooTallNate)
349* Fix docs (aheckmann)
350
351# 0.18.0 / 2014-04-29
352
353* Use "form-data" module for the multipart/form-data implementation. (TooTallNate)
354* Add basic `field()` and `attach()` functions for HTML5 FormData. (TooTallNate)
355* Deprecate `part()`. (TooTallNate)
356* Set default user-agent header. (bevacqua)
357* Add `unset()` method for removing headers. (bevacqua)
358* Update cookiejar. (missinglink)
359* Fix response error formatting. (shesek)
360
361# 0.17.0 / 2014-03-06
362
363* supply uri malformed error to the callback (yields)
364* add request event (yields)
365* allow simple auth (yields)
366* add request event (yields)
367* switch to component/reduce (visionmedia)
368* fix part content-disposition (mscdex)
369* add browser testing via zuul (defunctzombie)
370* adds request.use() (johntron)
371
372# 0.16.0 / 2014-01-07
373
374* remove support for 0.6 (superjoe30)
375* fix CORS withCredentials (wejendorp)
376* add "test" script (superjoe30)
377* add request .accept() method (nickl-)
378* add xml to mime types mappings (nickl-)
379* fix parse body error on HEAD requests (gjohnson)
380* fix documentation typos (matteofigus)
381* fix content-type + charset (bengourley)
382* fix null values on query parameters (cristiandouce)
383
384# 0.15.7 / 2013-10-19
385
386* pin should.js to 1.3.0 due to breaking change in 2.0.x
387* fix browserify regression
388
389# 0.15.5 / 2013-10-09
390
391* add browser field to support browserify
392* fix .field() value number support
393
394# 0.15.4 / 2013-07-09
395
396* node: add a Request#agent() function to set the http Agent to use
397
398# 0.15.3 / 2013-07-05
399
400* fix .pipe() unzipping on more recent nodes. Closes [#240](https://github.com/visionmedia/superagent/issues/240)
401* fix passing an empty object to .query() no longer appends "?"
402* fix formidable error handling
403* update formidable
404
405# 0.15.2 / 2013-07-02
406
407* fix: emit 'end' when piping.
408
409# 0.15.1 / 2013-06-26
410
411* add try/catch around parseLinks
412
413# 0.15.0 / 2013-06-25
414
415* make `Response#toError()` have a more meaningful `message`
416
417# 0.14.9 / 2013-06-15
418
419* add debug()s to the node client
420* add .abort() method to node client
421
422# 0.14.8 / 2013-06-13
423
424* set .agent = false always
425* remove X-Requested-With. Closes [#189](https://github.com/visionmedia/superagent/issues/189)
426
427# 0.14.7 / 2013-06-06
428
429* fix unzip error handling
430
431# 0.14.6 / 2013-05-23
432
433* fix HEAD unzip bug
434
435# 0.14.5 / 2013-05-23
436
437* add flag to ensure the callback is **never** invoked twice
438
439# 0.14.4 / 2013-05-22
440
441* add superagent.js build output
442* update qs
443* update emitter-component
444* revert "add browser field to support browserify" see [GH-221](https://github.com/visionmedia/superagent/issues/221)
445
446# 0.14.3 / 2013-05-18
447
448* add browser field to support browserify
449
450# 0.14.2/ 2013-05-07
451
452* add host object check to fix serialization of File/Blobs etc as json
453
454# 0.14.1 / 2013-04-09
455
456* update qs
457
458# 0.14.0 / 2013-04-02
459
460* add client-side basic auth
461* fix retaining of .set() header field case
462
463# 0.13.0 / 2013-03-13
464
465* add progress events to client
466* add simple example
467* add res.headers as alias of res.header for browser client
468* add res.get(field) to node/client
469
470# 0.12.4 / 2013-02-11
471
472* fix get content-type even if can't get other headers in firefox. fixes [#181](https://github.com/visionmedia/superagent/issues/181)
473
474# 0.12.3 / 2013-02-11
475
476* add quick "progress" event support
477
478# 0.12.2 / 2013-02-04
479
480* add test to check if response acts as a readable stream
481* add ReadableStream in the Response prototype.
482* add test to assert correct redirection when the host changes in the location header.
483* add default Accept-Encoding. Closes [#155](https://github.com/visionmedia/superagent/issues/155)
484* fix req.pipe() return value of original stream for node parity. Closes [#171](https://github.com/visionmedia/superagent/issues/171)
485* remove the host header when cleaning headers to properly follow the redirection.
486
487# 0.12.1 / 2013-01-10
488
489* add x-domain error handling
490
491# 0.12.0 / 2013-01-04
492
493* add header persistence on redirects
494
495# 0.11.0 / 2013-01-02
496
497* add .error Error object. Closes [#156](https://github.com/visionmedia/superagent/issues/156)
498* add forcing of res.text removal for FF HEAD responses. Closes [#162](https://github.com/visionmedia/superagent/issues/162)
499* add reduce component usage. Closes [#90](https://github.com/visionmedia/superagent/issues/90)
500* move better-assert dep to development deps
501
502# 0.10.0 / 2012-11-14
503
504* add req.timeout(ms) support for the client
505
506# 0.9.10 / 2012-11-14
507
508* fix client-side .query(str) support
509
510# 0.9.9 / 2012-11-14
511
512* add .parse(fn) support
513* fix socket hangup with dates in querystring. Closes [#146](https://github.com/visionmedia/superagent/issues/146)
514* fix socket hangup "error" event when a callback of arity 2 is provided
515
516# 0.9.8 / 2012-11-03
517
518* add emission of error from `Request#callback()`
519* add a better fix for nodes weird socket hang up error
520* add PUT/POST/PATCH data support to client short-hand functions
521* add .license property to component.json
522* change client portion to build using component(1)
523* fix GET body support [guille]
524
525# 0.9.7 / 2012-10-19
526
527* fix `.buffer()` `res.text` when no parser matches
528
529# 0.9.6 / 2012-10-17
530
531* change: use `this` when `window` is undefined
532* update to new component spec [juliangruber]
533* fix emission of "data" events for compressed responses without encoding. Closes [#125](https://github.com/visionmedia/superagent/issues/125)
534
535# 0.9.5 / 2012-10-01
536
537* add field name to .attach()
538* add text "parser"
539* refactor isObject()
540* remove wtf isFunction() helper
541
542# 0.9.4 / 2012-09-20
543
544* fix `Buffer` responses [TooTallNate]
545* fix `res.type` when a "type" param is present [TooTallNate]
546
547# 0.9.3 / 2012-09-18
548
549* remove **GET** `.send()` == `.query()` special-case (**API** change !!!)
550
551# 0.9.2 / 2012-09-17
552
553* add `.aborted` prop
554* add `.abort()`. Closes [#115](https://github.com/visionmedia/superagent/issues/115)
555
556# 0.9.1 / 2012-09-07
557
558* add `.forbidden` response property
559* add component.json
560* change emitter-component to 0.0.5
561* fix client-side tests
562
563# 0.9.0 / 2012-08-28
564
565* add `.timeout(ms)`. Closes [#17](https://github.com/visionmedia/superagent/issues/17)
566
567# 0.8.2 / 2012-08-28
568
569* fix pathname relative redirects. Closes [#112](https://github.com/visionmedia/superagent/issues/112)
570
571# 0.8.1 / 2012-08-21
572
573* fix redirects when schema is specified
574
575# 0.8.0 / 2012-08-19
576
577* add `res.buffered` flag
578* add buffering of text/\*, json and forms only by default. Closes [#61](https://github.com/visionmedia/superagent/issues/61)
579* add `.buffer(false)` cancellation
580* add cookie jar support [hunterloftis]
581* add agent functionality [hunterloftis]
582
583# 0.7.0 / 2012-08-03
584
585* allow `query()` to be called after the internal `req` has been created [tootallnate]
586
587# 0.6.0 / 2012-07-17
588
589* add `res.send('foo=bar')` default of "application/x-www-form-urlencoded"
590
591# 0.5.1 / 2012-07-16
592
593* add "methods" dep
594* add `.end()` arity check to node callbacks
595* fix unzip support due to weird node internals
596
597# 0.5.0 / 2012-06-16
598
599* Added "Link" response header field parsing, exposing `res.links`
600
601# 0.4.3 / 2012-06-15
602
603* Added 303, 305 and 307 as redirect status codes [slaskis]
604* Fixed passing an object as the url
605
606# 0.4.2 / 2012-06-02
607
608* Added component support
609* Fixed redirect data
610
611# 0.4.1 / 2012-04-13
612
613* Added HTTP PATCH support
614* Fixed: GET / HEAD when following redirects. Closes [#86](https://github.com/visionmedia/superagent/issues/86)
615* Fixed Content-Length detection for multibyte chars
616
617# 0.4.0 / 2012-03-04
618
619* Added `.head()` method [browser]. Closes [#78](https://github.com/visionmedia/superagent/issues/78)
620* Added `make test-cov` support
621* Added multipart request support. Closes [#11](https://github.com/visionmedia/superagent/issues/11)
622* Added all methods that node supports. Closes [#71](https://github.com/visionmedia/superagent/issues/71)
623* Added "response" event providing a Response object. Closes [#28](https://github.com/visionmedia/superagent/issues/28)
624* Added `.query(obj)`. Closes [#59](https://github.com/visionmedia/superagent/issues/59)
625* Added `res.type` (browser). Closes [#54](https://github.com/visionmedia/superagent/issues/54)
626* Changed: default `res.body` and `res.files` to {}
627* Fixed: port existing query-string fix (browser). Closes [#57](https://github.com/visionmedia/superagent/issues/57)
628
629# 0.3.0 / 2012-01-24
630
631* Added deflate/gzip support [guillermo]
632* Added `res.type` (Content-Type void of params)
633* Added `res.statusCode` to mirror node
634* Added `res.headers` to mirror node
635* Changed: parsers take callbacks
636* Fixed optional schema support. Closes [#49](https://github.com/visionmedia/superagent/issues/49)
637
638# 0.2.0 / 2012-01-05
639
640* Added url auth support
641* Added `.auth(username, password)`
642* Added basic auth support [node]. Closes [#41](https://github.com/visionmedia/superagent/issues/41)
643* Added `make test-docs`
644* Added guillermo's EventEmitter. Closes [#16](https://github.com/visionmedia/superagent/issues/16)
645* Removed `Request#data()` for SS, renamed to `send()`
646* Removed `Request#data()` from client, renamed to `send()`
647* Fixed array support. [browser]
648* Fixed array support. Closes [#35](https://github.com/visionmedia/superagent/issues/35) [node]
649* Fixed `EventEmitter#emit()`
650
651# 0.1.3 / 2011-10-25
652
653* Added error to callback
654* Bumped node dep for 0.5.x
655
656# 0.1.2 / 2011-09-24
657
658* Added markdown documentation
659* Added `request(url[, fn])` support to the client
660* Added `qs` dependency to package.json
661* Added options for `Request#pipe()`
662* Added support for `request(url, callback)`
663* Added `request(url)` as shortcut for `request.get(url)`
664* Added `Request#pipe(stream)`
665* Added inherit from `Stream`
666* Added multipart support
667* Added ssl support (node)
668* Removed Content-Length field from client
669* Fixed buffering, `setEncoding()` to utf8 [reported by stagas]
670* Fixed "end" event when piping
671
672# 0.1.1 / 2011-08-20
673
674* Added `res.redirect` flag (node)
675* Added redirect support (node)
676* Added `Request#redirects(n)` (node)
677* Added `.set(object)` header field support
678* Fixed `Content-Length` support
679
680# 0.1.0 / 2011-08-09
681
682* Added support for multiple calls to `.data()`
683* Added support for `.get(uri, obj)`
684* Added GET `.data()` querystring support
685* Added IE{6,7,8} support [alexyoung]
686
687# 0.0.1 / 2011-08-05
688
689* Initial commit
690
691
692