You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4.2.0 / 2018-01-15
- Add support for returning an
http.Agent
instance
- Optimize promisifying logic
- Set
timeout
to null for proper cleanup
- Remove Node.js <= 0.11.3 special-casing from test case
4.1.2 / 2017-11-20
- test Node 9 on Travis
- ensure that
https.get()
uses the patched https.request()
4.1.1 / 2017-07-20
- Correct
https.request()
with a String (#9)
4.1.0 / 2017-06-26
- mix in Agent options into Request options
- throw when nothing is returned from agent-base callback
- do not modify the options object for https requests
4.0.1 / 2017-06-13
- add
this
context tests and fixes
4.0.0 / 2017-06-06
- drop support for Node.js < 4
- drop old versions of Node.js from Travis-CI
- specify Node.js >= 4.0.0 in
engines.node
- remove more old code
- remove "extend" dependency
- remove "semver" dependency
- make the Promise logic a bit cleaner
- add async function pseudo-example to README
- use direct return in README example
3.0.0 / 2017-06-02
- drop support for Node.js v0.8 and v0.10
- add support for async, Promises, and direct return
- add a couple
options
test cases
- implement a
"timeout"
option
- rename main file to
index.js
- test Node 8 on Travis
2.1.1 / 2017-05-30
2.1.0 / 2017-05-26
- unref is not supported for node < 0.9.1 (@pi0)
- add tests to dangling socket (@pi0)
- check unref() is supported (@pi0)
- fix dangling sockets problem (@pi0)
- add basic "ws" module tests
- make
Agent
be subclassable
- turn
addRequest()
into a named function
- test: Node.js v4 likes to call
cork
on the stream (#3, @tomhughes)
- travis: test node v4, v5, v6 and v7
2.0.1 / 2015-09-10
- package: update "semver" to v5.0.1 for WebPack (#1, @vhpoet)
2.0.0 / 2015-07-10
- refactor to patch Node.js core for more consistent
opts
values
- ensure that HTTP(s) default port numbers are always given
- test: use ssl-cert-snakeoil SSL certs
- test: add tests for arbitrary options
- README: add API section
- README: make the Agent HTTP/HTTPS generic in the example
- README: use SVG for Travis-CI badge
1.0.2 / 2015-06-27
- agent: set
req._hadError
to true after emitting "error"
- package: update "mocha" to v2
- test: add artificial HTTP GET request test
- test: add artificial data events test
- test: fix artifical GET response test on node > v0.11.3
- test: use a real timeout for the async error test
1.0.1 / 2013-09-09
- Fix passing an "error" object to the callback function on the first tick
1.0.0 / 2013-09-09
- New API: now you pass a callback function directly
0.0.1 / 2013-07-09