Releases: ladjs/superagent
Releases · ladjs/superagent
v3.6.0
- 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
- 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
- Add errno to distinguish between request timeout and body download timeout (#1184) (Kornel)
- Warn about bogus timeout options (#1185) (Kornel)
v3.4.4
- Treat videos like images (Kornel Lesiński)
- Avoid renaming module (Kornel Lesiński)
v3.4.3
- 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
- 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
- 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
- Fixed "double callback bug" warning on timeouts of gzipped responses
v3.2.0
- 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)