Packages

proxy-agent

8.0.2 · 8 Jun 2026MIT33.2M / weekRepositoryHomepagenpmAtom feed

Upgrading proxy-agent From 2.2.0 to 8.0.2

25 releases in betweennotes for 19

Other targets from 2.2.0Newest 2.x2.3.1
  1. 2.2.0yours
  2. 2 releases
  3. 3.0.0security
  4. 4 releases
  5. 4.0.0major
  6. 1 release
  7. 5.0.0major
  8. 6.0.0major
  9. 10 releases
  10. 7.0.0major
  11. 8.0.0major
  12. 1 release
  13. 8.0.2target
9+
changes to make
0
advisories fixed
12+
new
18+
fixes

Counted from 19 of 25 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking8.0.0
  • breaking7.0.0
  • breaking6.0.0
  • breaking5.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking3.0.0
  • breaking3.0.0
  • breaking3.0.0

Security

Release by release

  1. 8.0.1 – 8.0.22 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.