编辑 | blame | 历史 | 原始文档

4.5.0 / 2023-08-06

others
* [1e5e312] - deps: remove debug and depd (#114) (fengmk2 <fengmk2@gmail.com>)

4.4.0 / 2023-08-05

features
* [c7c1e93] - feat: return socket from createConnection (#113) (Nabeel Bukhari <nabeel.bukhari@hotmail.com>)

4.3.0 / 2023-03-06

others
* [6f9852b] - deps: depd@2.0.0 (#109) (Brian DeHamer <bdehamer@github.com>)
* [fd4bd9b] - test: use npm install (#110) (fengmk2 <fengmk2@gmail.com>)
* [d52822c] - chore: update contributors (fengmk2 <fengmk2@gmail.com>)

4.2.1 / 2022-02-21

fixes
* [8b13b5c] - fix: explicitly set | undefined in type definitions (#99) (Benoit Lemoine <lemoine.benoit@gmail.com>)

4.2.0 / 2021-12-31

fixes
* [f418c67] - fix: change freeSocketTimeout default value to 4000 (#102) (fengmk2 <fengmk2@gmail.com>)

others
* [bc2a1ce] - doc(readme): making timeout's default clear (#100) (Aaron <aaronarinder@gmail.com>)

4.1.4 / 2021-02-05

fixes
* [4d04794] - fix(types): correct Https constructor argument (#89) (Simen Bekkhus <sbekkhus91@gmail.com>)

4.1.3 / 2020-06-15

fixes
* [4ba9f9c] - fix: compatible with node v12.16.3 (#91) (killa <killa123@126.com>)

4.1.2 / 2020-04-25

fixes
* [de66b02] - fix: detect http request timeout handler (#88) (fengmk2 <fengmk2@gmail.com>)

4.1.1 / 2020-04-25

fixes
* [bbd20c0] - fix: definition error (#87) (吖猩 <whxaxes@qq.com>)

others
* [3b01699] - test: run test on node 12 (#84) (Igor Savin <iselwin@gmail.com>)

4.1.0 / 2019-10-12

features
* [fe33b80] - feat: Add reusedSocket property on client request (#82) (Weijia Wang <starkwang@126.com>)

others
* [77ba744] - docs: fix grammar in readme (#81) (Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>)

4.0.2 / 2019-02-19

fixes
* [56d4a9b] - fix: HttpAgent export = internal (#74) (Andrew Leedham <AndrewLeedham@outlook.com>)

4.0.1 / 2019-02-19

fixes
* [bad1ac0] - fix: HttpsAgent Type Definition (#71) (#72) (Andrew Leedham <AndrewLeedham@outlook.com>)
* [f48a4a7] - fix: export interface (#70) (Vinay <vinaybedre@gmail.com>)

others
* [9124343] - chore: add agent.options.keepAlive instead agent.keepAlive (fengmk2 <fengmk2@gmail.com>)
* [d177d40] - test: add request timeout bigger than agent timeout cases (fengmk2 <fengmk2@gmail.com>)

4.0.0 / 2018-10-23

features
* [5c9f3bb] - feat: impl the new Agent extend http.Agent (fengmk2 <fengmk2@gmail.com>)

others
* [498c8f1] - chore: move LICENSE from readme to file (fengmk2 <fengmk2@gmail.com>)
* [4f39894] - bugfix: support agent.options.timeout on https agent (fengmk2 <fengmk2@gmail.com>)

3.5.2 / 2018-10-19

fixes
* [5751fc1] - fix: sockLen being miscalculated when removing sockets (#60) (Ehden Sinai <cixel@users.noreply.github.com>)

3.5.1 / 2018-07-31

fixes
* [495f1ab] - fix: add the lost npm files (#66) (Henry Zhuang <zhuanghengfei@gmail.com>)

3.5.0 / 2018-07-31

features
* [16f5aea] - feat: add typing define. (#65) (Henry Zhuang <zhuanghengfei@gmail.com>)

others
* [28fa062] - docs: add "per host" to description of maxFreeSockets (tony-gutierrez <tony.gutierrez@bluefletch.com>)
* [7df2577] - test: run test on node 10 (#63) (fengmk2 <fengmk2@gmail.com>)

3.4.1 / 2018-03-08

fixes
* [4d3a3b1] - fix: Handle ipv6 addresses in host-header correctly with TLS (#53) (Mattias Holmlund <u376@m1.holmlund.se>)

others
* [55a7a5c] - test: stop timer after test end (fengmk2 <fengmk2@gmail.com>)

3.4.0 / 2018-02-27

features
* [bc7cadb] - feat: use socket custom freeSocketKeepAliveTimeout first (#59) (fengmk2 <fengmk2@gmail.com>)

others
* [138eda8] - doc: fix keepAliveMsecs params description (#55) (Hongcai Deng <admin@dhchouse.com>)

3.3.0 / 2017-06-20

  • feat: add statusChanged getter (#51)
  • chore: format License

3.2.0 / 2017-06-10

  • feat: add expiring active sockets
  • test: add node 8 (#49)

3.1.0 / 2017-02-20

  • feat: timeout support humanize ms (#48)

3.0.0 / 2016-12-20

  • fix: emit agent socket close event
  • test: add remove excess calls to removeSocket
  • test: use egg-ci
  • test: refactor test with eslint rules
  • feat: merge _http_agent.js from 7.2.1

2.2.0 / 2016-06-26

  • feat: Add browser shim (noop) for isomorphic use. (#39)
  • chore: add security check badge

2.1.1 / 2016-04-06

  • https: fix ssl socket leak when keepalive is used
  • chore: remove circle ci image

2.1.0 / 2016-04-02

  • fix: opened sockets number overflow maxSockets

2.0.5 / 2016-03-16

  • fix: pick _evictSession to httpsAgent

2.0.4 / 2016-03-13

  • test: add Circle ci
  • test: add appveyor ci build
  • refactor: make sure only one error listener
  • chore: use codecov
  • fix: handle idle socket error
  • test: run on more node versions

2.0.3 / 2015-08-03

  • fix: add default error handler to avoid Unhandled error event throw

2.0.2 / 2015-04-25

  • fix: remove socket from freeSockets on 'timeout' (@pmalouin)

2.0.1 / 2015-04-19

  • fix: add timeoutSocketCount to getCurrentStatus()
  • feat(getCurrentStatus): add getCurrentStatus

2.0.0 / 2015-04-01

  • fix: socket.destroyed always be undefined on 0.10.x
  • Make it compatible with node v0.10.x (@lattmann)

1.2.1 / 2015-03-23

  • patch from iojs: don't overwrite servername option
  • patch commits from joyent/node
  • add max sockets test case
  • add nagle algorithm delayed link

1.2.0 / 2014-09-02

  • allow set keepAliveTimeout = 0
  • support timeout on working socket. fixed #6

1.1.0 / 2014-08-28

  • add some socket counter for deep monitor

1.0.0 / 2014-08-13

  • update _http_agent, only support 0.11+, only support node 0.11.0+

0.2.2 / 2013-11-19
==================

  • support node 0.8 and node 0.10

0.2.1 / 2013-11-08
==================

  • fix socket does not timeout bug, it will hang on life, must use 0.2.x on node 0.11

0.2.0 / 2013-11-06
==================

  • use keepalive agent on node 0.11+ impl

0.1.5 / 2013-06-24
==================

  • support coveralls
  • add node 0.10 test
  • add 0.8.22 original https.js
  • add original http.js module to diff
  • update jscover
  • mv pem to fixtures
  • add https agent usage