Skip to content

Releases: ladjs/superagent

v3.6.0

20 Aug 17:16
Compare
Choose a tag to compare
  • Support disabling TCP_NODELAY option (#1240) (xiamengyu)
  • Send payload in query string for GET and HEAD shorthand API (Peter Lyons)
  • Support passphrase with pfx certificate (Paul Westerdale (ABRS Limited))
  • Documentation improvements (Peter Lyons)
  • Fixed duplicated query string params (#1200) (Kornel)

v3.5.1

18 Mar 22:24
Compare
Choose a tag to compare
  • Allow crossDomain errors to be retried (#1194) (Michael Olson)
  • Read responseType property from the correct object (Julien Dupouy)
  • Check for ownProperty before adding header (Lucas Vieira)

v3.5.0

11 Mar 10:19
Compare
Choose a tag to compare
  • Add errno to distinguish between request timeout and body download timeout (#1184) (Kornel)
  • Warn about bogus timeout options (#1185) (Kornel)

v3.4.4

11 Mar 10:19
Compare
Choose a tag to compare
  • Treat videos like images (Kornel Lesiński)
  • Avoid renaming module (Kornel Lesiński)

v3.4.3

14 Feb 18:11
Compare
Choose a tag to compare
  • Fixed being able to define own parsers when their mime type starts with text/ (Damien Clark)
  • withCredentials(false) (Andy Woods)
  • Use formData.on instead of .once (Kornel Lesiński)
  • Ignore attach("file",null) (Kornel Lesiński)

v3.4.1

29 Jan 00:40
Compare
Choose a tag to compare
  • Allow retry() and retry(0) (Alexander Pope)
  • Allow optional body/data in DELETE requests (Alpha Shuro)
  • Fixed query string on retried requests (Kornel Lesiński)

v3.4.0

25 Jan 23:18
Compare
Choose a tag to compare
  • New .retry(n) method and err.retries (Alexander Pope)
    • superagent will retry the request n times before giving up
  • Docs for HTTPS request (Jun Wan Goh)

v3.3.1

11 Mar 10:20
Compare
Choose a tag to compare
  • Fixed "double callback bug" warning on timeouts of gzipped responses

v3.3.0

14 Dec 14:59
Compare
Choose a tag to compare

v3.2.0

11 Dec 22:20
Compare
Choose a tag to compare
  • Added .timeout({response:ms}), which allows limiting maximum response time independently from total download time (Kornel Lesiński)
  • Added warnings when .end() is called more than once (Kornel Lesiński)
  • Added response.links to browser version (Lukas Eipert)
  • btoa is no longer required in IE9 (Kornel Lesiński)
  • Fixed .sortQuery() on URLs without query strings (Kornel Lesiński)
  • Refactored common response code into ResponseBase (Lukas Eipert)