UNPKG

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