superagent
Advanced tools
Changelog
3.2.0 (2016-12-11)
.timeout({response:ms})
, which allows limiting maximum response time independently from total download time (Kornel Lesiński).end()
is called more than once (Kornel Lesiński)response.links
to browser version (Lukas Eipert)btoa
is no longer required in IE9 (Kornel Lesiński).sortQuery()
on URLs without query strings (Kornel Lesiński)ResponseBase
(Lukas Eipert)Changelog
3.1.0 (2016-11-28)
.sortQuery()
(vicanso).field()
(Kornel Lesiński)superagent.Request
subclassable without need to patch all static methods (Kornel Lesiński)Changelog
3.0.0 (2016-11-19)
.part()
/superagent.Part
APIs..body
property on internal response object used by unbuffered parsers.
Note: the normal response.body
is unaffected..send()
calls mixing Buffer
/Blob
and JSON data are not possible and will now throw instead of messing up the data..send()
data object type check (Fernando Mendes)http+unix:
schema to support Unix sockets (Yuki KAN)attach
options parameter in the Node version (Lapo Luchini)pfx
TLS option with new pfx()
method. (Reid Burke).on
to .once
to prevent possible memory leaks (Matt Blair)Changelog
2.3.0 (2016-09-20)
.field()
to handle objects (Affan Shahid).catch()
for more Promise-like interface (Maxim Samoilov, Kornel Lesiński)event.direction
in uploads (Kornel Lesiński)on()
method (Juan Dopazo)Changelog
2.2.0 (2016-08-13)
timedout
property to node Request instance (Alexander Pope)null
querystring values in node and browser environments. (George Chung)