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.

History.md 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. 4.2.0 / 2018-01-15
  2. ==================
  3. * Add support for returning an `http.Agent` instance
  4. * Optimize promisifying logic
  5. * Set `timeout` to null for proper cleanup
  6. * Remove Node.js <= 0.11.3 special-casing from test case
  7. 4.1.2 / 2017-11-20
  8. ==================
  9. * test Node 9 on Travis
  10. * ensure that `https.get()` uses the patched `https.request()`
  11. 4.1.1 / 2017-07-20
  12. ==================
  13. * Correct `https.request()` with a String (#9)
  14. 4.1.0 / 2017-06-26
  15. ==================
  16. * mix in Agent options into Request options
  17. * throw when nothing is returned from agent-base callback
  18. * do not modify the options object for https requests
  19. 4.0.1 / 2017-06-13
  20. ==================
  21. * add `this` context tests and fixes
  22. 4.0.0 / 2017-06-06
  23. ==================
  24. * drop support for Node.js < 4
  25. * drop old versions of Node.js from Travis-CI
  26. * specify Node.js >= 4.0.0 in `engines.node`
  27. * remove more old code
  28. * remove "extend" dependency
  29. * remove "semver" dependency
  30. * make the Promise logic a bit cleaner
  31. * add async function pseudo-example to README
  32. * use direct return in README example
  33. 3.0.0 / 2017-06-02
  34. ==================
  35. * drop support for Node.js v0.8 and v0.10
  36. * add support for async, Promises, and direct return
  37. * add a couple `options` test cases
  38. * implement a `"timeout"` option
  39. * rename main file to `index.js`
  40. * test Node 8 on Travis
  41. 2.1.1 / 2017-05-30
  42. ==================
  43. * Revert [`fe2162e`](https://github.com/TooTallNate/node-agent-base/commit/fe2162e0ba18123f5b301cba4de1e9dd74e437cd) and [`270bdc9`](https://github.com/TooTallNate/node-agent-base/commit/270bdc92eb8e3bd0444d1e5266e8e9390aeb3095) (fixes #7)
  44. 2.1.0 / 2017-05-26
  45. ==================
  46. * unref is not supported for node < 0.9.1 (@pi0)
  47. * add tests to dangling socket (@pi0)
  48. * check unref() is supported (@pi0)
  49. * fix dangling sockets problem (@pi0)
  50. * add basic "ws" module tests
  51. * make `Agent` be subclassable
  52. * turn `addRequest()` into a named function
  53. * test: Node.js v4 likes to call `cork` on the stream (#3, @tomhughes)
  54. * travis: test node v4, v5, v6 and v7
  55. 2.0.1 / 2015-09-10
  56. ==================
  57. * package: update "semver" to v5.0.1 for WebPack (#1, @vhpoet)
  58. 2.0.0 / 2015-07-10
  59. ==================
  60. * refactor to patch Node.js core for more consistent `opts` values
  61. * ensure that HTTP(s) default port numbers are always given
  62. * test: use ssl-cert-snakeoil SSL certs
  63. * test: add tests for arbitrary options
  64. * README: add API section
  65. * README: make the Agent HTTP/HTTPS generic in the example
  66. * README: use SVG for Travis-CI badge
  67. 1.0.2 / 2015-06-27
  68. ==================
  69. * agent: set `req._hadError` to true after emitting "error"
  70. * package: update "mocha" to v2
  71. * test: add artificial HTTP GET request test
  72. * test: add artificial data events test
  73. * test: fix artifical GET response test on node > v0.11.3
  74. * test: use a real timeout for the async error test
  75. 1.0.1 / 2013-09-09
  76. ==================
  77. * Fix passing an "error" object to the callback function on the first tick
  78. 1.0.0 / 2013-09-09
  79. ==================
  80. * New API: now you pass a callback function directly
  81. 0.0.1 / 2013-07-09
  82. ==================
  83. * Initial release