NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #75 most downloaded on npm
An HTTP(s) proxy `http.Agent` implementation for HTTPS
Last release 3 months ago
08 Jun 2026
Release timing varies
gaps range from 2 weeks to 2.2 years
Most releases are documented
notes for 24 of 39 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
39 releases · first in 2013
84e85ed : Add onProxyAuth callback and negotiate option for Kerberos/SPNEGO proxy authentication
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.913a49a: Only overwrite servername in tls connect when host is not an IP address
5908e84: Remove net.isIP() check for TLS servername
net.isIP() check for TLS servernameb88ab46: Import url instead of node:url 🤷♂️
url instead of node:url 🤷♂️c3c405e: Add missing URL type import
URL type importe625d10: Support SNI for proxy servers
23fe1e3: Correct the header parsing logic to stop before the response content to avoid generating an exception.
b3860aa: 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.
0b8a0b7: Properly reject errors during proxy CONNECT response
CONNECT response8ff9faa: "headers" option can now be a function
fd6209c: Emit "proxyConnect" event on HTTP request object (part of #153)
request object (part of #153)@types/node to v14.18.45⚠️ This is a breaking change! The HttpsProxyAgent constructor argument has been split into two arguments.
HttpsProxyAgent constructor argument has been split into two arguments.In version 5.x, the HttpsProxyAgent 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 and/or custom options supported by this package.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 HttpsProxyAgent({
protocol: 'https:',
host: 'myproxy.mydomain.com'
port: '1234',
auth: 'proxyUser:proxyPass',
timeout: 1000,
headers: { 'trace', 'foo' }
});
Updated 6.x usage:
const agent = new HttpsProxyAgent(
'https://proxyUser:proxyPass@myproxy.mydomain.com:1234',
{
timeout: 1000,
headers: { 'trace', 'foo' }
}
);
keepAlive: truerejectUnauthorized: false missing on request optionsRemove servername check: 3d2981c25a3ff0363a6a38754cfe25b3bf27e5cc
servername check: 3d2981c25a3ff0363a6a38754cfe25b3bf27e5ccHuge thanks to @lpinca for helping!
### Major Changes - Refactor to TypeScript: #95
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!
Update proxy to v1.0.1: 7ce932a48d8921ec5a3eaa1396b570b236e15814
proxy to v1.0.1: 7ce932a48d8921ec5a3eaa1396b570b236e15814.travis.yml: 3b680bab19fa2c57ea184d5fbb092b142d3a573anet.Socket instead of a plain EventEmitter for replaying proxy errors: #83Huge thanks to @lpinca 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!
Add .editorconfig file: a0d4a20458498fc31e5721471bd2b655e992d44b
.editorconfig file: a0d4a20458498fc31e5721471bd2b655e992d44b.eslintrc.js file: eecea74a1db1c943eaa4f667a561fd47c33da897net.Socket instead of a plain EventEmitter for replaying proxy errors: #83stream module: 9fdcd47bd813e9979ee57920c69e2ee2e0683cd4Huge thanks to @lpinca for helping!
Update README with actual secureProxy behavior: #65
secureProxy behavior: #65proxy to v1.0.0: d0e3c18079119057b05582cb72d4fda21dfc2546EventEmitter to replay failed proxy connect HTTP requests: #77Huge thanks to @stoically, @lpinca, and @zkochan for helping!
Remove package-lock.json: c881009b9873707f5c4a0e9c277dde588e1139c7
package-lock.json: c881009b9873707f5c4a0e9c277dde588e1139c7agent-base to v4.2: #50agent-base to v4.3: #69Huge thanks to @marco-c, @tareqhs, @ianhowe76, and @BYK for helping!
Huge thanks to @jan-auer for helping!
defaultPort field: #43Huge thanks to @jan-auer for helping!
Use Buffer.from(): 1c24219df87524e6ed973127e81f30801d658f07
Buffer.from(): 1c24219df87524e6ed973127e81f30801d658f07Nothing 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
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →