NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #1598 most downloaded on npm
HTTP2 client, just with the familiar `https` API
Latest stable
2.2.4
Last release 21 days ago
01 Nov 2026
Ships unpredictably
gaps range from 8 days to 3.0 years
Some releases are documented
notes for 26 of 45 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
62 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Do not reject wildcard certificates a4963ea05fee95f024e85362a76603d1d5638f88
Fix connecting to IPv6 addresses d6bb18cfe6a9572c0a511b171a330ece688a60b0
Security vulnerability found by Michael Kim @seslo82
Security vulnerability found by Michael Kim @seslo82
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Skip HTTP/2 headers when making a HTTP/1 request (#100) 1bec00490c717fec14e2bbed8ea589cc6a86dc5d
Fix buffer queue memory leak 51eeaf59ff9344fb192b092241bfda8506983620
Fix delayAsyncDestroy returning undefined aa5118151ffa2368856c64a24ec3c235f311a195
Fix HEADERS with END_STREAM to be handled properly d9dab1e4a6d4b0860d1b11b105c328c950b0f32c
Fix errors not being emitted in rare case cf2386bc37643711a97c8ed87b475fa9cc95c49a
Fix servername calculation (again)
Fix connection header comparison to case-insensitive
connection header comparison to case-insensitiveDo not use ?. for compatiblity reasons
?. for compatiblity reasonsRefactor calculateServerName 37adb83c4cd42829323cbfc86a09e56dc775cf1b
calculateServerName 37adb83c4cd42829323cbfc86a09e56dc775cf1bFix servername calculation 6cca1be91e3fbae045987722083bf1ac07f3ee2f
options.ALPNProtocols cceda0048625ba1ce8579b3c7473968ef6f202acFix agent not accepting false in types e8dbe99af400db45638523db3f11c623f904db16
agent not accepting false in types e8dbe99af400db45638523db3f11c623f904db16Fix default computedOptions in Agent f594014c7c449f4a0027f6f5e1e7abd2f5a05c4f
Fix TypeScript typings again (#76) dd61aba78001734cf51a645b3681efccb45286e7
Make it possible to mitigate the ALPN negotiation IP leak
Fix CONNECT behavior in ClientRequest ebcb809fefb33cbd7e30b7699b3f27a216a6d3fd
CONNECT behavior in ClientRequest ebcb809fefb33cbd7e30b7699b3f27a216a6d3fdPreviously http2.request would automatically end the CONNECT stream making it unusable.
Furthermore, request.path will now correctly return the :authority header.
Add missing agent property in RequestOptions 40292c6817f024966185512aad23977fc5e8082b
agent property in RequestOptions 40292c6817f024966185512aad23977fc5e8082bFixed typings (I accidentally broke them in v2.0.6)
Omit connection: keep-alive header 93f36ef298706a950ae65be08fb57df241a75655
connection: keep-alive header 93f36ef298706a950ae65be08fb57df241a75655Nothing published for this version
Example latency: 20ms Session: 1600 MB/s (12.8 Gbps) Stream: 200 MB/s (1.6 Gbps)
Example latency: 20ms Session: 1600 MB/s (12.8 Gbps) Stream: 200 MB/s (1.6 Gbps)
Example latency: 250ms Session: 128 MB/s (1 Gbps) Stream: 16 MB/s (128 Mbps)
23ff7f7906d735cb25b9cd88ab665bafa2cbd1c9
Reject http2.auto promise immediately on timeout as the ALPN is still unknown
http2.auto promise immediately on timeout as the ALPN is still unknownFix hanging http2.auto promise on timeout
http2.auto promise on timeoutDo not throw on {agent: {http2: undefined}}
{agent: {http2: undefined}}# :tada: First stable release Let's go!
Let's go!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Support proxy 0958e6cfd51c9c61b9ecba9eabd8659af4d8aca9 4757cdddacdd3d20a8ea1c012832ba0f9e8d2cc9
^1.0.0-beta.xxx was specified.Improve the graceful close test f90397aa103c34375e7bbc607fc24c765d05069d
response being emitted before .end() was called 2d6279a36f501daab96990867cf5164ad6f0f6ee 4252b58f20c058c65f8e0978c879820b237450baOptimize Agent, fix bugs (#42) 532bfcaad36fd2cf774bf2abcff0f1ad4ded99ac
http2 module which got better.maxSessions and maxFreeSessions Agent options now describe sessions in total, not per origin.codecov because coveralls is quite buggy and annoying.REFUSED_STREAM would be thrown.agent.request(...) no longer cause an uncaught exception.Revert Require Node.js >=10.21.0 to 10.19.0
Require Node.js >=10.21.0 to 10.19.0Remove moot delete from an example ab14d1c9393c783e4cb511e9f6b3c9c7dde641b7
delete from an example ab14d1c9393c783e4cb511e9f6b3c9c7dde641b7endStream stream option default to true cae817dc2c316e30ca711055a31a4a1a1313db18 97981aba6402cc6d9ddf3e8b0d180aa6c9714fcf b784ace693387c19e249f982b6d83825844e7b5crequest.method ae29c0a8f40c746609cd8acaa993015d589b7a93quick-lru to 5.1.1>=10.21.0Improve socket reuse logic a97b28cf6788865f979a0a532b92076f32f14575
Make it work on Node.js 14 8debdfed3e6f981b8a7f97cbbee6de501cbfed38
Fix HTTP2 origin being improperly calculated d621fac228cf50332cf3609b31a7cbf01320fa77
preconnect option db7195e916fd6b1b271ae6f157b01146046792a7Update the url-to-options module
url-to-options modulehighWaterMarkFix Agent.normalizeOrigin(...) 8c38c7e5ec6a56cc6e2901aa67844fea7f69da3d Fixes an infinite loop which would occur when doing http2.auto to an HTTP2 ser
Agent.normalizeOrigin(...) 8c38c7e5ec6a56cc6e2901aa67844fea7f69da3d
Fixes an infinite loop which would occur when doing http2.auto to an HTTP2 server with port 443Nothing published for this version
Reuse sockets from resolve-alpn (HTTP1 only for now) e4d88fc5e81fcf179e01392239b0007a0b6241e3
resolve-alpn (HTTP1 only for now) e4d88fc5e81fcf179e01392239b0007a0b6241e3Agent.normalizeAuthority(..) -> Agent.normalizeOrigin(...)Nothing published for this version
Rename options.session to options.h2session
.reusedSocket property (8248ead)options.session to options.h2session (5a845fc)http2.auto (4ec9cd9)Agent is an instance of EventEmitter again
Agent is an instance of EventEmitter againhttp2.Agent is no longer an EventEmitter
http2.Agent is no longer an EventEmitter (d0576f211b62c1fc4af0847f4be0e7c2a03fea5c)- Bug fixes - Performance optimizations - Final API
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.