NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #151 most downloaded on npm
An HTTP(s) proxy `http.Agent` implementation for HTTP
Last release 3 months ago
08 Jun 2026
Release timing varies
gaps range from 2 weeks to 2.1 years
Some releases are documented
notes for 13 of 28 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
28 releases · first in 2013
d8f2926 : Adds proxyConnect event emission to http-proxy-agent for parity with https-proxy-agent . The event is emitted on both the request and the ag
d8f2926: Adds proxyConnect event emission to http-proxy-agent for parity with https-proxy-agent. The event is emitted on both the request and the agent instance when the socket connects to the proxy server.
84e85ed: Add onProxyAuth callback and negotiate option for Kerberos/SPNEGO proxy authentication
proxy-agent-negotiate packageonProxyAuth async callback to HttpsProxyAgent and HttpProxyAgent optionsProxy-Authorization) to retry the request withnegotiate: true option that uses the kerberos package for automatic Negotiate/SPNEGO authkerberos as an optional peer dependency of proxy-agent-negotiateproxy test package to support authenticate: 'negotiate' mode for mock testing3ebf4b2: Add proxy event emission on the request object for all proxy agents. After the proxy connection is established, the request emits a proxy event with { proxy, socket } where proxy is the proxy URL string. This is useful for debugging and logging which proxy was used for a connection.
One column per quarter.
7d12b51: Set minimum Node.js version to 20
9c92c09: Convert to ESM. All packages now use "type": "module" and compile to ESM output instead of CommonJS.
"type": "module" and compile to ESM output instead of CommonJS.b88ab46: Import url instead of node:url 🤷♂️
url instead of node:url 🤷♂️c3c405e: Add missing URL type import
URL type importb3860aa: Remove secureProxy getter
b3860aa: Remove secureProxy getter
It was not meant to be a public property. If you were using it, just use agent.proxy.protocol === 'https:' instead.
### Patch Changes - eb6906b: Fix keepAlive: true - Updated dependencies [da699b1] - agent-base@7.1.0
keepAlive: true1069932: Added "headers" option
7674748: Update @types/node to v14.18.45
@types/node to v14.18.45⚠️ This is a breaking change! The HttpProxyAgent constructor argument has been split into two arguments.
HttpProxyAgent constructor argument has been split into two arguments.In version 5.x, the HttpProxyAgent constructor took a single argument of either (A) a string, or (B) an object matching the output of
the deprecated url.parse() method
and various extra options.
Now the constructor takes two separate arguments:
string, or (B) a WHATWG URL objecthttp.Agent,
net.TcpNetConnectOpts, and tls.ConnectionOptions properties.If you were using an object argument in 5.x, you'll need to change the first argument to match the structure of the URL class, and move
any other options to the second argument.
5.x usage:
const agent = new HttpProxyAgent({
protocol: 'https:',
host: 'myproxy.mydomain.com'
port: '1234',
auth: 'proxyUser:proxyPass',
timeout: 1000
});
Updated 6.x usage:
const agent = new HttpProxyAgent(
{
protocol: 'https:',
hostname: 'myproxy.mydomain.com'
port: '1234',
username: 'proxyUser',
password: 'proxyPass'
},
{
timeout: 1000
}
);
keepAlive: true### Major Changes - Refactor to TypeScript: #95
Nothing published for this version
Set "engines" requirement to node 6.0.0: #82
debug to v4.0.0: #82localhost instead of 127.0.0.1 in tests: 829905f8bcec66a3ae79ee4b99caa603b9d68173Huge thanks to @Krinkle for helping!
This release fixes the MitM vulnerability reported via HackerOne. It is a breaking change because Node 4, 5, and 7 are no longer tested in CI (note th…
This release fixes the MitM vulnerability reported via HackerOne. It is a breaking change because Node 4, 5, and 7 are no longer tested in CI (note that Node 6 is still supported).
proxy to v1.0.0: d0e3c18079119057b05582cb72d4fda21dfc2546.editorconfig file: 06ead2fe61f8123fbcc876f975fa2a0896d5c232.eslintrc.js file: ae5357223f5f3b7e13a8f684715dc1e291fd4a7asecureProxy behavior: #65port to be a string: #72EventEmitter to replay failed proxy connect HTTP requests: #77Huge thanks to @lpinca, @stoically, and @zkochan for helping!
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
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →