unstale

npm / https-proxy-agent

https-proxy-agent

What changed in https-proxy-agent 8 to 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 breaking3 new APIs and options1 behavior and defaults1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

https-proxy-agent 96 changes

Breaking changes 1

  • The minimum supported Node.js version is now 20.

    9.0.0release notes

New APIs and options 3

  • HttpsProxyAgent and HttpProxyAgent accept negotiate: true to use the kerberos package for automatic Negotiate/SPNEGO proxy authentication.

    9.1.0release notes

  • HttpsProxyAgent and HttpProxyAgent accept an optional async onProxyAuth callback, invoked on a 407 response to return headers for retrying the request.

    9.1.0release notes

  • All proxy agents emit a proxy event on the request after the proxy connection is established, with the proxy URL and socket for debugging and logging.

    9.1.0release notes

Behavior and default changes 1

  • Package exports were simplified to remove an unnecessary restriction on imports.

    9.0.0release notes

Fixes and other changes 1

  • Defers socket.resume() via setImmediate() so HTTP client machinery can attach data listeners before data starts flowing, fixing a socket event race condition.

    9.1.0release notes

https-proxy-agent 81 changes

Breaking changes 1

  • Packages now use type: module and compile to ESM output instead of CommonJS, which affects how developers load them.

    8.0.0release notes