Packages

proxy-agent

8.0.3 · 16 Nov 2026MIT34.1M / weekRepositoryHomepagenpmAtom feed

Upgrading proxy-agent From 4.0.1 to 8.0.3

17 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 4.0.1yours
  2. 5.0.0major
  3. 6.0.0major
  4. 10 releases
  5. 7.0.0major
  6. 8.0.0major
  7. 2 releases
  8. 8.0.3target

Before you upgrade

Tick each one off as you go
  • Breaking8.0.0
  • Breaking7.0.0
  • Breaking6.0.0
  • Breaking5.0.0

Release by release

  1. 8.0.1 – 8.0.33 releases, nothing new or fixed in the notes

  2. 8.0.0

    Migration needed1 Apr 20261 fix
    • Breaking

      Set minimum Node.js version to 20

    • Fixed

      Simplify package.json exports to remove unnecessary imports restriction

  3. 7.0.0

    Migration needed11 Mar 2026
    • Breaking

      Convert to ESM. All packages now use "type": "module" and compile to ESM output instead of CommonJS.

  4. 6.5.0

    7 Dec 20242 new · 1 fix
    • New

      Lazily load agents in proxy-agent

    • New

      Include ClientRequest in getProxyForUrl parameters for additional flexibility

    • Fixed

      Dispose of Agent instances in cache correctly

  5. 6.4.0

    12 Feb 20241 new
    • New

      Allow getProxyForUrl() option to return a Promise

  6. 6.3.1

    4 Sep 20231 fix
    • Fixed

      Fix Electron support by using Node.js native URL object

  7. 6.3.0

    18 Jul 20231 new
    • New

      Use QuickJS version of pac-proxy-agent

  8. 6.2.2

    13 Jul 20231 fix
    • Fixed

      Fix pac+ prefixed protocol URIs

16 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.