Denis Malinochkin dmalinochkin@rambler.ru
- Provide original status message and body to the NetworkError #131
Vladimir Varankin nek.narqo@gmail.com
- Pack only essential files #126
Vladimir Varankin nek.narqo@gmail.com
- Add timers to error data for custom usage #124
Phillip Kovalev twilightfeel@gmail.com
- Stop buffering a response on request abort #123
Vladimir Varankin nek.narqo@gmail.com
- Gzip response might ignore retry when start response buffering #121
Vladimir Varankin nek.narqo@gmail.com
Version 1.0.2 has been unpublished due to internal needs.
- Internal package fixes
Vladimir Varankin nek.narqo@gmail.com
- TLS options doesn't work with custom agent in Node.js < 0.12 #119
- Pass option
rejectUnauthorized
to https module #86 - Add unit tests for https functionality #114
Vladimir Varankin nek.narqo@gmail.com
- Accept any
http
/https
options. The bug was introduced in 1.0.0 #118
Vladimir Varankin nek.narqo@gmail.com
Agent.maxSockets
is not set to 1024 anymore #106statusFilter
option has been split into two separate functionsisNetworkError
andisRetryAllowed
#93queueTimeout
option was set to 50ms by default. From now on queue timeout is not calculated as a sum oftimeout
options and delta #103onretry
option was removedagent.persistent
option was removedminRetriesTimeout
andmaxRetriesTimeout
options were added
- use asker-advanced-agent
- use retry
- use unzip-response
See MIGRATION.md for migration guide.
Phillip Kovalev twilightfeel@gmail.com
- allow an instance of Agent as a value of the
agent
option.
Phillip Kovalev twilightfeel@gmail.com
- fill 'execution' timer on exceeded retries (by Dmitry Sorin https://github.com/1999)
Phillip Kovalev twilightfeel@gmail.com
- updates terror module version to 1.0.0
Phillip Kovalev twilightfeel@gmail.com
- implements
hostname
option which is the same ashost
and introduced to support results ofurl.parse()
as options for asker.hostname
has higher priority thanhost
if both passed. - updates terror module version to 0.4.x
Phillip Kovalev twilightfeel@gmail.com
- implement encoding of multiple files for single parameter by multipart encoder
Phillip Kovalev twilightfeel@gmail.com
- add support for
false
value for the optionagent
Phillip Kovalev twilightfeel@gmail.com
- fix broken timings in the error messages on failed retries
Phillip Kovalev twilightfeel@gmail.com
- use
requestId
to form thecontimer
timers IDs
Phillip Kovalev twilightfeel@gmail.com
- use contimer module to measure requests execution and network time
Phillip Kovalev twilightfeel@gmail.com
- return 'Request.DEFAULT_OPTIONS.port' which was lost on https merge
Phillip Kovalev twilightfeel@gmail.com
- add some support for https (be careful with agents usage for https)
Phillip Kovalev twilightfeel@gmail.com
- fix serialization of non-string literals in multipart encoder: all non-string literals automatically casted as strings
Phillip Kovalev twilightfeel@gmail.com
- allow to list options accepted by asker request constructor
Phillip Kovalev twilightfeel@gmail.com
- add "raw" body encoder to pass raw Buffer as request body
Phillip Kovalev twilightfeel@gmail.com
- fix error name duplication in AskerError
- remove redundant UNKNOWN_ERROR code overriding
Phillip Kovalev twilightfeel@gmail.com
- change
terror
dependency version to 0.3.x
Phillip Kovalev twilightfeel@gmail.com
- implement body encoding and support for custom encoders #9
- allow to pass callback to Request#execute method #59
- add jscs to npm test toolchain
- response.data must be a buffer, not a string #6
Phillip Kovalev twilightfeel@gmail.com
- fulfill error message for code UNEXPECTED_STATUS_CODE #72
Phillip Kovalev twilightfeel@gmail.com
- full code coverage by tests https://github.com/nodules/asker/issues?labels=test&milestone=3&page=1&state=closed
- drop support for Node.js < 0.8.21 due to the bugs in the "http" module
- fix incorrect behaviour of Request#isRunning (always returns
false
) #44 - constructor compiles request body always when
options.body
have defined #1 - fix redundant callbacks is the case when "content-length" header is less than actual response body length #46
- fix missing callback call in the case when "content-length" header is more than actual response body length #47
- move
queueTimeout
default value calculation from request excution time to constructor #48 - callback has became optional argument of the request constructor #54
- fix network timer resolving #58
- request can be tried to execute with a dead agent #60
Request.createAgent
doesn't throw an error if the agent with the same name already in the agents pool #62
Phillip Kovalev twilightfeel@gmail.com
- fix bug when response body is empty: "NaN" is returned in the
response.data
#16 - fix undefined value of the
response.meta.retries.limit
#13 - fix bug of the parsing of the
url
option without protocol on the Node.js <=0.8 #11 - fix
queueTimeout
option value (was computed as sum of thetimeout
andQUEUE_TIMEOUT_DELTA
always) #20 response
object description has been added to the README.md- HTTP status code now available from the callback as the
response.statusCode
field #12 - transport tests has been added #15, #17, #18
- istanbul has been added as tests coverage testing tool
Phillip Kovalev twilightfeel@gmail.com
- fix incorrect parsing of the
url
option if protocol is missing #7
Phillip Kovalev twilightfeel@gmail.com
- fix fall of the request constructor called without options hash #5
- fix unrecognizable option
method
which passed in lowercase #8 - set 'accept-encoding' header if no one passed in the options hash and option
allowGzip
enabled #10
Phillip Kovalev twilightfeel@gmail.com
- add
url
option as an alternative to the combination of thehost
,port
andpath
options (508a616)
Phillip Kovalev twilightfeel@gmail.com
- fix hostname logging