Skip to content

Releases: forwardemail/superagent

v1.7.0

19 Jan 14:15

Choose a tag to compare

  • when attaching files, read default filename from the File object (JD Isaacks)
  • add direction property to progress events (Joseph Dykstra)
  • update component-emitter & formidable (Kornel Lesiński)
  • don't re-encode query string needlessly (Ruben Verborgh)
  • ensure querystring is appended when doing stream.pipe(request) (Keith Grennan)
  • change set header function, not call this.request() until call this.end() (vicanso)
  • add no-op withCredentials to Node API (markdalgleish)
  • fix delete breaking on ie8 (kenjiokabe)
  • don't let request error override responses (Clay Reimann)
  • increased number of tests shared between node and client (Kornel Lesiński)

v1.6.1

16 Dec 00:26

Choose a tag to compare

(same as v1.6.0, but needed re-publishing to npm)

  • avoid misleading CORS error message
  • add 'progress' event on file/form upload in Node (Olivier Lalonde)
  • return raw response if the response parsing fails (Rei Colina)
  • parse content-types ending with +json as JSON (Eiryyy)
  • fix to avoid throwing errors on aborted requests (gjurgens)
  • retain cookies on redirect when hosts match (Tom Conroy)
  • add Bower manifest (Johnny Freeman)
  • upgrade to latest cookiejar (Andy Burke)

v1.6.0

16 Dec 00:20

Choose a tag to compare

v1.6.0 Pre-release
Pre-release

See 1.6.1

v1.5.0

03 Dec 16:45

Choose a tag to compare

  • encode array values as key=1&key=2&key=3 etc... (aalpern, Davis Kim)
  • avoid the error which is omitted from 'socket hang up'
  • faster JSON parsing, handling of zlib errors (jbellenger)
  • fix IE11 sends 'undefined' string if data was undefined (Vadim Goncharov)
  • alias del() method as delete() (Aaron Krause)
  • revert Request#parse since it was actually Response#parse

v1.4.0

03 Dec 16:46

Choose a tag to compare

  • add Request#parse method to client library
  • add missing statusCode in client response
  • don't apply JSON heuristics if a valid parser is found
  • fix detection of root object for webworkers

v1.3.0

03 Dec 16:46

Choose a tag to compare

  • fix incorrect content-length of data set to buffer
  • serialize request data takes into account charsets
  • add basic promise support via a then function

v1.2.0

03 Dec 16:46

Choose a tag to compare

  • add progress events to downlodas
  • make usable in webworkers
  • add support for 308 redirects
  • update node-form-data dependency
  • update to work in react native
  • update node-mime dependency

1.1.0

03 Dec 16:46

Choose a tag to compare

  • Fix responseType checks without xhr2 and ie9 tests (rase-)
  • errors have .status and .response fields if applicable (defunctzombie)
  • fix end callback called before saving cookies (rase-)